O'Reilly logo

J2EE™ Applications and BEA™ WebLogic Server™ by Sandra L. Emerson, Rob Woollen, Michael Girdley

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

Changes Required for a Production Application

WebAuction is designed as a sample application. While it possesses the main components of a real-world production environment, it includes some simplifications.

Limiting Query Results

The WebAuction application uses simple entity bean finder methods to query the database. While these simple finders are acceptable in a prototype, they need refinement for a real application. For instance, the ItemBean includes a finder that returns all the items in a given category. On a real auction site, this could return hundreds—if not thousands—of rows. Obviously, a thousand items is too many to display on a Web page, and it is expensive to return this many items in a result set from the database.

A production ...

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