简体   繁体   English

Java分布式架构和版本控制

[英]Java distributed architecture and versioning

Hallo all.

I have a enterprise distributed n-tier architecture written in Java 1.4 (EJB and Web-application). 我有一个用Java 1.4(EJB和Web应用程序)编写的企业分布式n层体系结构。

I have a new business requirement: the enterprise service would handle the versioning. 我有一个新的业务需求:企业服务将处理版本控制。 At first I found that the OSGi service model. 最初,我发现了OSGi服务模型。

Is there any alternative to this model? 这个模型还有其他选择吗?

Kind regards 亲切的问候

Massimo 马西莫

OSGi addresses the loading of dependent modules, allowing the versions of these to be controlled. OSGi解决了相关模块的加载问题,从而可以控制这些模块的版本。 I don't believe that it addresses distributed environments. 我认为它不能解决分布式环境。

Versioning in distributed systems is a wide ranging problem. 分布式系统中的版本控制是一个广泛的问题。 You need to tie down exactly what youa re being asked to do. 您需要准确地要求您做什么。 For example do you need to support parallel running of different versions of a remotely called EJB? 例如,您是否需要支持并行运行不同版本的远程EJB? This is possible but may require some care. 这是可能的,但可能需要注意。 Sometimes folks introduce ESBs to enable transformation between clients expecting one version of a service and implementations offereing a different version. 有时,人们会引入ESB,以实现期望一种服务版本的客户与提供另一种版本的实现之间的转换。

I suggest you explain exactly what you are being asked to do. 我建议您准确解释您被要求做的事情。

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

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