It's not a secret anymore!*
The moose likes EJB and other Java EE Technologies and the fly likes session maintenance 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 » Java » EJB and other Java EE Technologies
Bookmark "session maintenance" Watch "session maintenance" New topic
Author

session maintenance

Reshma Reddy
Ranch Hand

Joined: Dec 21, 2006
Posts: 197
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

Joined: Apr 14, 2004
Posts: 10336

Depends on the container. Which one are you using? And why does the implementation matter?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Reshma Reddy
Ranch Hand

Joined: Dec 21, 2006
Posts: 197
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

Joined: Apr 14, 2004
Posts: 10336

Why programmatically do something that is provided by the container? What are you trying to achieve with this?
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3344

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.


Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
Reshma Reddy
Ranch Hand

Joined: Dec 21, 2006
Posts: 197
Hi,
I understand the thing whatever you guys are said, now i started to know about container.

Thanks for your replay,

Regards,
vishnu
 
wood burning stoves
 
subject: session maintenance
 
Similar Threads
maintain checkbox status in pagination.
Session maintenances
session
use hidden parameters?
MainTain Session in swing