Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet Chaining  RSS feed

 
Ed B.
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
Is it possible to have servlet chaining across applications, i.e. servlet chaining across EAR's. To further explain my question, I am trying to pass an object from a servlet in one application to a servlet in another application(possibly in a different JVM).

Thanks for any help.
Adnan
 
Colin Fletcher
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lets say you setup a distributed environment for ONE application. There are some things you need to do (activation/passivation) with the object to ensure it can be transferred for the one application.

Passing objects between applications, you will probably have to build an interface/servlet to handle that specific activity.

Out of curiousity, why would you want to do that ?
 
Rajan Chinna
Ranch Hand
Posts: 320
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am quite eager to know how to do this in distributed model....any ideas?
 
Ed B.
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Colin,
Let's say there are 2 applications, A and B. My autheticaion module, upon successful authetication, calls a servlet which is in application A. Now, application A contains the authentication "object". Application A also contains a link to application B and the only way Application B can be accessed is from Application A. So I need a way to pass the authetication object to application B if the user clicks on the link. This is not exactly what I am trying to do but essentially is the same. There are ways of getting around the problem but for efficiency reasons, I am looking for a way to pass the authetication object to application B without having application B to go and authenticate again.
Thanks for the help
Adnan
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!