uCosminexus Application Server, System Setup and Operation Guide

[Contents][Glossary][Index][Back][Next]

Appendix M. Sample programs provided by Application Server

Application Server provides the following sample programs:

This section gives an overview and describes the execution procedure and execution example of each sample. Execution procedure and execution example of sample programs are explained with the server management commands.

Note
When using the sample program in UNIX environment, replace the text as follows.
  • Replace the directory (Cosminexus-installation-directory\) for Windows with the directory /opt/Cosminexus/for UNIX.
  • Batch file used in the Windows environment serves as the shell script in the UNIX environment. Remove the extension.
    For example, for the Windows environment: testClient.bat; for the UNIX environment: testClient
For 07-50 or later versions, use the cjclstartap command to start EJB client application. For details on the cjclstartap command, see cjclstartap (Start Java application) in the uCosminexus Application Server Command Reference Guide.
When you run sample programs provided by the Application Server, we recommend that you use the sample program by copying to another directory having the write permission.
Organization of this section
M.1 Configuration and operation procedure of the sample execution environment by server management commands
M.2 Enterprise Bean (EJB2.0) sample program
M.3 Sample programs of Enterprise Bean (Annotations)
M.4 Sample programs of Enterprise Bean (Timer Service)
M.5 JPA sample programs
M.6 JavaBeans resource sample program
M.7 User log functionality sample program
M.8 Sample program of Web application
M.9 Sample program of TP1 inbound linking functionality
M.10 Sample program of JSF
M.11 Sample of Bean Validation and CDI integration application