I am new to Play !, and wrote my first app. This application has a set of URLs that it depends on to retrieve data from and also return valid URLs in XML responses.
This application must run in different environments (Dev, Staging, and Prod), and each environment will require its own set of URLs.
I assume that the place to define this set of URLs is in the application.conf file. However, I do not seem to find out how, and then access them through regular classes.
I do not want to use Framework identifiers as a connected point, since we will use this as a WAR, and it will be easier to have an aplication.conf file instance for each environment.
source share