[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster-devel] Container architecture (was:LOCAL not working?)



Yea, its really looking nice. However, I think the best bet is the nano
container with its JMX support.

I could write a lot about this, but am in a little bit of a hurry now.
The ideal container architecture think would be one that combines loc 2
with loc3 (loc 2.5), where a components dependencies (on other
components/services) should be handled through the constructor. But
where configuration (such as portnumber, timeouts and whats more) should
be set as attributes ala JBoss/JMX.

//Peter
On Thu, 2003-09-18 at 18:23, Michele Laghi wrote:
> Peter Antman wrote:
> > 
> > I generally think that XmlBlaster have a problem with lookups and
> > naming: that has been strapped into the Global, but also makes these
> > stuffs tightly coupled to each others.
> > 
> > Even more generally: I would love to see a new/other container
> > architecture for XmlBlaster, based on the IoC(3) pattern, and/or JMX
> > (http://www.picocontainer.org/)
> > 
> > I was planning to test such a revision, but sort of stumbled on all the
> > different behaviours of the plugins (some are plugins, some are
> > factories, and some are dynamicly configured factories....)
> > 
> 
> I had a look at the picocontainer and at a first glance it seems pretty 
> strightforward to use.
> 
> Michele
-- 
------------------------------------------------------------
Peter Antman	Chief Technology Officer, Development
Technology in Media, Box 34105 100 26 Stockholm
WWW: http://www.tim.se	WWW: http://www.backsource.org
Email: pra at tim.se	 
Phone: +46-(0)8-506 381 11 Mobile: +46-(0)704 20 58 11
------------------------------------------------------------