[英]Accessing REST web service without servlet
I have a REST web service. 我有一个REST Web服务。 Is there any way to create a Rest web service proxy to access the REST web service without using servlet?
有没有什么方法可以创建一个Rest Web服务代理来访问REST Web服务而无需使用servlet?
Here you can see the detailed example for Rest without Servlet. 在这里,您可以看到没有Servlet的Rest的详细示例。
http://maxrohde.com/2011/09/02/restlet-quickstart/ http://maxrohde.com/2011/09/02/restlet-quickstart/
Spring RestTemplate could be another option Spring RestTemplate可能是另一个选择
http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/web/client/RestTemplate.html http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/web/client/RestTemplate.html
Most popular JAX-RS implementation in Java. Java中最流行的JAX-RS实现。 Jersey (reference implementation from Oracle) Apache CXF RESTeasy Restlet
Jersey(Oracle的参考实现)Apache CXF RESTeasy Restlet
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.