Business Logic Design

The business logic layer implements the application logic as well as maintaining the transactional integrity and persistence of the application data. The presentation layer contains no code for managing transactions or accessing the database. In fact, transactions should never become the responsibility of the presentation layer because this would violate modularity and limit scalability. Transactions are important resources, but their lifetimes should be as short as possible. By manipulating transactions only within the business logic layer, WebAuction can maintain tight control over when transactions begin and commit.

The business logic layer is entered either via the bids JMS queue or via the WebAuction stateless session ...

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.