I coded a Java application (actually an Apache Camel application) that I package as a jar file. It's an executable program (not a library). I am wondering where is the appropriate place for such jar application on my production Unix system, /usr/local/name-of-the-app/, /usr/local/bin/name-of-the-app/, /opt/name-of-the-app/?Also this application relies on some property/configuration file (containing for instance database credentials, API keys, etc.), should this file be in /etc/name-of-the-app/config.properties?
Appropriate directory for my own jar applications, and their configuration
java;directory structure