I am deploying a java application on JBoss 7.1. I have two options to place my application properties. I can place application.properties in the java application or in standalone.xml ( in system-properties tag). Let me know which is the best practice to keep the application properties.
I think that depends on the scope.
If it is a property which should only be set by developers I would pack that into the application.
If it should be possible to change it for each deployment you should use a appropriate default if the property is not set and allow it to set it in the server configuration.