HI David, You should be able to start zookeeper from your web app. Please take a look at src/java/test where we startup zookeeper servers in the test cases as part of junit testing.
mahadev On 4/16/09 6:38 AM, "David Pollak" <feeder.of.the.be...@gmail.com> wrote: > Howdy, > I'm working on a project of which ZooKeeper is a module. > > For production mode, having a separate ZooKeeper instance/cluster is fine, > but in development mode, I'd really like to have ZooKeeper start as part of > my web app so there's no external dependency/startup/thing to think about. > Is it possible to start ZooKeeper programatically from inside my web app? > > Thanks, > > David