Information
We are currently investigating an issue with the editor of some pages. Please save your work and avoid to create new pages until this banner is gone.
The Makefile is provided with the module generated from getTemplateForDirectory. In the case of Java server implementation, you need to configure the compilation and installation of a Java JAR file:
Code Block | ||
---|---|---|
| ||
JARFILES=<JARName>
<JARName>_DIRS=<DirectoryBaseToIncludeInJAR> |
The first thing needed to implement a server, is to import the required classes:
Code Block | ||||
---|---|---|---|---|
| ||||
//Suggested: import alma.<Module>.<Interface>Impl; //But anything, really package <ChosenPackage>; //Base component implementation, including container services and component lifecycle infrastructure import alma.acs.component.ComponentImplBase; //Skeleton interface for server implementation import alma.<Module>.<Interface>Operations; //Error definitions for catching exceptions import alma.ServiceErr.<ExceptionName>Ex; import alma.<Interface>Err.<ExceptionName>Ex; //Error definitions for raising exceptions import alma.ServiceErr.wrappers.AcsJ<ExceptionName>Ex; import alma.<Interface>Err.wrappers.AcsJ<ExceptionName>Ex; |
...