JDNI, Business Delegate/Proxy and Service Locator patterns
posted 7 years ago
I'd like to put together code that can access an object in a different domain/server address, but I do not want to construct the "remote" object locally - I want to use JDNI, Business Delegate/Proxy and Service Locator patterns to achieve the desired result. To that end I have a couple of questions:
1. How do I get JNDI to provide the location of the "remote" object?
2. What will the Business Delegate/Proxy object need both in the local and remote locations to make the interaction possible?