Hi Brian,

you can manage Restlets and (Restlet-) resources with the org.restlet.ext.spring extension in a spring context. Use this classes (SpringComponent, SpringResource ...) as your base classes and it is simple to configure them with Spring and use it's dependency injection mechanisms.

cheers
Flo


Brian Donnovan schrieb:
Hi everyone,
i´m trying to setup restlet with spring, i´m wondering, what is the best
practise with restlet resources? from my resource (eg. UserResource) í try to
retrieve the requested data from a db, so what i´m trying to figure out is,
whether its possible to manage the resources in spring context (in order to
inject a managed UserManager) and finally to attach them somehow to the
router/uris !??

couldn´t find anything on that, any suggestions ?

thanks

brian


Reply via email to