wood burning stoves*
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
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?
 
 
subject: Stateful Session Bean Invocation