开发者

How to deifine a JNDI resource

开发者 https://www.devze.com 2023-04-03 22:21 出处:网络
how to define a JNDI resource on jboss 5? My web application require a String value retrieved from the application server, on Tomcat I simply define my resource as string with value \"mystr开发者_JA

how to define a JNDI resource on jboss 5?

My web application require a String value retrieved from the application server, on Tomcat I simply define my resource as string with value "mystr开发者_JAVA技巧ing" but how can i do the same on jboss in which file?


By calling a command in the application server; for example in Glassfish you can do it by calling create-custom-resource: http://docs.oracle.com/cd/E26576_01/doc.312/e24928/jndi.htm#giowe .

0

精彩评论

暂无评论...
验证码 换一张
取 消