• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Tunneling Concept Query

 
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 3281
8
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 3281
8
Mac OS X Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
 
Let nothing stop you! Not even this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic