Maybe you could initialize the connection after startup of your app?
If you want to reuse the same connection within one request, you can store that connection in a static ThreadLocal variable, that will make it available in all java actions started from the same thread (request)