开发者

META-INF/context.xml file for Tomcat and Glassfish

As you know we can manage our JNDI lookup resources with a file named context.xml in our meta-inf when we are deploy the war module on Tomcat.

But what we can do the same thing in Glassfish? How to write our JNDI lookup config in our project not directly in glassfish context files? because I dont want to depend on app-server I want to have the project's config inside the proje开发者_StackOverflowct.

RGDS


Have a look at sun-web.xml. This is GF-specific war deployment descriptor which, among other options, allows to define and override JNDI lookups.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜