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
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
Rhett Sutphin rhett at detailedbalance.net writes:
Hi Brian,
On Mar 6, 2008, at 10:04 AM, Brian Donnovan wrote:
thanks for the hint, i will try it that way!
just one thing, i looked at the springresource class and it seems to
not have
much in common with the original resource
Rhett Sutphin rhett at detailedbalance.net writes:
The way I handle this is to do internal configuration of the resource,
including setting variants, in the init method. For example:
@Override
public void init(Context context, Request request, Response
response) {
4 matches
Mail list logo