hi All,
I have a set of service interfaces and object interfaces that I would like to expose to the client. The server obviously contains these interfaces and their implementations. However when I invoke these services from the client, the client throws an exception at runtime mentioning classnotfound exceptions.
Why is the client concerned about the implementation classes?
Client
-------
These two interfaces are all that I package in client.jarCode:public interface EmployeeService { public void addEmployee(String id, Employee employee); } public interface Employee { pubic String getFirstname(); public String getLastname(); public void setFirstname(String fname); public void setLastname(String lname); }
The client has client.jar, spring.jar, spring-remoting.jar, and commons-xxx.jar
The clientContext.xml file points to the remote server url.
Is this configuration invalid? Do I have to provide the implementations of these two services to the client?


Reply With Quote