vijay saraf wrote:Check out this thread.
https://coderanch.com/t/540759/Portals-Portlets/java/two-servlets-deployed-separate-web
This may be of your interest.
Although the JNDI approach may work, it's a tricky one because it introduces product dependencies and spaghetti code scenarios. Web dev is complicated enough as it is without introducing a workaround using WebSphere. Moreover, JNDI will only work
effectively provided that these web apps are deployed on the same server. It's better to use http calls.