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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.