Hi,
I have several applications in the same server (Weblogic 8.1) and i need to share user data (stored in session) between them. As far as i know, session objects cannot be accessed from another app, so i need some help with this.
I've heard of three possibilities, but i have found nothing about them, so i don't even know if they would work. This possibilities are:
- Use a cache manager, accesible from every app (how?)
- Store objects in a JNDI tree
- Use an entity EJB (are they shared?)
Ani idea? Thanks :)
Keko
-
Share data between apps (3 messages)
- Posted by: Eneko Gonzalez
- Posted on: January 28 2004 05:23 EST
Threaded Messages (3)
- Share data between apps by stephen smithstone on January 28 2004 10:15 EST
- Share data between apps with a cache by Rob Misek on January 28 2004 11:44 EST
- Thanks by Eneko Gonzalez on January 28 2004 14:49 EST
-
Share data between apps[ Go to top ]
- Posted by: stephen smithstone
- Posted on: January 28 2004 10:15 EST
- in response to Eneko Gonzalez
Using a cache manger like oscache you can write the session objects to the cache using a key and then in the other app use the same cache and obtain the values from the cache using the key
when the user swaps over to the other app pass the username to the new app and use that for the cache key and then store the session etc etc
> Hi,
>
> I have several applications in the same server (Weblogic 8.1) and i need to share user data (stored in session) between them. As far as i know, session objects cannot be accessed from another app, so i need some help with this.
>
> I've heard of three possibilities, but i have found nothing about them, so i don't even know if they would work. This possibilities are:
>
> - Use a cache manager, accesible from every app (how?)
> - Store objects in a JNDI tree
> - Use an entity EJB (are they shared?)
>
> Ani idea? Thanks :)
>
> Keko -
Share data between apps with a cache[ Go to top ]
- Posted by: Rob Misek
- Posted on: January 28 2004 11:44 EST
- in response to Eneko Gonzalez
Hi Eneko,
I believe that WebLogic specifically discourages the storing/sharing of objects using the JNDI tree.
If you go with the "cache manager" option I would suggest taking a look at Coherence. Coherence allows for the caching of objects in a clustered environment in a synchronous and concurrent manner.
Later,
Rob Misek
Tangosol Coherence: Cluster your Work. Work your Cluster.
Coherence Forums. -
Thanks[ Go to top ]
- Posted by: Eneko Gonzalez
- Posted on: January 28 2004 14:49 EST
- in response to Eneko Gonzalez
First of all, i wanna thank you for replying so fast...
> I believe that WebLogic specifically discourages the storing/sharing of
> objects using the JNDI tree.
Yes, i've heard this but i don't really know why... I don't need to store too much info, so using the JNDI tree doesn't look so bad... Anyway, if WebLogic discourages it ...
Anyway, I'll try both Tangosol and OSCache and let you know if i need more help with this issue
Thanks again :-D
Keko