tags:

views:

169

answers:

5

I have a project and i was trying to create a restful webservis. I searched a lot and almost finished all the net documentation. Always having a problem. Can someone say me a good webservis sample which has got server and client side in java?

+1  A: 

One way to do it is doing something like this:

http://java.sun.com/developer/technicalArticles/WebServices/restful/

Tommy
+1  A: 

You could try looking into using a framework like CXF, but from your question it isn't clear what kind problems you're running into.. Care to explain what you've tried already and what kind of service you're trying to build? Detailed questions get better answers..

Tim
+1  A: 

Spring 3.0 will support REST.

duffymo
+1  A: 

I've had a good experience with Restlet. It handles both the client and server side well. The tutorials are also good enough to get you started.

Rich Seller
+1  A: 

The standard API for RESTful web services which is going to be included in Java EE 6 (to be released later in 2009) is JAX-RS. Jersey is Sun's reference implementation of this API, which is included in Glassfish v3.

Jesper