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
Introduction As an alternative to the Binary Search algorithm, also it could be done by the brute-force method given below. public static int rank(int key, int[] a) {     f

What are the advantages that Java's layout managers provide over traditional windowing systems ?

Write a program on clearing Rectangles ? It is also potential to clear a rectangle that you've drawn. The syntax is exactly what you'd expect: public abstract void clearRect

AskWrite an application that uses an Array to store 10messages of type String. You will store this Array with 10 messages of your choosing. For example, a message could be “I love

Normal 0 false false false EN-US X-NONE X-NONE

Write JavaScript code that is executed during form submission to calculate the cost of each book (based on quantity specified) and the overall total cost. The results should be dis


Spring configuration file is an XML file. This file having the classes information and defines how these classes are configured and introduced to each other.

Explain java.lang.string library in java? Strings are objects. Specifically they're instances of the class java.lang.String . This class has several methods which are useful f

Include Photo Upload feature to Android App with Google App Engine Project Description: I have one small Android App skeleton that requires some features added to and backed