EJB Tutorials - Java Code Geeks (original) (raw)

JavaBeans Tutorials

In this detailed Resource page, we feature an abundance of EJB Tutorials!

Enterprise JavaBeans (EJB) is one of several Java APIs for modular construction of enterprise software. EJB is a server-side software component that encapsulates business logic of an application. An EJB web container provides a runtime environment for web related software components, including computer security, Java servlet lifecycle management, transaction processing, and other web services. The EJB specification is a subset of the Java EE specification.

Specification

The EJB specification intends to provide a standard way to implement the server-side (also called “back-end”) ‘business’ software typically found in enterprise applications (as opposed to ‘front-end’ user interface software). Such machine code addresses the same types of problems, and solutions to these problems are often repeatedly re-implemented by programmers. Enterprise JavaBeans is intended to handle such common concerns as persistence, transactional integrity, and security in a standard way, leaving programmers free to concentrate on the particular parts of the enterprise software at hand.

General responsibilities

The EJB specification details how an application server provides the following responsibilities:

Additionally, the Enterprise JavaBean specification defines the roles played by the EJB container and the EJBs as well as how to deploy the EJBs in a container. Note that the current EJB 3.2 specification does not detail how an application server provides persistence (a task delegated to the JPA specification), but instead details how business logic can easily integrate with the persistence services offered by the application server.

EJB Tutorials – Getting Started

Simple examples based on the JavaBeans

EJB Tutorials – Integrations

Learn how to use JavaBeans with other frameworks

Spring

GWT

[undereg]

Back to top button