EJB : Enterprise Java Beans

Category: Programming
4,557 views

EJB stands for Enterprise Java Beans.

What is the full form of EJB?

EJB Stands for "Enterprise Java Beans"

EJB represents Enterprise Java Bean. It is a Java application programming interface (API) for Java Platform, Enterprise Edition (JEE). It is given by Sun Microsystems to streamline the advancement of enormous, made sure about, and versatile conveyed applications.

EJB segment is a worker side and stages free programming part that speaks to the business rationale in versatile, multilayer, and appropriated applications. Along these lines, it streamlines the application developer's work by permitting them to zero in on their business rationale.

When is EJB (Enterprise Java Beans) required?

  1. When the information and assets are appropriated across different locales.
  2. When the application is execution driven and it should be adaptable.
  3. When you need to deal with the exchanges; the EJB compartment can deal with your exchanges limits.
  4. When the application needs embodied business rationale; detachment between business rationale and show.

EJB (Enterprise Java Beans) Types

There are three kinds of EJB; meeting bean, element bean, and message-driven beans.

  1. Session bean: It executes the business rationale of the customer, for example, it can figure revenue on stores for a financial application.
  2. Entity bean: It is an information part that perseveres the information in the information base.
  3. Message-driven bean: It oversees messages non concurrently, so utilized in offbeat correspondence situations like accepting JMS messages.