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.
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)