Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session maintenance

 
Reshma Reddy
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi to all,

how the container will maintain session for a statefll session bean, is there any configatraions to maintain session pls clarify.

Regards,
vishnu
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depends on the container. Which one are you using? And why does the implementation matter?
 
Reshma Reddy
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i am using ejb container and i want how we can maintain state for staeful session in programatically i mean needs any special configurations compare to statelss session beans.

Regards,
vishnu
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why programmatically do something that is provided by the container? What are you trying to achieve with this?
 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes obviously that is why we have got something called 'Container' which is aware of all these things and taking care. You are NOT at all required to be bothered of how it handles and the ways to fine tune it.

Instead, you will end up building your own container.

If interested, you can read the container's documentation to get to know the strategy and/or algorithms being used if any. But trying to put your hands in to an already existing stuff, will yield nothing but reinventing the wheel.
 
Reshma Reddy
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I understand the thing whatever you guys are said, now i started to know about container.

Thanks for your replay,

Regards,
vishnu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic