Chapter 13. Writing Play Plugins
In order to make our applications manageable, we break them down into independent modules. These modules can also be extracted into individual projects/libraries.
A Play plugin is nothing but another module with an additional ability—of binding tasks before starting, on starting and/or stopping a Play application. In this chapter, we will see how to write custom plugins.
In this chapter, we will cover the following topics:
- Plugin definition
- Plugin declaration
- Exposing services through plugins
- Tips for writing a plugin