And that wraps it up! We have just explored every part of InstaMail, and have experienced
our first full DWR-based application. I hope our initial foray into DWR has convinced you that
DWR really made it very nice, neat, and compact in terms of code size for the power it provides.
Suggested Exercises
I have purposely left open a number of items that I encourage you to pursue to make Insta-
Mail even better. I believe these items will give you good experience in using DWR. None of
them should prove especially difficult, either.
??? Allow for multiple e-mail accounts. Tangential to this is the ability for multiple users to
log in and use a specific account.
??? Allow for file attachments. I highly suggest looking at the Commons FileUpload component
(http://jakarta.apache.org/commons/fileupload) for this. It will save you a great
deal of time and effort and make this enhancement almost child??™s play!
??? Allow for ???rich??? e-mail content. Spend some time Googling for rich edit components to
integrate. A number of them are available, and many of them are Ajax-enabled already.
??? Allow for custom folders. It would be nice if you could create a Storage folder, for example,
and move any e-mail you wanted into it.
Pages:
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349