开发者

Java RESTful Jersey Examples? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this questi开发者_Python百科on will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

Are there any examples that demonstrate using Java and Jersey to perform Client<->Server communication? Such as sending XML data to and from each other?


I would suggest this tutorial from Lars Vogel

It's great place to start with exploring Java Restful, with the use of Tomcat and Jersey. With small remark that not everything there is cohirant- you should try to do some of the work yourself.

Furthermore I had trouble myself working with it, but I found this great extension to the Vogel's tutorial.


The one from Lars Vogel already pointed out is great, but I would also recommend you to check this one, published by IBM. Also, the official documentation is full of useful code snipets. This, together with the API reference should be enough to start on it!


There are plenty of samples in the Jersey samples zip file:

http://download.java.net/maven/2/com/sun/jersey/samples/jersey-samples/1.4/jersey-samples-1.4-project.zip

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜