Vincent Massol wrote:
Looks good in general.
Just making sure: is createApplication() and hence the code above
executed only once?
Got a reply on the Restlet mailing list:
1) XWikiRestletServlet.createApplication is called only once.
2) XWikiRestApplication.createRoot is called only once.
3) XWikiResources should be instantiated at every request.
I've refactored the whole thing in order to take into account this.
-Fabio