O'Reilly logo

J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software by Art Taylor

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

Java Software Components: JavaBeans and EJBs

To hide the business logic of the application and thus reduce the complexity of the Java code on the JSP page, we need a facility to encapsulate the business logic of the application. This business logic should be encapsulated in the form of software components. The use of these software components fits into our J2EE architecture, and Java provides two forms of software components: Java Beans and Enterprise Java Beans (EJBs).

JavaBeans are a coding facility in Java that allow for the creation of a local component that provides some degree of encapsulation. These components are not as complex as EJBs, and for applications that do not need the features of EJBs, they are more than suitable. Most notably, ...

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