We have a java client application that uses RMI to connect to a server application. We use the Sun cgi-bin servlet and a custom socket handler so the messages are sent via HTTPS.
In the Sun Servlet it take the http message and connects to an RMI server that is running locally.
The client code is very simple
String result = getInterfaceToServer().getCustomerName(customerID);
public static ManagerInterface getInterfaceToServer ()
Return (ManagerInterface) [url removed, login to view](serverName + rmiControllerName);
We want to be able to call a web service or for the current servlet to call the java code rather than having an RMI server running.
We don’t want to have to make any major change to the client code, unless we can do this change with annotations or some other simple method as we have a lot of client code.
We need someone who can put a prototype together that will show us how to migrate from the current RMI server system to a web service or calling the java code direct from the servlet.