Properties for dev and production

前端 未结 4 821
天涯浪人
天涯浪人 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 17:51

    Put the information you need in JNDI - that's what it is designed for.

    Consider letting your application refuse to do anything if the information is not there.

提交回复
热议问题