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 ...

Get J2EE™ Applications and BEA™ WebLogic Server™ 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.