We are using Weblogic 6.0 in cluster mode.
- Posted by: Mandeep Khambay
- Posted on: April 22 2002 11:06 EDT
There is a need to put a reference to a Stateful Session Bean into Http Session. There are 2 ways to go about it, either put the reference as is to the session, or convert the reference to a String, and put the String to session.
Either ways, are there any issues with that regarding clustering.
I believe Weblogic 6.0, supports Http Session failover.
I would appreciate if someone be able to reply back soon.
- Putting EJB reference into Http Session, clustering, any issues? by Alex Pisarev on April 24 2002 04:57 EDT
- Putting EJB reference into Http Session, clustering, any issues? by Mandeep Khambay on April 30 2002 16:18 EDT
- Putting EJB reference into Http Session, clustering, any issues? by John King on May 01 2002 03:56 EDT
- Putting EJB reference into Http Session, clustering, any issues? by Saravanan Thangaraju on May 07 2002 12:49 EDT
The best way will be to put a handle to your bean (it's fully serializable) if you really think that it's a good idea to store references to SFSB on client side, because I don't.
Can you please tell me the reasons, why storing references to SFSB on client side is not a good idea?
Interesting, you'd recommend not putting a reference or handle to a SFSB in the HTTP session? I can see how it's less than ideal, but offhand I can't think of anywhere else to put it between client requests (The JNDI store maybe, but that's awkward). Where yould you store it?
But storing a Remote Object in Cache (whether it is in HttpSession or Static variables ) is not a good idea.