本文的目的在于完成一个Restlet入门示例。
首先,是一个Stand alone应用。
然后,将其部署与Tomcat容器中。
最后,完成Restlet与Spring的整合。
基本JAR 包:
1.按照官方教程,完成“firstSteps”
创建一个动态Web工程RestEE,并建立firstSteps包,并复制如下代码到:HelloWorldResource.java
http://localhost:8080/RestEE/hello,出现“hello,world”信息。
其他资料 :
http://ajaxcn.iteye.com/category/64734?page=2
http://restlet.org/learn/tutorial/2.1/#/docs_2.0/2-restlet.html