0 Replies Latest reply on May 1, 2008 6:13 PM by scott duke

    Setting Properties

    scott duke Novice

      I know this is more of a general seam subject, but would like to find out from others which would be the best direction to handle a properties file.


      I am wanting a properties file which would be loaded when the application server is started. The information within this file would contain things like: company name, phone number, company image logo, upload directory path, etc.


      I've thought about storing this information within the database or properties file. I did some research on java.util.Properties and then saw ResouceBundle handles internationalization.


      My question is, which way would be the best/preferred way of handling what I am wanting? Also, I saw in the Seam doc Deploying Custom Resources and wondered if this would be the correct place to load the information during startup?


      Thanks,
      Scott