Building the Architectural Prototype: Part 3

Part 3 of building the architectural prototype for our non-EJB solution covers the entity bean and DAO classes.

Entity Beans

The entity beans are where the business logic lies in our application. This logic implements the Business Rule Services layer from our architecture. It also represents the state of the attributes of the entity. At a minimum, entity classes will have attributes as well as accessors for those attributes. There are also value classes that are proxies for the entity beans. Previously we stated that these proxies insulate the application from future distributed architecture migrations and reduce network chatter. Today everything may be running on one machine, but tomorrow that may ...

Get Developing Applications with Java™ and UML 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.