Keeping the notion of a SOA in mind, my intent is to provide several different services, which leverage the same data model. Imagine a poker application - we may have the following services:
- Game frontend
- Administrative frontend
- Player rank / leaderboard service
- Player finances service
- Bank integration service
- ...
All of these services can leverage the same model (perhaps providing additional model information where neccessary).
In the Play! framework, is it possible for me to externalize this data model, but maintain the benefits we gain from using Play. For example, runtime re-compilation.
Modules seem like they might serve the job, but there is little documentation about them, and the examples given suggest the opposite paradigm - where services are the modules, and the core play application pulls in features.
Any guidance would be appreciated.