• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Servlet Chaining

 
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
 
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 ?
 
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
 
Can you really tell me that we aren't dealing with suspicious baked goods? And then there is this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic