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 give dataset to a decision tree which is written by java using weka software?

A target is the class that is being advised. The class can be a third party class or your own class to which you require to add your own custom behavior. By using the concepts of A

Explain in brief Java applet? It is a java program. It has been designed for transmitting Java code over the internet. It's automatically executed by Java-enabled W

Cross platform stock market game Project Description: I want someone to develop a simple stock market game. This will mainly be a facebook and android app, face book being mo

The Applet's life cycle functions are as follows: public void init() : Initialization function called only once by the browser. public void start() : Method called after


Project Description: I want to modify Joomla component. Now there is Akeeba subscription component on this site. It works and the whole thing is fine, but there is no "teaser

I need PS1 emulator for android Project Description: There is an open source app called psx4droid i need a developer to solve problems and bugs and doing performance improvem

In this experience you will make the neophyte Java programmer happy by solving, to a limited extent, an age-old problem in programming:  mismatched delimiters.  As we all know, eve

What are the different types of messages available in the JMS API? Ans) Message, TextMessage, BytesMessage, StreamMessage, ObjectMessage, MapMessage are the dissimilar messages