We are using Weblogic 6.0 in cluster mode.
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.
regards,
Mandeep
-
Putting EJB reference into Http Session, clustering, any issues? (4 messages)
- Posted by: Mandeep Khambay
- Posted on: April 22 2002 11:06 EDT
Threaded Messages (4)
- 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
-
Putting EJB reference into Http Session, clustering, any issues?[ Go to top ]
- Posted by: Alex Pisarev
- Posted on: April 24 2002 04:57 EDT
- in response to Mandeep Khambay
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.
Alex. -
Putting EJB reference into Http Session, clustering, any issues?[ Go to top ]
- Posted by: Mandeep Khambay
- Posted on: April 30 2002 16:18 EDT
- in response to Alex Pisarev
Can you please tell me the reasons, why storing references to SFSB on client side is not a good idea?
Thanks,
Mandeep -
Putting EJB reference into Http Session, clustering, any issues?[ Go to top ]
- Posted by: John King
- Posted on: May 01 2002 03:56 EDT
- in response to Alex Pisarev
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?
Thanks. -
Putting EJB reference into Http Session, clustering, any issues?[ Go to top ]
- Posted by: Saravanan Thangaraju
- Posted on: May 07 2002 12:49 EDT
- in response to John King
But storing a Remote Object in Cache (whether it is in HttpSession or Static variables ) is not a good idea.