![]() |
OpenSplice Java 5 DCPS
v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
|
Java 5 Language PSM for DDS is the latest DDS DCPS API for the Java Language. It is more user friendly and simpler to use.
If you are new to the Java 5 PSM we would recommend that you start by looking at the example code provided in your OpenSplice installation directory as well as the documentation in the sections below.
A summary of each example, along with build/run instructions can be found on the Examples page.
The OMG Java 5 specification also gives an overview of the general design of Java 5 and can be found at the following link: http://www.omg.org/spec/DDS-Java/
In order to build and or run applications that use Java 5 the library dcpssaj5.jar for standalone Java or dcpscj5.jar for CORBA Java need to be in the classPath. In case of doubt use the dcpssaj5.jar for standalone Java. These libraries can be found inside the $OSPL_HOME/jar directory.
The namespaces below contain all of the major functionality of the Java 5 API.
Java 5 code examples can be found on the Java 5 example code snippets page.
A zipped version of the java5 source code can be found inside the $OSPL_HOME/lib directory i.e. dcpssaj5-src.jar or dcpscj5-src.jar.
To use this source jar inside Eclipse do the following:
dcpssaj5.jar or dcpscj5.jar and expand it.dcpssaj5-src.jar or dcpscj5-src.jar can be added.A zipped version of the JavaDoc documentation for java5 can be found inside the $OSPL_HOME/docs/java5 directory i.e. dcpssaj5-doc.jar or dcpscj5-doc.jar.
To use this jar inside Eclipse do the following:
dcpssaj5.jar or dcpscj5.jar and expand it.dcpssaj5-doc.jar or dcpscj5-doc.jar can be added. press the "Validate" button to check everything is ok.