Hello everyone, I need to access a (thread safe) persistent object from my xmlrpc servlet. I am currently using the ServletWebServer with ws-xmlrpc 3.0, I have noticed that a class specified in the XmlRpcServlet.properties will get initialised each time an xml-rpc request is made to it - is it possible to initialise some before objects and pass them to all my servlets init() method?
In short: what is the easiest way to allow the servlet classes to access persistent objects and are there any examples? I would ideally like to be able to reuse a pool of existing database connections, which (in my mind anyway) would appear to be a fairly common task for an xml-rpc based server. As the concept of spawning a new db connection for each xml-rpc request is incredibly inefficient. Thanks, Iain.