O'Reilly logo

J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software by Art Taylor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Business Logic

Though we have moved a good portion of the business logic out of the table browser application, we still have some business logic exposed. The menu action code which executes the queries using the remote DAO is hardcoded with the queries to execute. A subsequent refactoring of the application should move this code to a remote object and load the queries from a location where they could be changed without having to alter the program code (for instance, a properties file or as a parameter object in a naming service).

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required