What are the basic different types of enterprise beans, JAVA Programming

 

Session Bean: is a non-persistent object that provides some business logic running on the server. Session beans do not provide system break down. There are two kinds of session beans

1. Stateless session beans 

2. Stateful session beans

 

Entity Bean: is a persistent object that presents object views of the data, generally a row in a database. They have the primary key as a unique key identifier. Multiple EJB clients can give each entity bean. Entity beans may provide system shutdowns. Entity beans can have two kinds of persistence

1. Container-Managed Persistence (CMP) - The container is responsible for providing the bean's state.

2. Bean-Managed Persistence (BMP) - The entity bean is responsible for giving its own state.

 

Message-driven Bean: is added with the Java Message Service (JMS) to give the ability to react as a message consumer and perform asynchronous processing between the message producer and the server.

 

 

 

Posted Date: 7/27/2012 4:05:56 AM | Location : United States







Related Discussions:- What are the basic different types of enterprise beans, Assignment Help, Ask Question on What are the basic different types of enterprise beans, Get Answer, Expert's Help, What are the basic different types of enterprise beans Discussions

Write discussion on What are the basic different types of enterprise beans
Your posts are moderated
Related Questions
Separating your business logic with other functionality such as services, Loggers etc, making classess more cohesive.

Build an android app like the example in the project details Project Description: Construct an android app like cam finder using my own ideas, design and features which I wil

I have a project due tonight and I need help setting up the project I know what I need to put in the class but not sure how to set it up properly

Question: a) Authentication relies on standards and protocols that are used to confirm the identity of a user or object. Windows Server 2003 supports several types of network

As registered nurses, we often wonder "am I responsible for the L.P.N's and the C.N.A. assigned on my floor.  Will I be blamed if someone makes an error or if someone gets hurt?  N

Plug-in for Adobe after Effects Project Description: We are seeking software engineers to create a plug-in for Adobe after Effects (CS4 and above) that allows 3D extrusions f

Talent agencies like ICM, CAA and Paradigm represent writers, directors and actors (among other talent).  These agencies take in hundreds of millions of dollars a year collecting 1

The program: 2 classes one called Student, one called Grades Functional Requirements: Ask for how many students u need to enter the program must: prompt the user to enter the

what is the use of design pattern in java ?

Why hub is used in networks? Hub is networking equipment and a device that connects various computers to form a network. In a network the NIC translates the message within elec