+1 :) I'm a fellow ActiveMQ hacker too and would love to see ZK included with ActiveMQ. Dependency Injection can really help keep your code simple but leaving it flexible so it can be used in many different ways.
Here's some links on DI http://martinfowler.com/articles/injection.html http://www.theserverside.com/tt/articles/article.tss?l=SpringFramework 2008/7/18 Hiram Chirino <[EMAIL PROTECTED]>: > Hi Guys, > > First off, great project! I think ZooKeeper is a fabulous idea. I > can see folks wanting to embedd ZK servers in their products too. I > could see the ActiveMQ project embedding it for several reasons. And > with that in mind, I think it would be awesome of ZK tried to use > more dependency injection (DI) to configure it's objects. That way > and embedding project could directly configure it with java code, or > use Spring or Guice etc. etc. > > If you guys are interested in supporting this use case, I'd be happy > to start contributing patches to make that happen. > > -- > Regards, > Hiram > > Blog: http://hiramchirino.com > > Open Source SOA > http://open.iona.com > -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com