简体   繁体   English

SpringBoot jars 作为 JBoss EAP 7.0 中的自定义模块

[英]SpringBoot jars as a custom module in JBoss EAP 7.0

I want to create a JBoss EAP custom module for SpringBoot jars and use this custom module across different war deployments in JBoss.我想为 SpringBoot jar 创建一个 JBoss EAP 自定义模块,并在 JBoss 的不同战争部署中使用这个自定义模块。 This execrise is to reduce the size of war files (by removing spring boot jars from war file) as we move all common jars to a custom module.这个 execrise 是为了减少 war 文件的大小(通过从 war 文件中删除 spring boot jars),因为我们将所有常见的 jars 移动到自定义模块。

We want this to do as we have multiple springboot application wars to deploy in JBoss EAP7.0.我们希望这样做,因为我们有多个 springboot 应用程序战争要部署在 JBoss EAP7.0 中。

Is this possible to do in JBoss and SpringBoot?这可以在 JBoss 和 SpringBoot 中实现吗? Please shed some light here.请在这里说明一下。

First of all you have to know that Spring Boot is NOT supported in JBoss EAP.首先,您必须知道 JBoss EAP 不支持 Spring Boot。 It is not recommended to use Spring Boot in Jboss EAP, although it can be packaged in a war deployment.不建议在 Jboss EAP 中使用 Spring Boot,尽管它可以打包在一个 war 部署中。 Running Spring Boot inside a container, may create several conflicts!在容器内运行 Spring Boot,可能会产生多个冲突! For example, a JAX-RS service could be published twice!例如,一个 JAX-RS 服务可以发布两次!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM