Properties for dev and production

前端 未结 4 820
天涯浪人
天涯浪人 2021-01-06 17:12

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 diff

4条回答
  •  暖寄归人
    2021-01-06 18:09

    Essentially you are trying to store arbitrary data that changes depending on your environment. If you you currently do that in your app (ie a database) I would just put it in there.

提交回复
热议问题