Enterprise JavaBeans are easy. Well, at least when you compare EJB to what you’d have to do to write your own scalable, transactional, secure, concurrent enterprise server. In this chapter, we’ll develop, deploy, and run an EJB application, before diving into the details. Before we’re done, we’ll look at the use, benefits, and characteristics of EJB, and we’ll look (briefly) at how EJB containers work. We’ll take a high-level look at the architecture of EJB and learn about the three bean types. The more you understand from this chapter, the less you’ll have to memorize later, so don’t skip it. (If you’re an EJB expert, you can probably get away with just a quick skim.)
Get Head First EJB 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.