Exercises

The exercise starts with a version of today's case study that has a complete set of Session beans, but an incomplete set of Entity beans. Where there is no Entity bean, the Session bean performs direct SQL. The state of affairs is shown in Table 6.4.

Table 6.4. Case Study Session and Entity Beans
Session Bean Functional Area Functions Implementation/Delegation
Agency Applicants create, delete, find all Direct SQL
 Customers create, delete, find all Customer bean
 Locations add, get details, get plural, remove Location bean
 Skills add, get details, get plural, remove Skill bean
Advertise Job create, delete, get plural Job bean
 Customer get details, update Customer bean
AdvertiseJob Job get details, update Skill bean, Location bean ...

Get Sams Teach Yourself J2EE™ in 21 Days 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.