my dog learned polymorphism*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Stateful session bean -- clarification urgent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Stateful session bean -- clarification urgent" Watch "Stateful session bean -- clarification urgent" New topic
Author

Stateful session bean -- clarification urgent

veena madhukar
Ranch Hand

Joined: Apr 28, 2006
Posts: 86
Stateful session beans are suggested to be used over Stateless session beans in the following context:

"The bean needs to hold information about the client across method invocations. "

1> Can't the information be stored in the web tier? When the web tier can store the information how does session bean get justified to be used.

2> Also, what kind of information about the client, can somebody give an example. I know the standard example quoted is Shopping cart. But, i am still not able to appreciate the use of stateful session bean. can anybody point me to any web sites or share information to help me understand better.
Maris Orbidans
Ranch Hand

Joined: Mar 08, 2004
Posts: 149
But, i am still not able to appreciate the use of stateful session bean. can anybody point me to any web sites or share information to help me understand better.


http://java.sun.com/j2ee/1.4/docs/tutorial/doc/EJBConcepts3.html#wp79790
http://www.theserverside.com/tt/books/wiley/masteringEJB3/index.tss
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Stateful session bean -- clarification urgent
 
Similar Threads
How to manage the session for GUI and Web client
Httpsession vs stateful session
Stateful Session Bean -- clarification urgent
session bean versus entity bean
Server Session pattern