http://xstream.codehaus.org/ takes care of it, why wicket should be used?
 
Konstantin Ignatyev 



----- Original Message ----
From: Martijn Dashorst <[EMAIL PROTECTED]>
To: [email protected]
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, 
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.

Martijn

On 
1/30/08, 
Zach 
Cox 
<[EMAIL PROTECTED]> 
wrote:
>
> 
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 
look 
into 
something 
separate 
like 
Jersey
> 
(https://jersey.dev.java.net/)?
>
> 
---------------------------------------------------------------------
> 
To 
unsubscribe, 
e-mail: 
[EMAIL PROTECTED]
> 
For 
additional 
commands, 
e-mail: 
[EMAIL PROTECTED]
>
>


-- 
Buy 
Wicket 
in 
Action: 
http://manning.com/dashorst
Apache 
Wicket 
1.3.0 
is 
released
Get 
it 
now: 
http://www.apache.org/dyn/closer.cgi/wicket/1.3.0




Reply via email to