Chapter 9. Configuration, build, and deployment

This chapter covers

  • Application configuration and environments
  • sbt builds and working with plugins
  • Deploying as a web archive
  • Deploying as a standalone distribution
  • Running a Scalatra application as a Docker container

This chapter discusses topics related to configuring, building, and running an application. In section 9.1 you’ll learn how to provide configuration to an application and how to work with application environments. Section 9.2 covers defining the sbt build and employing sbt plugins.

Once you’ve built your application, you’ll need to know how to deploy it and make it available to the public. The next two sections provide a gentle introduction to the mysteries of JVM deployments, ...

Get Scalatra in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.