Chapter 12. Play in Production

Application deployment, configurations, and so on are slightly different in a production environment since it is affected by various factors, such as security, load/traffic (which is expected to handle), network issues, and so on. In this chapter, we will see how to get our Play application up and running in production. This chapter covers the following topics:

  • Deploying an application
  • Configuring for production
  • Enabling SSL
  • Using a load balancer

Deploying a Play application

A Play Framework provides commands to package and deploy Play applications in production.

The run command, which we used earlier, starts the application in DEV mode and watches the code for changes. When there is a change in the code, the application ...

Get Mastering Play Framework for Scala now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.