Reputation: 18639
I have RESTful Play Framework web service written in Java.
Is it possible to deploy any code change on production server without restarting application?
The application is started by ./start
script created with command
play clean compile dist
Upvotes: 0
Views: 332
Reputation: 21564
If your application is really stateless, you can achieve this using an HTTP frontend, and 2 instances of your Play app (the old version, and the new one).
The HTTP frontend acts as a load balancer between the two instances, for more information, take a look at the doc: http://www.playframework.com/documentation/2.1.x/HTTPServer
Upvotes: 3