File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Stateful session bean -- clarification urgent

 
veena madhukar
Ranch Hand
Posts: 86
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 149
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic