A quick overview regarding servlets:
A servlet container such as Tomcat and Jetty provide a way to host web applications. These applications are can be deployed as a folder, or as a War file (web-archive). Servlet containers support technologies based on the Servlet specification. The basic functionality of a Servlet is to respond to a request, for example over http. A servlet that is usually available in servlet containers is a JSP servlet that can host JSP (java server pages) and HTML files.
Ontopia REST is based on Restlet, which is a REST framework on top of servlet technology.
The easiest way to get Ontopia REST running without maven hacking would be to take the distribution tomcat (fully configured and sample topicmaps ready to use) and add the an Ontopia REST application. For this you’ll need:
- Use the latest code pull to assure ontopia-rest jar is added to
- Create a folder ‘rest’ in apache-tomcat/webapps
- Create a folder ‘WEB-INF’ in apache-tomcat/webapps/rest
- Start the distribution tomcat
Have a go and let me know :)