What's the module name if deploy jdbc in Jboss AS 7 as web application

后端 未结 1 1688
暖寄归人
暖寄归人 2021-01-16 17:26

From this post start from Jboss AS7 the jdbc driver is able to deploy as regular application. However a question is, how other application is able to refer to this jdbc jar?

1条回答
  •  广开言路
    2021-01-16 18:24

    You can reference the jars from other deployments in this way:

      
    

    Where deployment is the general prefix for a reference to your deployed apps. However, for a lib like a jdbc-driver I recommend to put it in the module-folder of the JBoss

     
    
    
              
    
    
     
    

    and reference it then

      
    

    See also https://community.jboss.org/thread/169894 and http://www.mastertheboss.com/jboss-as-7/how-to-install-a-module-on-jboss-as-7

    0 讨论(0)
提交回复
热议问题