Adding a Server Context

A context is a subarea within the HTTP server to which web applications, servlets or other elements can be added. This allows you to structure your content. The following XML fragment sets up a context.

<Call name="addContext">
<Arg>
<New class="com.ebd.hub.xml.NullClass"/>
</Arg>
<Arg>/service/*</Arg>
[context specific calls and definitions]
</Call>

The first parameter allows to designate a virtual host to which the context is assigned exclusively. If there is no restriction on a particular virtual host, then the specification of the NullClass is necessary, as can be seen in the XML code shown above.

The second parameter is the name of the context as it should appear in the URL.

URLs that address the context as defined above would have the following structure.

http://<myserver>/service/...

The calls and definitions that are possible after adding a context are very numerous. Therefore, only the most important sections for the operation of the Integration Server are described here.