posted 18 years ago
Hi,
We have developed a ServiceLocator to cache home interfaces for all services.
Here is code for getRemoteHome
This ServiceLocator is packed into a jar file and added to class path of 2 web applications.
It works fine if it is called by single web app. But when other web app calls getRemoteHome(), it finds ref in cache, it prints valid value in log, but it value null after getRemoteHome() call in other web app.
What could be problem..? What is the best design to implement ServiceLocator to be used between different webapplications..?
Any Suggestion/Advice would be of great help..
Thanks,
Raja.