[英]JBOSS EAP 6.2 submodules
I am going through a rough time implementing my design. 我正在艰难地实施我的设计。 Basically it is a web service which has 3 layers.
基本上,它是一个具有3层的Web服务。 Interface, Business logic and Back end connection service.
接口,业务逻辑和后端连接服务。 I need to refer a jar file in module by another module jar.
我需要通过另一个模块jar引用模块中的jar文件。 Is it possible?
可能吗? and how this can be achieved?
以及如何实现?
If I explain more, there is a modules called "Transactions", "Gateway" and "Utility". 如果我进一步解释,这里有一个名为“交易”,“网关”和“实用程序”的模块。 Both Transactions and Gateway are using Utility.
事务和网关都使用实用程序。 Interface calls Transactions.
接口调用事务。 Then Transactions calls Gateway.
然后事务调用网关。
I am using Java 1.8 and JBOSS EAP 6.2 我正在使用Java 1.8和JBOSS EAP 6.2
Have a look at the class loading documentation (the link is for WildFly, but it works the same in JBoss EAP 6.x). 看一下类加载文档(链接用于WildFly,但在JBoss EAP 6.x中它的工作原理相同)。 You can setup deployment dependencies by referencing the
deployment.Transactions.war
dependency. 您可以通过引用
deployment.Transactions.war
依赖关系来设置部署依赖关系。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.