Oracle Weblogic AS(WebLogic Server:10.3.4.0)上的应用程序部署提示
我需要在单个 WLS 节点中管理如下堆栈:
---------- 1 级 -----------
应用A:
它是 TCP 流缓冲区的侦听器 =>它(几乎)永远不会改变
---------- 2 级 -----------
应用B:
它具有将不同的 TCP 流路由到第 3 级中的各种应用程序模块的逻辑(基于 TCP 流中的模式)==>它根据配置而不是重新部署而变化
---------- 3 级 -----------
应用程序 C、D、E...:
它们包含在 Java Bean 中转换原始 TCP 字节的逻辑。每个应用程序管理自己的数据包,并且相对于同一级别的其他应用程序而言是独立的。
要求是:
- 我可以更新第 3 级的每个应用程序,而不影响其他模块
- 我必须在应用程序 B 和每个第 3 级应用程序中的入口类之间具有可见性(例如 Class.forName())
您建议采用哪种部署架构?
此致
I have a requirement to manage in a single WLS node a stack like this:
--------- Level 1 -----------
Application A:
It's a listener of TCP streaming buffers => it (almost) never changes
--------- Level 2 -----------
Application B:
It has the logic to route different TCP streams to various application modules in level 3 (based on patterns in the TCP stream) => It varies upon configuration and not redeployment
--------- Level 3 -----------
Application(s) C,D,E...:
They contain logic to transform raw TCP bytes in Java Beans. Each Application manages its own packets and is standalone respect to the other applications at the same level.
The requirement are that:
- I can update each Application at level 3 without affecting the other modules
- I must have visibility between Application B and an entry class in each Application at level 3 (such as Class.forName())
What kind of deployment architecture would you suggest?
Best Regards
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果第 3 级的每个应用程序都是独立的,但仍然必须具有公共类加载器(以及第 2 级的共享库),我建议:
为第 2 级创建公共 JAR/EAR 并将其部署为共享库,如此处所述。
http://download.oracle.com/docs/cd /E11035_01/wls100/programming/libraries.html#wp1071514
如果多个应用程序第 3 级有共同的东西,并不意味着是独立的模块,将它们捆绑到一个 EAR 中,否则将它们保留为独立的 JAR
If each App at level 3 is independent but still has to have common classloader (and share libraries of level 2), I suggest:
Create common JAR/EAR for level 2 and deploy it as a shared library as described here.
http://download.oracle.com/docs/cd/E11035_01/wls100/programming/libraries.html#wp1071514
If the multiple apps at level 3 have stuff in common and are not meant to be independent modules, bundle them into a single EAR else keep them as independent JARs