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
how to create a face with nose using applet

This assignment requires you to design, implement and test a program using Java features from the first half of the subject content. You are required to implement in Java all the c

How to Construct objects with new operator? class Car { String licensePlate; // e.g. "New York 543 A23" double speed; // in kilometers per hour double maxSpeed;

search a file with specific extension


Question 1 Explain any five buzz words in Java Question 2 Explain exception classes and also explain common exceptions in java Question 3 Explain primitive and abstract data t

What is the difference among using bind() and rebind() methods of Naming Class? Ans) Bind method (String name) binds the specified name to a remote object whereas rebind(String

In the airplane program, you may have noticed that the loading of each image appears to be jerky, erratic, or slow, and that the URL for each image flickers in the status bar each

Java Programming 1. What do you understand by Java Virtual Machine? 2. Write a simple Java program to display a string message and explain the steps of compilation and execu

Debugging mode can be enabled by adding the following line of code before creating new connections: XMPPConnection.DEBUG_ENABLED = true; When debugging mode is enabled, a