简体   繁体   English

JBOSS EAP 6.2子模块

[英]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.

相关问题 将JBoss EAP 4.2从Java 1.5迁移到Java 1.8? - Migration JBoss EAP 4.2 from java 1.5 to java 1.8? JBoss EAP 7.2.0 中 WAR 文件部署的控制顺序 - Control order of WAR file deployment in JBoss EAP 7.2.0 无法向 JBoss EAP 7.2 中嵌入的远程 ActiveMQ Artemis 发送消息 - Unable to send message to remote ActiveMQ Artemis embedded in JBoss EAP 7.2 当JBOSS EAP启动时,Spring启动webservice并可被发现 - Spring boot webservice to start and be discoverable when JBOSS EAP starts 为什么@GZIP 没有在 jboss7.1.0 eap 中返回响应 - Why @GZIP is not returning response in jboss7.1.0 eap 今天可以在Wildfly8部署下等待下一个JBoss EAP发布吗? - Is it ok to deploy today with Wildfly8 waiting for the next JBoss EAP to be released? 在Ubuntu中运行的JBoss EAP 6.1.0是否与Java JDK 8兼容 - Is JBoss EAP 6.1.0 running in Ubuntu compatible with Java JDK 8 通过Jboss EAP 6.4上的JNDI进行远程EJB查找 - Remote EJB Lookup via JNDI on Jboss EAP 6.4 同一应用程序在两个不同的机器jboss EAP 7.0上显示不同的行为 - Same application showing different behavior on two different machine jboss EAP 7.0 为什么从 JBoss7.1.0EAP 到 Oracle11g 生成了 100 个幽灵 Oracle 会话 - Why 100 of ghost Oracle sessions are getting generated from JBoss7.1.0EAP to Oracle11g
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM