• Post Reply Bookmark Topic Watch Topic
  • New Topic

pass info to another ear in same server cluster  RSS feed

 
Jesus Angeles
Ranch Hand
Posts: 2070
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Sheriff
Posts: 37253
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jesus Angeles
Ranch Hand
Posts: 2070
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!