|
|
Registered tutorials: 501 Registered Users: 24390
|
|
Rating: 3.3 out of 10 votes cast
Category: Ajax and Java
|
Use DWR to Populate an Ordered List from a Java Array
Abstract: This tutorial demonstrate how automatically (you might say automagically) generates an ordered or unordered list using server content, such as a list of high-end bike makers. A typical list on a web page is hardcoded into the web page’s HTML code
This hack automatically (you might say automagically) generates an ordered or unordered list using server content, such as a list of high-end bike makers. A typical list on a web page is hardcoded into the web page’s HTML code. It looks like a series of bullets or numbers, each accompanied by a label. These list types are fine for content that never (or hardly ever) changes. However, some lists must be dynamically generated from a server object, based on persistent information such as that contained in a database. For example, think of a bike shop that is constantly adding new products to its online store, and/or changing product attributes.
A dynamically generated list is necessary only for persistent information that is updated frequently.
The web page code in this hack derives its content by calling a Java method via Direct Web Remoting, which is designed to bind JavaScript objects to Java objects running on the server. “Integrate DWR into Your Java Web Application” sets up and configures the Java application on the server end, which is the first step to running this hack.
|
Reviews:
Rate and Review This Site
No reviews yet
Statistic Information About this Resource:
| Total Hits: |
1349 |
| Unique Hits: |
1029 |
| |
Daily |
Weekly |
Monthly |
| |
Unique |
Total |
Unique |
Total |
Unique |
Total |
| Average |
1.7 |
2.3 |
15.2 |
22.4 |
46.5 |
64.5 |
| Current |
2 |
3 |
11 |
16 |
58 |
86 |
| Previous |
4 |
4 |
12 |
15 |
95 |
139 |
| Jul 22 |
3 |
3 |
21 |
34 |
0 |
0 |
| Jul 21 |
2 |
6 |
17 |
25 |
66 |
87 |
| Jul 20 |
1 |
2 |
25 |
32 |
74 |
106 |
| Jul 19 |
1 |
1 |
0 |
0 |
59 |
83 |
| Jul 18 |
0 |
0 |
17 |
23 |
0 |
0 |
| Jul 17 |
0 |
0 |
24 |
35 |
41 |
52 |
| Jul 16 |
3 |
3 |
25 |
44 |
36 |
44 |
| Jul 15 |
1 |
1 |
0 |
0 |
36 |
48 |
| Highest |
9 |
17 |
32 |
46 |
100 |
139 |
|
|
|
Script Execution Time: 13.11271 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2
|