|
|
Registered tutorials: 501 Registered Users: 36173
|
|
Rating: 0 out of 0 votes cast
Category: Ajax and Java
|
Using JavaServer Faces Technology with AJAX
Abstract: This article shows strategies that can be used to add AJAX support to just a part of your application or to create re-useable JSF components
Problem Description The Java Enterprise Edition 5 platform includes JavaServer Faces (JSF) technology, which provides a mature and extensible user interface component model. The design of this model makes it easy for application developers to create custom components by extending the standard components included with JSF and to reuse these components across applications. Creating a component shields the page author from the complexities of AJAX by rendering all the HTML and JavaScript code that is required to incorporate AJAX capabilities into an application. There are many ways to wrap AJAX functionality using JSF, and this document will briefly mention several strategies. You can see the detailed write up on each related startegy in the following documents: Solution Developers who want to include AJAX support in JSF applications are faced with many design questions. For example, - Should AJAX request handling be done in a separate servlet controller or should it be handled by the JSF life cycle?
- How can existing components be AJAX-enabled without rewriting them?
- Should JavaScript code be embedded in Java code or externalized in a separate script file?
|
Reviews:
Rate and Review This Site
No reviews yet
Statistic Information About this Resource:
| Total Hits: |
448 |
| Unique Hits: |
384 |
| |
Daily |
Weekly |
Monthly |
| |
Unique |
Total |
Unique |
Total |
Unique |
Total |
| Average |
0 |
0 |
0.2 |
0.2 |
5.7 |
7 |
| Current |
0 |
0 |
0 |
0 |
1 |
1 |
| Previous |
0 |
0 |
0 |
0 |
3 |
3 |
| Jan 23 |
0 |
0 |
0 |
0 |
3 |
4 |
| Jan 22 |
0 |
0 |
1 |
1 |
28 |
35 |
| Jan 21 |
0 |
0 |
0 |
0 |
10 |
12 |
| Jan 20 |
0 |
0 |
0 |
0 |
1 |
2 |
| Jan 19 |
0 |
0 |
0 |
0 |
2 |
3 |
| Jan 18 |
0 |
0 |
0 |
0 |
7 |
8 |
| Jan 17 |
0 |
0 |
0 |
0 |
0 |
0 |
| Jan 16 |
0 |
0 |
1 |
1 |
2 |
2 |
| Highest |
6 |
7 |
16 |
18 |
61 |
68 |
|
|
|
Script Execution Time: 0.11439 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2
|