Lifecycle Management with Guice Provision Listeners

Typically in a Java web application you will have¬†services with resources which need lifecycle management – at the very least closing gracefully at shutdown. If you’d use a sledgehammer to crack a walnut, there’s Spring, which will do this for you with init and destroy methods.¬†I’ll explain why I dislike Spring in another post. You […]