Login or Register

  Welcome: Guest

Home >> Article >> Technology >> Software >> Post New Article Bookmark and Share

Enterprise Java Beans : An Overview

June 15, 2010  by: Kumaresh  Points: 25   Category: Software  Earning $0.35   Views: 988

This article contains basic information about Enterprise Java Beans (EJBs)Technology .


Enterprise Java Beans

Enterprise Java Beans are server side component architecture for developing enterprise applications. It was developed by IBM in 1997 and accepted by Sun Microsystems in 1999. After that Sun has developed further specifications. EJB technology promises to provide a standard way to implement business logic for enterprise solutions. All the details about the functioning of EJB are mentioned in EJB specification. EJB specification is a guideline for the vendors to develop software accordingly. It tells about the EJB Container and the EJBs. It mentions what EJB Container should provide in order to run an EJB. EJB container manages EJBs. EJBs contain the application's business logic.

According to EJB Specifications an application server must provide following services:

Naming and Directory Services (JNDI)
Concurrency control
Transaction facilities
Messaging Services
Web Services etc

Types of EJBs :

There are three type of Enterprise Java Beans

1. Session beans
2. Entity beans
3. Message driven beans

1. Session Beans : These are the business objects that can either have a state or it can be stateless. It is attached with one EJB Client.

There are two types of Session beans:
A. Stateless Session Beans
B. Stateful Session Beans

A. Stateless Session Beans : As the name suggests, there is no state associated with these types of session beans object.

B. Stateful Session Beans
: Stateful session beans are the business objects, which contains states. But state cannot be persisted. One EJB Client can hold only one session bean object at a time.

2. Entity Beans : It represents business objects in persistent state. For example customers, products, items etc.

Entity Beans are of two types :

I. Container Managed Persistence Beans
II. Bean Managed Persistence Beans

I. Container Managed Persistence Beans : The persistent state of the entity bean is stored by EJB Container. EJB Container manages all database access required by the bean.

II. Bean Managed Persistence Beans
: State is saved by bean itself. Container will not play any role in this.

Message Driven Beans : It allows J2EE applications to process messages asynchronously.


No response found. Be the first to respond to this post

Post Comment

Please Log In  to post comment

Related Resources

About Java
Java is a purpose object oriented programming language

Application Deployment Tool in java
Java Based Tools for testing and deployment tool

Complete Overview of IP Address
The article gives a complete information of how to assign an IP address to a local area network and division of classes of IP addresses. Then how to determine subnet mask using this IP addresses is also shown.

Threads in Java
Here is the most commonly used concept i.e. threads in Java.

Wimbledon 2010 Overview
Wimbledon is one of the four grand slam tournaments in Tennis.

Latest Resources From The Same Category

Pros and Cons of the New Computer Baby Windows 8
The computer company Microsoft has given birth to the new baby named Windows 8. It is available in the market now. How far it is going to change the computer world is to be decided by the future.

What is Adware and Spyware and How to remove them?
Learn what is adware and spyware and to protect your PC from them and the best free software to help you do it.

List of few important software
List of some cool software which can be helpful to you for your daily task on computer.

Share your internet connection via WiFi
Share your internet connection with more devices using wifi.

Nimbuzz !! Best Socializing tool
Great application for mobile phones and for the social sites loving people.


Top Performers     Top Contributors     Share and Earn     Terms of Service    Privacy Policy     Contact Us