Exposing a web service from a Wicket app

2008-01-30 Thread Zach Cox
We're creating a web app using Wicket and would like to expose several simple features via a RESTful web service. So basically, several URLs would return XML or JSON formatted data instead of HTML. Is there an easy way to do this in Wicket to provide a very simple web service, or should we just

Re: Exposing a web service from a Wicket app

2008-01-30 Thread Martijn Dashorst
It could, but that would be using a ferrari to do grocery shopping :-) I guess you could mount an XML document as a page (easy to achieve, wiki should have documents on this). I'm not 100% sure that json would be a good fit, as Wicket likes to manipulate (XML-like) markup, not text templates.

Re: Exposing a web service from a Wicket app

2008-01-30 Thread Konstantin Ignatyev
http://xstream.codehaus.org/ takes care of it, why wicket should be used? Konstantin Ignatyev - Original Message From: Martijn Dashorst [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Wednesday, January 30, 2008 1:24:44 PM Subject: Re: Exposing a web service from a Wicket app

Re: Exposing a web service from a Wicket app

2008-01-30 Thread Ryan Sonnek
] To: users@wicket.apache.org Sent: Wednesday, January 30, 2008 1:24:44 PM Subject: Re: Exposing a web service from a Wicket app It could, but that would be using a ferrari to do grocery shopping :-) I guess you could mount an XML document as a page (easy to achieve