Deploy a ratpack application to a war file

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Deploy a ratpack application to a war file

salrodloy
Hi,

I was wondering if there is a way to deploy an application to a war file?

Thank you
Salvador
Reply | Threaded
Open this post in threaded view
|

Re: Deploy a ratpack application to a war file

danhyun
Ratpack does not implement the Servlet API, however you are free to start Ratpack inside of your servlet application and have it bind to a different port. Just make sure that when you shut down your web app to also gracefully shutdown the Ratpack application.
Reply | Threaded
Open this post in threaded view
|

Re: Deploy a ratpack application to a war file

salrodloy
Thank you very much for your quick response Danhyun, I would like to try this option, Do you know if there are examples that I could use as reference?