Configure web.xml
First, add the jar files to your web application (one place you can
put them is in
WEB-INF/lib). Next, configure your
web.xml file to load the servlet. To do this, add the
following to your
web.xml:
<servlet>
<servlet-name>Orb</servlet-name>
<display-name>JsOrb Servlet</display-name>
<servlet-class>org.jsorb.servlet.Orb</servlet-class>
<load-on-startup>1000</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Orb</servlet-name>
<url-pattern>/jsorb/*</url-pattern>
</servlet-mapping>
The above will load the JsOrb servlet and map it to
/jsorb. and tell JsOrb where you mapped it. Last,
configure the TLD in your
web.xml file.