Nexacro Platform APIs (X-APIs) are provided in the form of server modules, and serve the data processing between a server and clients. X-APIs simplify data processing by providing functions such as sending, receiving, and processing data.
Data is processed according to the Dataset XML Format Therefore, users can develop server programs without using X-APIs.
Installation
X-APIs, provided in the form of JavaScript-based server modules, require JDK or JRE (version 1.4 or higher).
Users will copy the JAR files included in the nexacro-xapi/lib directory of the installation CD and move them to the WEB-INF/lib directory of the WAS or to defined class paths. The offered JAR files are as follows.
File name | Necessity | Description | Reference |
---|---|---|---|
nexacro-xapi-x.x.x.jar | Y | X-API | |
commons-logging-x.x.x.jar | Y | X-API internal logging |
License Authentication
Users will copy the license file (nexacro14_server_license.xml) to the same directory or defined class path as the one that contains JAR files.
If one or more other license files are copied to different paths, the license file located in the same directory with JAR files is first to be applied.
Depending on the setup of the server, the WAS requires re-booting after JAR files and a license file are copied.
Confirming Installation
Whether the installation was successful can be confirmed by writing the sample JSP file presented below.
<%@ page contentType="text/html; charset=UTF-8" %> <html> <head> <title>JarInfo</title> <style> * { font-family: Verdana } </style> </head> <body> <pre> <% new com.nexacro.xapi.util.JarInfo().info(out); %> </pre> </body> </html>
If successful, details of the X-API version and product license will be output.