uCosminexus Application Server, Web Service Development Guide

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

11.1 Creating a root resource class

You create a root resource class as a compiled Java class file (*.class). Similarly create a sub resource class or an exception mapping provider as and when required.

You include the compiled Java class file (*.class) in the directories that configure the WAR file. Add the file to either or both of the following locations:

A WAR file must contain at least one root resource class. For details on the storage destination, see 11.3.1 Configuring a WAR file.