Hi,

I am not really sure why would one serve REST through Wicket, is there
any advantage? Maybe to adjust it according to the state of
page/session?

But if it's a service without no such req, I am using RestEasy, which
works like a charm.
https://www.jboss.org/resteasy/

All I need to make it working is:

    <!-- One of the way of activating REST Servises. -->
    <servlet-mapping>
        <servlet-name>javax.ws.rs.core.Application</servlet-name>
        <url-pattern>/rest/*</url-pattern>
    </servlet-mapping>

The rest are POJOs with @Path("/...") etc and I mostly reuse my JPA
entities as "DTOs".


Ondra




On Thu, 2012-09-20 at 20:54 +0300, Josh Kamau wrote:

> Hi Guys;
> 
> Is there a way(a sub project may be..) of exposing a wicket web app as a
> REST API.... ?
> 
> 
> Josh.


Reply via email to