In HFEJB book in architectural overview chapter, the lady (Kathy ???) says that we need to ensure the classes for the serialized objects returned as result of remote method call should be present on the client side. Also the calsses for the stub. Well thats fine. On the next page we have explanation for Remote Business Interface which will help in letting the client know the business methods available in the remote object. If this interface is "Remote" then how this can be sent to client !!?
If this interface is "Remote" then how this can be sent to client
The client application has a jar file containing the interface (class file) that represents the component (remote) interface that your ejb implements. At client side you also have a stub that implements that interface and this stub makes sure he can comunicate with the remote object (EJBObject).