My learning notes on Restlet


This blog helped me write helloworld example using a container. I used JBOSS container btw.

http://vatsalad.wordpress.com/2010/01/13/how-to-setup-a-servlet-based-restlet-webservice/

Log level increasing in Restlet :

Add this to jboss vm params

"-Djava.util.logging.config.file="/home/myApp/config/myLogging.properties"


URI:
you need to think about 
1. jboss-web.xml
2. web.xml 
3. Application adding url specifications

Here app is from jboss-web.xml, helloWorld is from Application*.java code. And I have kept "/*" in web.xml
http://localhost:8080/app/helloWorld/


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s