Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tunneling Concept Query

 
Mike Thomson
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have a two separate applications (for example:app1 and app12) and running in the same application server. A user can able to login to the application and can able to access both app1 and app2. We have a requirement in which a part of the module in app2 to be accessed by app1. For example: app2 is having some employee information screen and the app1 is want to view these details.
How can we achieve this? Someone said provide the tunnel link between app1 and app2. Can you help on what is tunneling? I have googled, but not clear on it.
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mike,

We're going to need more details on this . What type of applications do you have? Are they WARs? EARs? What Application Server to they reside on?
 
Mike Thomson
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Each applications in separate WAR files and all the WAR files are in EAR and get deployed in Websphere.
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mike,

It depends on the Classloading you've got setup for the EAR in Websphere (I'm no Websphere expert). I know in Jboss I can have both WARs share the same Classloader, so they can locally call each other. Otherwise I think you'd have to use a std remote lookup call (e.g. Find the name of the service/servlet/bean what ever through JNDI)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic