|
From: Claudio B. <roc...@gm...> - 2012-10-30 18:57:47
|
Hi all, I'd like to use the recently added netty support in resteasy to create a standalone web service jar. Dependencies are minimal, the documentation seems pretty good and I was able to produce some interesting prototypes in no time. However I feel stuck by lack of documentation on how to inject dependencies to the service handling objects. Where are these instantiated? Can I access them with spring somehow? Should I simply use a singleton to capture the necessary objects from the spring context, defeat the purpose of using spring in the first place and get stuff done(TM)? Or is there a proper way to do this? Thanks Claudio Bantaloukas |