>> "Jon" == Jon Stevens <[EMAIL PROTECTED]> writes:

    Jon> You could implement a Singleton based Service. This is what
    Jon> Turbine did. It has an entire Service framework for dealing
    Jon> with exactly this problem. It takes care of startup and

That's a good idea. I already made a Servlet now (which I also use as
the management servlet for my application, also spawning a thread for
some scheduled actions and controlling that thread(s)), but I might
put the ConnectionPool in a Singleton instead.

    Jon> destroy. There is also a very good JDBC connection pool
    Jon> included with Turbine, however, it isn't strictly J2FooEE so
    Jon> you may have to fight those pointy haired bosses who only
    Jon> regurgitate what they read in magazines.

Heh, at the moment I have no boss. I have to get as much work done
before the next one comes :)

    Jon> <http://jakarta.apache.org/turbine/>

I'll have a look at turbine, thanks.

-- 
Peter Mutsaers  |  D�bendorf    | UNIX - Live free or die
[EMAIL PROTECTED]      |  Switzerland  | Sent via FreeBSD 4.3-stable

Reply via email to