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.
posted 14 years ago
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