O'Reilly logo

Developing Enterprise Java Applications with J2EE™ and UML by Cary E. Umrysh, Khawar Zaman Ahmed

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

Identifying Entity Beans in Enterprise Applications

Generally speaking, entity classes identified during the analysis phase should be used as starting points for determining the entity beans you will require for the system.

Referring back to the HomeDirect online banking case study, you might recall that we identified one or more entity classes as we went through specific use cases. For example, the entity classes involved in the Transfer funds use case included Account and CustomerProfile, among others. Both are good candidates for entity beans because each is fairly granular and stands by itself.

Of course, Profile also contains the user's name and customer identifier. Would it make sense then to create distinct entity beans for each Profile? ...

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