title: Properties for dev and production
body: <p>I have a GlassFish/j2ee application, and I develop on one box, and production is a remote box.
  I have a function that makes files, and I need the files' location to be different based on my dev box or production.
  What is an automatic way to do the switching so I do not have to edit the source file based on where it is being deployed?</p>