Chapter 1. What’s what in EJB 3

 

This chapter covers

  • The EJB container and its role in Enterprise applications
  • The different types of Enterprise Java Beans (EJBs)
  • Closely related technologies such as the Java Persistence API (JPA)
  • The different EJB runtime environments
  • Innovations started with EJB 3
  • New changes with EJB 3.2

One day, when God was looking over his creatures, he noticed a boy named Sadhu whose humor and cleverness pleased him. God felt generous that day and granted Sadhu three wishes. Sadhu asked for three reincarnations—one as a ladybug, one as an elephant, and the last as a cow. Surprised by these wishes, God asked Sadhu to explain himself. The boy replied, “I want to be a ladybug so that everyone in the world will admire me for my beauty and forgive the fact that I do no work. Being an elephant will be fun because I can gobble down enormous amounts of food without being ridiculed. I’ll like being a cow the best because I’ll be loved by all and useful to mankind.” God was charmed by these answers and allowed Sadhu to live through the three incarnations. He then made Sadhu a morning star for his service to humankind as a cow.

1.1. EJB overview

1.2. Understanding EJB types

1.3. Related specifications

1.4. EJB runtimes

1.5. Brave new innovations

1.6. Changes in EJB 3.2

1.7. Summary