When are the resources defined in the context.xml file created? Is this when the application starts up or is it when you call the lookup () method on a specific resource?
Sorry if this is a stupid question, I have been looking for a while and cannot find a definite answer.