Summary

In this chapter we demonstrated how to take the client-server GUI application from the previous chapter and convert the application to a multi-tiered application. To accomplish this we first refactored the code to use a remote object to implement database access. Using RMI, we created a remote version of our DAO and made some minor changes to accommodate the change in our application. We also changed the application to remove the requirement to enter the query explicitly and added menu items to allow the user to simply choose the table to browse.

One of the major issues with client-server applications is the need for deploying the application. Unlike Web applications which require no deployment (thus the term zero-deployment), Applets ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.