In the interest of full disclosure, APT is part of Java Web Parts (JWP), a project I originated. It supplies small,
largely independent components for Java web developers, things like filters, servlets, taglibs, listeners, etc.
APT is by far the most popular part of JWP. It is a taglib that allows you to add Ajax functions to a page without
writing any JavaScript, and without changing the existing page. You just add some tags in appropriate
locations, supply an XML configuration file describing the Ajax functions to perform, and off you go. Have a
look here if that sounds interesting: http://javawebparts.sourceforge.net. Cruise into the Javadoc
and look in the AjaxParts package. All the APT documentation you??™d need is right there (the projects??™ Javadoc
is something of a combined Javadoc/user manual).
Fortunately for you, JavaScript is something you??™re pretty comfortable with. Still, there??™s
no need doing any more of it than necessary. What you really want is a way to access certain
business functions of your application (which you??™ve naturally broken out into a nice, clean
fa?§ade that you can call on independent of the webapp components, right?) that makes your
JavaScript not a whole lot different from the existing server-side code in the application.
Pages:
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122