on 01-05-2006 11:25 AM
Hello,
we have two applications on the j2ee.
Is there any possibility to exchange informations that are saved in the session between those two applications?
Can you use the session id of one application to access the session data from the second app?
Thanks and best regards,
Jens
Hi,
The sessions are managed by the Server and hence any manipulation of data would hamper the working of the server itself,..
I dont think any API is exposed to the level you have asked for. so the second question doesnt raise at all.
This is up to my knowledge, WebAS experts can throw more light.
Regards,
S.Divakar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Jens,
There are many ways to communicate between two J2EE applications. It depends on what you are trying to achieve. Johathan has mentioned already web service. Two other options recommended by sun are JCA (used mainly for synchronous invocations of EIS) and JMS (used for asynchronous invocations and loose coupling between your two applications).
Here is a link that perhaps can be useful to you :
Since both JMS and JCA are part of the J2EE specification, they are available and come with the WebAS server. There are many tutorials and examples on the net as well.
Best Regards
Peter
Hi,
I have similar issue.
How did you resolve it?
Regards,
Apurva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
you might consider using the remoting facilities of the spring framework. There, especially the Hessian and Burlap APIs are of interest, hence they provide you with lightweight, http based java rpc protocols.
The url is http://www.springframework.org/docs/reference/remoting.html
Regards
Gregor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.