Ratpack has the ratpack.server.Service interface with the methods onStart and onStop. If we write an implementation class for the Service interface and register it with the Ratpack registry, then Ratpack will invoke the onStart method when the application starts and … Continue reading
The post Ratpacked: Execute Code On Start and Stop Application Lifecycle Events appeared first on JDriven.