This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Websphere and the fly likes Stateful Session Bean Invocation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Stateful Session Bean Invocation" Watch "Stateful Session Bean Invocation" New topic
Author

Stateful Session Bean Invocation

Jay Damon
Ranch Hand

Joined: Jul 31, 2001
Posts: 282
In the WebSphere V3.5 Handbook, chapter 11, Enterprise Java Services, pages 444 and 455, sample servlet doGet methods are shown that retain a Stateful Session Bean object and handle reference, respectively, in the HttpSession object in order to re-invoke a Stateful Session Bean. Since the example Session Bean is used only to maintain a counter, may I assume this is simply a contrived example that merely shows how one would maintain a reference to and re-invoke a Stateful Session Bean? If not, it sure seems to me that it would be easier to maintain the counter itself in the HttpSession object. If so, am I correct in assuming that a more real-world example would be, for example, to use a Stateful Session Bean to manage one or more Entity Beans?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Stateful Session Bean Invocation
 
Similar Threads
EJB - Stateful Session Bean
Part II - session state for Java client
Can someone write about a scenario where you cannot do without Stateful beans
EJB3 Doubts
distinctions between Stateless and Stateful bean