Home > Articles > Programming > Java

This chapter is from the book

This chapter is from the book

Summary

In this chapter we discussed the chief characteristics of CMP 2.0 entity beans, such as their ability to form complex relationships between entity beans, enforcement of their referential integrity, and support for the abstract persistence schema and the standard EJB Query Language. We also discussed reasons why CMP 2.0 entity beans are preferred over BMP entity beans, including enhanced portability, flexibility with persistence implementation, better performance, and reduced time-to-market. We spent the major portion of the chapter discussing the implementation of the StudentEJB, RosterEJB, and AddressEJB CMP 2.0 entity beans, and we showed how to deploy and run the sample application. We'll examine the Java Message Service (JMS) in the next chapter.

  • + Share This
  • 🔖 Save To Your Account