![](https://csdnimg.cn/release/download_crawler_static/10477660/bg11.jpg)
■ Contents
xvii
5-17. Constructing a JSF View in Pure HTML5 ............................................................. 301
Problem .............................................................................................................................................. 301
Solution...............................................................................................................................................301
How It Works .......................................................................................................................................302
5-18. Invoking Server-Side Methods via Ajax .............................................................. 302
Problem .............................................................................................................................................. 302
Solution...............................................................................................................................................303
How It Works .......................................................................................................................................305
5-19. Broadcasting Messages from the Server to All Clients ....................................... 305
Problem .............................................................................................................................................. 305
Solution...............................................................................................................................................306
How It Works .......................................................................................................................................307
5-20. Programmatically Searching for Components .................................................... 308
Problem .............................................................................................................................................. 308
Solution #1..........................................................................................................................................308
Solution #2..........................................................................................................................................309
How It Works .......................................................................................................................................310
■Chapter 6: The MVC Framework ������������������������������������������������������������������������ 313
6-1. Configuring an Application for the MVC Framework
............................................. 314
Problem .............................................................................................................................................. 314
Solution...............................................................................................................................................314
How It Works
....................................................................................................................................... 316
6-2. Making Data Available for the Application ............................................................ 317
Problem .............................................................................................................................................. 317
Solution #1..........................................................................................................................................317
Solution #2..........................................................................................................................................321
How It Works .......................................................................................................................................326
6-3. Writing a Controller Class ..................................................................................... 327
Problem .............................................................................................................................................. 327
Solution...............................................................................................................................................327
How It Works .......................................................................................................................................328