aspose file tools*
The moose likes Java in General and the fly likes Tunneling Concept Query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Tunneling Concept Query" Watch "Tunneling Concept Query" New topic
Author

Tunneling Concept Query

Mike Thomson
Ranch Hand

Joined: Nov 07, 2007
Posts: 115
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

Joined: Jun 24, 2003
Posts: 3274
    
    5

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?


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
Mike Thomson
Ranch Hand

Joined: Nov 07, 2007
Posts: 115
Each applications in separate WAR files and all the WAR files are in EAR and get deployed in Websphere.
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

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)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tunneling Concept Query