| 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
|
|
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 ]
|
 |
 |
|
|
subject: pass info to another ear in same server cluster
|
|
|