|
From: Bill B. <bb...@re...> - 2008-06-03 05:20:23
|
Does this help shed some light? http://wiki.jboss.org/wiki/RESTeasySpringIntegration Ian Butcher wrote: > I am having some trouble connecting the dots. From the JAX-RS Spec > it's clear that normally a new Resource Class is created for each > request. I have convinced myself that the Resource Classes are > something like endpoints or Struts actions; they get their model from > the Provider and the scoping information from the injected annotation > arguments. > > Coming from a Spring and web service background this is where I'd > normally wire in a domain repositories and services. This doesn't > seem to fit the model of having a new Resource Class per request. Can > someone explain the right mental model for this? > > Thanks, > > Ian. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Resteasy-developers mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-developers -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |