You can even store these jndi context properties in a properties file (the standard name is jndi.properties) and then modify them without having to change (and recompile and re-JAR) any code at all.
您甚至可以在属性文件里保存这些jndi上下文属性(标准名称为jndi . properties)。然后,不用再对代码做任何的变动就可以修改这些属性了。
You can even store these jndi context properties in a properties file (the standard name is jndi.properties) and then modify them without having to change (and recompile and re-JAR) any code at all.
您甚至可以在属性文件里保存这些jndi上下文属性(标准名称为jndi . properties)。然后,不用再对代码做任何的变动就可以修改这些属性了。
应用推荐