If I need to fetch data from multiple distributed datastores into an HTML page, can RMI solve my problem?
- By invoking one server object in the client application. The server object in turn can call other remote objects on the same machine or on different machines.
- By invoking more than one server objects directly from the same client.
You can use servlet as the client for the RMI server objects, and later format the data into HTML before sending the response to the client.