Prev | Current Page 253 | Next

Frank Zammetti

"Practical DWR 2 Projects"

apress.dwrprojects.instamail.MailRetriever" />


value="com.apress.dwrprojects.instamail.MailSender" />


value="com.apress.dwrprojects.instamail.MailDeleter" />

CHAPTER 4 n INSTAMAIL: AN AJAX-BASED WEBMAIL CLIENT 133

value="com.apress.dwrprojects.instamail.AddressBookManager" />



Like web.xml, this is not exactly a War and Peace??“sized piece of code! To remind you,
dwr.xml basically tells DWR, among other things, what classes it is allowed to create and
access, and also what objects it can convert to and from JavaScript and Java. In this case we
are listing the Data Transfer Objects (DTOs) that InstaMail uses as convertible, and we are listing
the five main classes that contain the server-side functionality of the application. We??™ll of
course be looking at them in detail soon, but their names alone should give you a very clear
idea of what they do. Note that as shown here, there is no limitation on what methods or properties
of the classes can be accessed.


Pages:
241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265