21.10. Exercises

21.1 Local interfaces: Add Local and LocalHome interfaces to the GameEntityBean. Update deployment descriptors accordingly, and have the other beans (StandingsSessionBean and GamesMessageBean) utilize the Local, rather than Remote, interfaces.

21.2 Team entity bean: Create a Team entity bean. This provides an opportunity to work through every aspect of creating and deploying an entity bean. You should use CMR to define the relationships between the Game and Team beans.

21.3 Bean-managed persistence: Make a version of the GameEntityBean (or the TeamEntityBean, if you did Exercise 21.2) that uses BMP.

21.4 Finder methods and EJB-QL: Implement the various finder methods listed as comments in the GameEntityBean Home interface. Each ...

Get J2EE™ and JAX™: Developing Web Applications and Web Services 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.