Your choice of using Spring Remote or Web Services depends on whether you want to use SOAP or not.
All Spring services should start as an interface-based POJO service, of course. Thus, you can only worry about the implementation and interface; remote access can be an afterthought in this way.
Once your Spring POJO service has been tested and started, you can choose between a variety of remote access options: EJB (RMI-based clients, Java only), HTTP (any client that can create an HTTP client), web (SOAP and WSDL ) etc. Your choice depends on the types of clients you expect and the wire protocol you want to use.
duffymo
source share