This is a strange architecture but ...
You can use Apache HttpClient, or URL("http://...";).openConnection()
or Ning's AsyncHttpClient to request the REST service.
With these you can get/update/delete the resources (XML, JSON, ...),
after that you have to decide how to show it.

On Thu, Jan 26, 2012 at 1:29 PM, Rahman USTA <rahman.usta...@gmail.com> wrote:
> Hi, i' ve built a RESTful application with JAX-RS, then i normally access
> the web service via CURL in Command Line.
>
> Example codes are such as ;
> -------------------
>
> @rem XML representation of all the books
> @rem curl -X GET -H "Accept: application/xml"
> http://localhost:8080/Rest/rs/items/books
>
> @rem JSon representation of all the books
> @rem curl -X GET -H "Accept: application/json"
> http://localhost:8080/Rest/rs/items/books
>
> @rem Create a book
> @rem curl -X POST --data-binary "{ \"title\":\"H3G3\", \"price\":\"24.0\",
> \"description\":\"3rd Scifi IT book\", \"illustrations\":\"false\",
> \"isbn\":\"134-234\", \"nbOfPage\":\"241\" }" -H "Content-Type:
> application/json" -H "Accept: application/json"
> http://localhost:8080/Rest/rs/items/book
> --------------------
>
> How can i request to web services like above in Wicket with its own library.
>
>
>
>
> --
> Rahman USTA
> 0-(531)-922-28-05
> www.kodcu.com



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to