|
|
Registered tutorials: 501 Registered Users: 29845
|
|
Rating: 5 out of 1 votes cast
Category: Ajax and Java
|
Access a Custom Java Object with JavaScript
Abstract: This tutorial demonstrate how to use the DWR framework to access a JavaScript representation of a Java object from the server. Then displays the object on a web page.
The programming model for a number of Java applications involves generating JavaBeans that represent data. A JavaBean is an object representation of a concrete thing like a bicycle, with its wheels, pedals, seat, chain rings, and other components as object properties. The purpose of a JavaBean is to represent these concrete entities for a software program that accomplishes a set of practical tasks involving the entity data type, such as an e-commerce site that sells bikes. Therefore, it is natural that some Ajax applications will receive data from a server component in the form of JavaBeans.
This hack uses the DWR framework to access a JavaScript representation of a Java object from the server. The hack then displays the object on a web page.
|
Reviews:
Rate and Review This Site
No reviews yet
Statistic Information About this Resource:
| Total Hits: |
495 |
| Unique Hits: |
390 |
| |
Daily |
Weekly |
Monthly |
| |
Unique |
Total |
Unique |
Total |
Unique |
Total |
| Average |
1.9 |
2.7 |
6.5 |
8.5 |
15.9 |
21.7 |
| Current |
1 |
1 |
4 |
5 |
20 |
28 |
| Previous |
3 |
4 |
14 |
21 |
38 |
50 |
| Oct 12 |
1 |
1 |
3 |
3 |
7 |
7 |
| Oct 11 |
0 |
0 |
13 |
19 |
23 |
36 |
| Oct 10 |
2 |
4 |
12 |
16 |
15 |
16 |
| Oct 9 |
3 |
6 |
6 |
7 |
0 |
0 |
| Oct 8 |
3 |
5 |
6 |
7 |
29 |
37 |
| Oct 7 |
3 |
3 |
4 |
4 |
9 |
16 |
| Oct 6 |
2 |
2 |
1 |
1 |
18 |
27 |
| Oct 5 |
1 |
1 |
2 |
2 |
0 |
0 |
| Highest |
5 |
7 |
14 |
21 |
38 |
50 |
|
|
|
Script Execution Time: 5.18888 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2
|