difference

Ads

 
 
 

Share on Google+Share on Google+

nag
difference
1 Answer(s)      8 years ago
Posted in : EJB
Ads
View Answers

August 28, 2008 at 1:43 PM


Hi friend,

Stateful Beans

*)Stateful beans are also Persistent session beans.
*)They are designed to service business processes that span multiple method requests or transactions.
*)These beans remembers the previous requests and reponses.
*)These beans does not have pooling concept.
*)It retain their state on behave of an individual client.
*)It can be passivated and reuses them for many clients.
*)It maintain the state of the client with server

Stateless Beans

*)These beans are designed to service business process that last only for a single method call or request.
*)These beans do not remember the previous request and responses.
*)These bean instances are pooled.
*)Client specific data has to be pushed to the bean for each method invocation which
result in increase of network traffic.
*)beans beans are scaleable
*)It will not maintain the state.

For read more information :


http://www.roseindia.net/javabeans/sessionbeanlifecycle.shtml

Thanks


Ads









Related Tutorials/Questions & Answers:
difference
difference  difference b/w java and asp.net
difference
difference  what's the difference between mysql and sql
Advertisements
difference
difference  difference between hashtable and hashtree
Difference
Difference  What Is the difference between JDK & SDK
difference
difference    what is the difference between the JDBC-ODBC bridge, the Native-API-Partly-Java driver, and the JDBC-Net-All-Java Driver is the placement of the database access libraries   Please visit the following link
difference
difference  difference between thread and process in java   Difference between Process and Thread: 1)Process is a program under execution whereas Thread is a part of program. 2)Process are heavy weight programs which
difference
difference  difference between Method Overloading and method Overriding   Difference between Method Overloading and Method Overriding: Overriding is the concept of having functions of same name and signature
difference - Applet
difference  what is the difference in between awt and swing package... and what is the difference in between frame,panel  Hi Friend.... Difference between frame and panel: 1)A frame is a resizable movalble window
Flex difference
Flex difference  Hi.... please tell me about What is the difference between Flex 2.0 and Flex 3.0? Thanks  Ans: There are some advantages of Flex3.0 over Flex 2.0 they are following: 1. Faster compilation time
difference - EJB
difference  difference between stateful and stateless beans   Hi friend, Stateful Beans *)Stateful beans are also Persistent session beans. *)They are designed to service business processes that span multiple
difference between == and === operators?
difference between == and === operators?  Is (====) operator available in java or not? difference between
Difference between struts and JSF
Difference between struts and JSF  What is the difference between struts and JSF
difference between ForwardAction and IncludeAction
difference between ForwardAction and IncludeAction  What is the difference between ForwardAction and IncludeAction
difference between SessionState and ViewState
difference between SessionState and ViewState  What is the difference between SessionState and ViewState
Difference between DispatchAction and LookupDispatchAction
Difference between DispatchAction and LookupDispatchAction  What is the Difference between DispatchAction and LookupDispatchAction
What is the difference between the >> and >>> operators?
What is the difference between the >> and >>> operators?   hi, What is the difference between the >> and >>> operators? Thanks
Difference between 3d and 4d
Difference between 3d and 4d  what is the difference between 3d and 4d
difference between varchar & varchar2?
difference between varchar & varchar2?  What is the difference between varchar & varchar2
what is the difference in java and j2ee
what is the difference in java and j2ee  Hi, Please tell me: 1. What is the difference between Java and Core Java and 2. Difference between Java and J2EE
Mysql Difference
Mysql Difference       Mysql Difference is used to return the records that are the outcome of difference between the records in a table. Understand with Example The Tutorial
Mysql Difference
Mysql Difference       Mysql Difference is used to return the records that are the outcome of difference between the records in a table. Understand with Example
Difference between Timer and Thread?
Difference between Timer and Thread?  Can anyone tell me about the difference between Timer and Thread, Why we need to have Timer in case we have Thread implimentation startegy in Java
Difference between Mysql and SQL
Difference between Mysql and SQL  hello, What is the difference between Mysql and SQL??   hii, SQL is structural quary language but mysql is database package
difference between lock and synchronization
difference between lock and synchronization  Hi, I am new in java please anyone tell me difference between lock and synchronization in java. its urgent. Thank in advance   Please visit the following link: Lock
Difference between JSP and Servlets
Difference between JSP and Servlets  What is the difference between JSP and Servlets ?   JSP is used mainly for presentation only. A JSP can only be HttpServlet that means the only supported protocol in JSP is HTTP
Difference between request.getRequestDispatcher() and context.getRequestDispatcher()
Difference between request.getRequestDispatcher() and context.getRequestDispatcher()  What is the difference in using request.getRequestDispatcher() and context.getRequestDispatcher()?   request.getRequestDispatcher
difference b/w == and equals()
difference b/w == and equals()  what is the difference between == operator and equals()   Hi Friend, The == operator checks if the two objects were actually the same object. This operator looks at the actually memory
what is the difference between extends and implements
what is the difference between extends and implements  difference between extends and implements
what is the difference between extends and implements
what is the difference between extends and implements  difference between extends and implements
javascript date difference in years
javascript date difference in years  I want to find the difference...=date1.getFullYear()-date2.getFullYear(); document.write("Date difference in years : "+yearDiff... year difference by subtracting the two
Difference between SCJP Exams
Difference between SCJP Exams  What is the differences between SCJP 5 (310 - 055) exam and SCJP 6 (310 - 065) exam??? Thank You In Adv
Tutorials   
Java Spring Hibernate Struts Training email verification in e commerce application email verification in e commerce application EJB interceptors Demo How can i Change Button Label Value Randomly in VIRTUAL KEYBOARD using JAVA or Net Beans ??? RUNNING EJB PROGRAMS Issue when deploying mdb jar in weblogic Weblogic8 server problem login module program login module program jsp project Lookup failed in SessionBean mahesh How to display single row from sql server 2005 how to access radio buttons selected in a servlet??...iam unable to retrieve values...it is returning NULL how to access radio buttons selected in a servlet??...iam unable to retrieve values...it is returning NULL Stateless Bean Error Stateless Session Bean Example Error EJB Deployment how to create a simple ejd session bean and how to do project setup Ejb Module Ejb Module EJB JSP - Checkbox remain checked although checked values should depend on values stored in a stateful session bean Session Bean Example Bean RMI ejb ejb webservices message driven bean example entity bean j2ee example programs Rose India Stateless Session Bean Example Question Coding with Ejb EJB with NetBeans Run a simple EJB code Run a simple EJB code Used Handicap Vans Issue in Stateless session bean example ejb ejb methods can be invoked by the container on a stateless session bean session Join problem with JPA Criteria Builder About Web-Logic Abut Deploying and Developing Web-Logic in JDK1.5 version to run the EJB managing the transactions Pagination DataGrid without DataBase Many To Many annotation in ejb use of ejb 3.0

Ads

 
Advertisement null

Ads