Ok. I've looked it over and the question I have is doesn't this approach put you outside the Restlet API? And, would it be better to just create Restlets instead of Resources? The way I understand the document is that Resources get loaded every time, but Restlets are loaded once? Is this correct?

Justin Makeig wrote:
Justin S.,
Take a look at some of the Spring integration that other folks have done. (Substitute "IoC framework" for "Spring" and you'll get the idea.) You can find my Spring-based solution at <http://article.gmane.org/gmane.comp.java.restlet/2943>. It overrides the Finder's createResource method to create (request-scoped) Resources using Spring.

Justin M.



--
Justin Stanczak
Stanczak Group
812-735-3600

"All that is necessary for the triumph of evil is that good men do nothing."
Edmund Burke

Reply via email to