From the course: Java EE 8 Essential Training

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

EJB overview

EJB overview - Java EE Tutorial

From the course: Java EE 8 Essential Training

Start my 1-month free trial

EJB overview

- Enterprise Java Beans, or EJBs, are another API within Java EE that provide a standard component architecture for building object-oriented business applications. An EJB is a reusable Java object that runs in a special runtime environment known as an EJB container. In the past EJBs needed to be accompanied by XML, or they needed to adopt a certain signature. But they've been greatly simplified in the latest versions of Java EE and have adopted a POJO-based approach that uses annotations. EJBs typically handle the application logic that supports business operations for a system, so you will typically find centralized processing logic that interacts with the database. This centralizes the system's business logic so that it can be reused by multiple clients. Because EJBs are managed in a container EJBs can benefit from additional services, such as transactions, connection pooling, or multithreading without writing explicit…

Contents