This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • 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
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

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
 
Put the moon back where you found it! We need it for tides and poetry and stuff. Like this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!