You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Lilantha Darshana <Li...@virtusa.com> on 2003/07/21 14:32:05 UTC

[AXIS-C++] AxisEngine should not be a singleton & it needs refact oring.

Hi C++ team,

I guess AxisEngine SHOULD NOT be a class-wide global singleton object. 
Engine configuration should be done for each user sessions. So singleton
objects
restricts this requirement. Please make it not to be a singleton.

It would be better if AxisClient & AxisServer can be derived from the
AxisEngine and
AxisEngine share common functionalities for both. Please refactor AxisEngine
& derive
AxisServer (for now -- and later AxisClient) from AxisEngine so that future
extensions
are easy.

regards
Lilantha


Re: [AXIS-C++] AxisEngine should not be a singleton & it needs refact oring.

Posted by Davanum Srinivas <di...@yahoo.com>.
look at org.apache.axis.EngineConfiguration and  EngineConfigurationFactory
-- dims


--- sanjayasing@opensource.lk wrote:
> What would be engine configuration properties. can you give an example?
> 
> On Mon, 21 Jul 2003 08:32:05 -0400, Lilantha Darshana wrote
> > Hi C++ team,
> > 
> > I guess AxisEngine SHOULD NOT be a class-wide global singleton 
> > object. Engine configuration should be done for each user sessions. 
> > So singleton objects restricts this requirement. Please make it not 
> > to be a singleton.
> > 
> > It would be better if AxisClient & AxisServer can be derived from the
> > AxisEngine and
> > AxisEngine share common functionalities for both. Please refactor AxisEngine
> > & derive
> > AxisServer (for now -- and later AxisClient) from AxisEngine so that 
> > future extensions are easy.
> > 
> > regards
> > Lilantha
> 
> 
> --
> University of Colombo Web-mail Service (http://cmb.ac.lk)
> 


=====
Davanum Srinivas - http://webservices.apache.org/~dims/

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Re: [AXIS-C++] AxisEngine should not be a singleton & it needs refact oring.

Posted by sa...@opensource.lk.
What would be engine configuration properties. can you give an example?

On Mon, 21 Jul 2003 08:32:05 -0400, Lilantha Darshana wrote
> Hi C++ team,
> 
> I guess AxisEngine SHOULD NOT be a class-wide global singleton 
> object. Engine configuration should be done for each user sessions. 
> So singleton objects restricts this requirement. Please make it not 
> to be a singleton.
> 
> It would be better if AxisClient & AxisServer can be derived from the
> AxisEngine and
> AxisEngine share common functionalities for both. Please refactor AxisEngine
> & derive
> AxisServer (for now -- and later AxisClient) from AxisEngine so that 
> future extensions are easy.
> 
> regards
> Lilantha


--
University of Colombo Web-mail Service (http://cmb.ac.lk)