• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

stateless session bean

 
jacob deiter
Ranch Hand
Posts: 584
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My company uses a Process Driven framework ,An Stateless Session is used in the framework,

My question here is

How the stateless session bean handle many user since it does not have track of each user's session?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34229
341
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jacob,
The stateless session bean gets all the data it needs passed in. The data is likely stored in an HttpSession.
 
jacob deiter
Ranch Hand
Posts: 584
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for reply.Statefull session bean save the data within itself ?
 
Scott Selikoff
author
Saloon Keeper
Posts: 4011
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by jacob deiter:
Thanks for reply.Statefull session bean save the data within itself ?


Sort of, they maintain information between server calls. Think of it as a service that you start and maintain communication with throughout many customer interactions. It's not necessarily a bad thing, most people just have found they'd rather perform the same function with HttpSessions and stateless session beans since it makes the code more usable in the end.
[ August 27, 2008: Message edited by: Scott Selikoff ]
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic