|
|
Registered tutorials: 501 Registered Users: 36173
|
|
Rating: 0 out of 0 votes cast
Category: Ajax and Java
|
New Technologies for Ajax and Web Application Development: Project Dynamic Faces
Abstract: This atricle shows how to create a project that allows you to Ajax-enable any of the JavaServer Faces components that your web applications already use
Contents
- Setting up an Application to Use Dynamic Faces - Updating Areas of Your Page Using the ajaxZoneTag - Using the Dynamic Faces fireAjaxTransaction Method - Using Dynamic Faces With jMaki - Conclusion
Project Dynamic Faces is one of several projects that are extensions of JavaServer Faces technology. The previous article in this series introduced Project jMaki, which allows you to take any widget and wrap it in a JavaServer Pages tag handler or JavaServer Faces component. Project Dynamic Faces is another innovative project that provides a way to add Ajax functionality to a JavaServer Faces technology-based application. This project allows you to Ajax-enable any of the JavaServer Faces components that your web applications already use. You don't need to modify your components to give them the power of Ajax. Neither do you need to rewrite any of your application to add Ajax magic to it.
To add this Ajax magic to your application, you must first identify the parts of the pages in your application that you want the Ajax functionality to update. As developers of JavaServer Faces technology-based applications know, a JavaServer Faces page is represented by a tree of components. With Dynamic Faces, you can identify which components in the tree should benefit from asynchronous updates. Just as you use Ajax to update one part of the HTML DOM tree that represents the page, you use Dynamic Faces to update one part of the component tree that represents a JavaServer Faces page. Therefore, the Dynamic Faces paradigm is familiar to both Ajax developers and JavaServer Faces developers.
More importantly, Dynamic Faces leverages the JavaServer Faces component model to allow you to use Ajax capabilities in a more efficient way. Because of the collaborative nature of the component model, JavaScript technology events on some page components can cause asynchronous updates of any number of other components on the page. Dynamic Faces allows these asynchronous updates to occur as a result of only one Ajax request to the server rather than as a result of one Ajax request for each asynchronous update, thereby reducing the load on the server.
|
Reviews:
Rate and Review This Site
No reviews yet
Statistic Information About this Resource:
| Total Hits: |
130 |
| Unique Hits: |
123 |
| |
Daily |
Weekly |
Monthly |
| |
Unique |
Total |
Unique |
Total |
Unique |
Total |
| Average |
0.3 |
0.3 |
0.5 |
0.6 |
5.1 |
5.4 |
| Current |
0 |
0 |
3 |
3 |
4 |
4 |
| Previous |
0 |
0 |
0 |
0 |
8 |
9 |
| Jan 23 |
0 |
0 |
1 |
1 |
4 |
4 |
| Jan 22 |
1 |
1 |
0 |
0 |
3 |
3 |
| Jan 21 |
0 |
0 |
0 |
0 |
8 |
9 |
| Jan 20 |
0 |
0 |
0 |
0 |
7 |
8 |
| Jan 19 |
0 |
0 |
0 |
0 |
1 |
1 |
| Jan 18 |
0 |
0 |
0 |
0 |
8 |
8 |
| Jan 17 |
0 |
0 |
0 |
0 |
0 |
0 |
| Jan 16 |
2 |
2 |
1 |
2 |
8 |
8 |
| Highest |
3 |
3 |
6 |
6 |
8 |
9 |
|
|
|
Script Execution Time: 0.36615 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2
|