3
|
You can use
HttpURLConnection . Below is an example of calling a RESTful service using the Java SE APIs including JAXB:
You can find the complete example here
| ||
2
|
From your question its not clear whether you are using any frameworks.For REST you will be getting an WADL & Apache CXF recently added support for WADL-first development of REST services.Please go through http://cxf.apache.org/docs/index.html
| ||||