aspose file tools
The moose likes Servlets and the fly likes pass info to another ear in same server cluster Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "pass info to another ear in same server cluster" Watch "pass info to another ear in same server cluster" New topic
Author

pass info to another ear in same server cluster

Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2036
Hello,

What are the possible resolutions for this?

My application is made of jsp and servlets.

I need to pass info to an application in the same server cluster, but in a different ear.

(The company didnt want to use url parameter as the user will see info (ideally he wont) at the url.)

The server is Websphere 5.x.

The info consists of a few Strings.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26216
    
  66

Jesus,
Do you not want the user to see the info for security reasons or for displaying nicer URLs? If it is the later, you could use a form POST instead.

Is this user specific information or application level information? If it is the later, you could user property files or the like.

If it is security related info specific to one user, you need to store it in an external source (like a database) and have the second web app look it up by a key. This key could be user id if the user logs in or some value that you pass between the two apps.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2036
Because the destination application does a second checking of authentication and authorization, the hiding of the data is only cosmetics.

I forgot about hidden html form fields. I used it today and it worked.

Thanks.

I apologize for posting too early without thinking first.
[ January 26, 2007: Message edited by: Jesus Angeles ]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: pass info to another ear in same server cluster
 
Similar Threads
JVM query in WAS
How to install same application in multiple servers in websphere netdeployment App Server Environmen
Deployment
Dynamic Reloading in Cluster
restart of weblogic cluster