File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Stateful Bean as a data storege dump Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Stateful Bean as a data storege dump" Watch "Stateful Bean as a data storege dump" New topic
Author

Stateful Bean as a data storege dump

Devesh H Rao
Ranch Hand

Joined: Feb 09, 2002
Posts: 687

i would like to know what is the pros and cons of dumping my client related data in a stateful bean linked to a particular session of a client insted of storing them in the session object.
i would also like to know how heavy is a stateful ben for the app server to handle.
Phil Sharp
Ranch Hand

Joined: Nov 08, 2001
Posts: 40
Probably depends upon your application, its reliability\performance requirements and the rest of your solution.
Ideally you would probably want to store presentation state in the HttpSession and business state in an EJB.
Following is a link to a discussion where the issues were aired far more knowledgeably than I can do:
http://www.theserverside.com/discussion/thread.jsp?thread_id=552
Hope it helps
Phil
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Stateful Bean as a data storege dump