O'Reilly logo

Building Scalable and High-Performance Java™ Web Applications Using J2EE™ Technology by Greg Barish

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Enterprise JavaBeans: The J2EE Solution

The J2EE solution for serving application logic is Enterprise JavaBeans (EJBs). As described earlier, a J2EE Web application can comprise up to four distinct types of container: an application client container, an applet container, a Web container, and an EJB container. EJB containers and the objects they manage are our focus here. An EJB container consists of one or more EJBs that contain the core business logic for an application.

Unlike Java servlets, which are fundamentally associated with J2EE Web containers, EJBs represent a more flexible and presentation-neutral location for business logic. They can be contacted directly by servlets, by applet containers, or by the Java Message Service (JMS). In ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required