如同this SO https://stackoverflow.com/questions/27377533/skinny-wars-with-multiple-spring-boot-wars-into-an-ear-package-and-deploy-to-jbo我正在尝试打包几个WAR
模块集成为一个ear
。我已经能够让每个单独运行WARs
并打包为 EAR。我当前的问题是处理共享的context
。本质上是试图分开RESTful
来自 WS 的 API,但共享底层服务context
.
到目前为止,我能找到的最接近的东西是Spring IO 博客 http://blog.springsource.org/2007/06/11/using-a-shared-parent-application-context-in-a-multi-war-spring-application/;我希望有人能指出我的方向,因为我运气不好。
似乎有很多方法可以通过XML
但没有遇到更多的事情共享上下文 XML https://github.com/balabanmario/ear-with-spring-shared-context
None
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)