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
Struts framework                            J a v a Server Faces More matured since Struts has been started for a few years. It has got var

One of the principal benefits of JMS messaging is that it's asynchronous. Thus not all the pieces require to be up all the time for the application to function as a whole.

Question 1 Write a program in Java to find the highest of any five numbers. How do you compile and execute this Java program? Question 2 Write a program to explain the Except

What is the difference between the Boolean & operator and the && operator? If an expression including the Boolean & operator is evaluated, both operands are evaluated. Then the

i need help i hav done the gui part of my project and some simple symbols but to display some complex symbols like integration and all but it shud be clear with lower and upper lim

Explain all Java Primitive Data Types? boolean 1-bit. May take on the values true and false only. true and false are describe constants of the language and are not the s

I want Android application with motion detection Project Description: We need to develop a simple application for android which uses motion detection libraries from open sour

What is JDBC exactly? Describe the steps required to execute a SQL query using JDBC.

What is the importance of static variable? Static variables are class level variables where all objects of the class refer to the similar variable. If one object alters the val

Question: (a) What are the main differences between an object and a class? Illustrate with appropriate examples. (b) Differentiate between a global variable and a local va