Prev | Current Page 567 | Next

Frank Zammetti

"Practical DWR 2 Projects"


We already saw the FileUtils.writeStringToFile() method in the createFile() method
before, so this method should be entirely self-explanatory.
CHAPTER 6 n REMOTELY MANAGING YOUR FILES: DWR FILE MANAGER 325
Whew, we made it! Another project in the books, quite literally! This touched on a number
of good topics and gave us a look at a few more facets of DWR, and gave us a handy little utility
application that you could use in real life (as opposed to fake life, I suppose?).
But wait, there??™s always room for improvement, so . . .
Suggested Exercises
It??™s definitely not too hard to come up with suggestions for this project. All you really need to
do is try out any of the file managers mentioned in the ???A Bevy of File Managers??? sidebar early
in this chapter and start pulling out features! A good file manager is worth its weight in gold,
and it is my hope that there is a good foundation here to build upon. So, let??™s see what suggestions
I can come up with to not only make the application better, but get you more experience
with DWR.
??? Create a function to compare two files. Commons IO includes such a function, so it
shouldn??™t be very hard to implement on the server side.


Pages:
555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579