Yes, it would certainly work. You could have a set-up file, and could use the command-line to tell your program where to look for the set up file. I've done this using JAXB and an XML set up file...