Home Help Java S Java Session Beans
Questions:Ask|Latest


 
 

Share on Google+Share on Google+

Java Session Beans

Advertisement
A session bean is the enterprise bean that directly interacts with the user and contains the business logic of the enterprise application.

Java Session Beans

     

A session bean is the enterprise bean that directly interacts with the user and contains the business logic of the enterprise application. A session bean object is a short-lived object that executes on behalf of a single client. It is created by a client and usually exists only for the duration of a single client-server session. A session bean performs and handles operations, such as calculations or database access, for the client request.

Session beans are divided into two parts: stateless and stateful.

Stateless session beans do not use the class variables (instance variables). So they do not persist data across method invocation and therefore there is no need to passivates the bean's instance.

Stateful beans use the instance variables that allow the data persistent across method invocation because the instance variables allow persistence of data across method invocation.

 

Read more at

http:/www.roseindia.net/ejb/SessionBean.shtml

 

Advertisement

Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: June 16, 2009

Ask Questions?    Discuss: Java Session Beans  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments
ashvini
February 22, 2013
advance java

seesion bean
DMCA.com