uCosminexus Application Server, Web Service Development Guide

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

12.5.3 Compiling Implementation Classes of a Web resource client

You use the javac command to compile the created Web resource clients.

The following example describes how to compile HTTP clients:

> cd c:\temp\jaxrs\works\tutorial\client\
> javac -encoding UTF-8 -cp "%COSMINEXUS_HOME%\jaxws\lib\cjjaxws.jar;%COSMINEXUS_HOME%\jaxrs\lib\cjjaxrs.jar;%COSMINEXUS_HOME%\jaxp\lib\csmjaxb.jar;.\classes" -d .\classes src\com\sample\client\SampleClient.java

When the javac command ends successfully, a class file (*.class) is generated in the subdirectory corresponding to the package name under the c:\temp\jaxrs\works\tutorial\client\classes\ directory.

For details on the javac command, see the JDK documentation.