Class ExampleRemoteClient

java.lang.Object
org.apache.ofbiz.service.rmi.ExampleRemoteClient

public class ExampleRemoteClient extends Object
An example of how to remotely access the Service Engine's RemoteDispatcher. The following files from OFBiz need to be on the client's classpath: cache.properties debug.properties jsse.properties ofbiz-base.jar ofbiz-service-rmi.jar (copied and renamed from "ofbiz/framework/service/build/lib/ofbiz-service-rmi.raj" from an OFBiz build) The following third-party libraries (can be found in OFBiz) also need to be on the client's classpath: commons-collections.jar log4j.jar Copy the truststore file framework/base/config/ofbizrmi-truststore.jks to the client Run the client specifying the path to the client truststore: -Djavax.net.ssl.trustStore=ofbizrmi-truststore.jks