The embedded server shared library exposes a native function OaServerControl that can be called from a Java program. The wrapper class oasload (found in install_dir\shlibsrv\oajava\server\oasload.java) defines the interface that can be used to access this function. The OaServerControl method is invoked to start and to stop a service. Example classes that demonstrate the embedding of the OpenAccess SDK server into a Java program are located in install_dir\shlibsrv\oajava\server directory. A Java application can embed an OpenAccess SDK Server to run C or Java services.