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
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.
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
]
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