Monday, July 2, 2012

What is the EJB Container

Enterprise java beans EJB are software components that run in a special environment called an EJB container. The EJB container hosts and manages an enterprise java bean in the same way as Java Web Server hosts a java servlet. All java beans functions perform with in EJB container. The EJB container manages every aspect / features of an enterprise java bean at run time.

Java beans container is a run-time container that are deployed to an Java EE application server. The EJB container automatically creates when the java application server starts and give serves as an interface between a java bean and run-time services such as:

  • Life cycle management
  • Code generation
  • Persistence management
  • Security
  • Transaction management
  • Locking and concurrency control

What is EJB container, Java Beans, EJB tutorial, Enter prize java Beans, What is java EJB, Java Beans tutorial, Java EE EJB container, J2EE EJB Tutorial, jee ejb tutorials
The EJB container isolates the Java beans from client applications to directly access. When a java client applications invoke a EJB remote method on an enterprise java bean, the EJB container first intercepts the invocation to ensure persistence, transactions, and security are applied properly to every operation a client performs on the jav bean. The java bean container  automatically manages transactions, security and persistence for the java bean due to Java beans developers do not have to write this type of logic into the java bean codes. It provides the facility to Java EJB developers to focus just on encapsulating business rules while the EJB container takes care of everything else.

1 comment:

Please enter relevant question and information.