• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Servlet Chaining

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic