Hi Andrea,

This was my "crazy idea" at Ideas for
Wicket+7.0<https://cwiki.apache.org/confluence/display/WICKET/Ideas+for+Wicket+7.0#IdeasforWicket7.0-ImplementJAXRSontopofWicketIResource>
.
It should be easy to make an integration with Resteasy, Jersey, Spring MVC,
... and process any Wicket IResource for such annotations. But the work to
do this will be definitely more than just use the respective technology and
wrap its Servlet/Filter within WicketSessionFilter. This way you will have
all that the technology gives you + the Wicket Application and Session
thread locals. The only thing that will miss is the RequestCycle.


On Sat, Jun 22, 2013 at 8:30 PM, Andrea Del Bene <[email protected]>wrote:

> Hi,
>
> In a project I'm following at work we use Spring MCV and its annotations
> to build a REST service mapping the methods of a controller to a specific
> path:
>
> @Controller
> @RequestMapping("/users/"){
> public MyController {
>
> @RequestMapping("/users/{**userid}", method=RequestMethod.GET)
> public  String getUser(@PathVariable String userId) {
>   // implementation omitted...
> }...
>
> ....
>
> Is there something similar in WicketStuff or in any other project that
> allows us to map the methods of a custom resource in a similar way?
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: 
> users-unsubscribe@wicket.**apache.org<[email protected]>
> For additional commands, e-mail: [email protected]
>
>

Reply via email to