Re: Design question

2010-02-03 Thread Stanislav Miklik
Hi, I am not so familiar with the implementation of web server, but maybe I have one general hint. You may have consider using singleton pattern, i.e. class that implements XML-RPC methods will forward requests to the singleton that can access directly your initialized objects (also non-static).

Design question

2010-02-03 Thread Lars Schnoor
Hi I am using XML-RPC for a control interface for my application. My application starts a web server which loads the class that provides the XML-RPC methods. I believe that the web server creates a new object of the class that implements the XML-RPC methods each time a XML-RPC method is invoked