Hi Dave,

Our Servlet extension only has a dependency on the Servlet API, nothing 
specific to Tomcat.

However, the servlet-api.jar provided by Tomcat might have some internal 
dependencies on catalina.jar and tomcat-juli.jar to support
custom features (JULI is an extension to standard java.logging mechanism).

To run your Restlet application, you will definitely need the three Restlet 
JARs that you identified, at least in Restlet 1.1. 

In the upcoming Restlet 1.2, only two JARs will be needed:
 - org.restlet.jar
 - org.restlet.ext.servlet_2.5.jar

Hope this will help! Good luck for the tutorial :)

Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com


-----Message d'origine-----
De : Dave Pawson [mailto:[email protected]] 
Envoye : dimanche 8 fevrier 2009 09:39
A : [email protected]
Objet : Restlet 1.1 - First steps example

http://www.restlet.org/documentation/1.1/firstSteps
says,

Create a new Servlet Web application as usual, add a
"firstStepsServlet" package and put the resource and application
classes in. Add the archives listed below into the directory of
librairies:

    * org.restlet.jar
    * com.noelios.restlet.jar
    * com.noelios.restlet.ext.servlet_2.5.jar

I found to compile it I needed (from tomcat 6)
$ javac -cp 
.:/tc/lib/servlet-api.jar:/tc/lib/catalina.jar:/tc/lib/tomcat-juli.jar
SimpleServlet.java

I.e. the 3 jars from tomcat?

Using those, it compiled fine.

Are the restlet jars need for runtime please?

(I've started a small HOWTO, Tomcat 6 and restlets,
http://www.dpawson.co.uk/tomcat/index.html)

TIA





-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1122784

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1149641

Reply via email to