December 2017
Intermediate to advanced
372 pages
8h 46m
English
Enterprise JavaBeans are server-side components that encapsulate the business logic of an application. Enterprise JavaBeans (EJB) simplify application development by automatically taking care of transaction management and security. There are two types of Enterprise JavaBean: session beans, which perform business logic, and message-driven beans, which act as a message listener.
Readers familiar with previous versions of J2EE will notice that entity beans were not mentioned in the preceding paragraph. In Java EE 5, entity beans were deprecated in favor of the Java Persistence API (JPA). Entity beans are still supported for backwards compatibility; however, the preferred way of doing Object Relational Mapping (ORM) is through ...