Q&A

Q1:What is the EJB architecture and how is it related to the J2EE?
A1: The EJB architecture is a server-side component-based architecture that models business logic of enterprise architecture. EJB is at the heart of the J2EE architecture, which provides the big picture of enterprise applications. J2EE provides all infrastructure services to EJB, such as JDBC, JNDI, JMS, and JTA.
Q2:What are the main types of beans offered by EJB architecture?
A2: The EJB types are session beans, entity beans, and message-driven beans.

Get Sams Teach Yourself EJB in 21 Days 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.