[jboss-user] [Installation, Configuration & Deployment] - Re: how to start heavy initialization tasks during container

memema do-not-reply at jboss.com
Thu Nov 30 09:32:39 EST 2006


I have the same problem:

I want to initialize a connection to a DB at startup, and close it when the container shuts down.

I need to do it programmatically, thus I can't specify it in the xml descriptors.

How should I do this?

Thank you!

Regards, Meme

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990055#3990055

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990055



More information about the jboss-user mailing list