ESB 可以并行提供 EJB2.0 和 EJB3.0 接口吗?
今天收到一封邮件,宣布某服务将从EJB2.0迁移到EJB3.0,并且不再支持EJB2.0接口。但由于我们使用的是企业服务总线,我想知道为什么他们不并行提供这两个接口。理论上,ESB 以独立于技术的方式提供服务。
是否可以创建 EJB3.0 服务并添加 EJB2.0 适配器而无需额外编码?
Today I received an email, which announced that a service will be migrated from EJB2.0 to EJB3.0 and the EJB2.0 interface won't be supported further. But as we're using an Enterprise Service Bus, I was wondering why they don't provide both interfaces in parallel. In theory an ESB makes a service available in a technology independent manner.
Is it possible to create an EJB3.0 Service and add an EJB2.0 adapter without extra coding?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
ESB 旨在为您提供这些功能。它使您无法看到服务实施者所做的更改。
如果服务的接口发生变化,您需要添加一个中介组件,将旧接口映射到新接口,并为使用 ESB 服务的客户端应用程序提供相同的旧接口。
HTH
曼格鲁
The ESB is meant to provide you these features. It hides you from the changes made by the service implementers.
If the interface to the service changes, you need to add a mediation component which maps the old interface to new interface and provides the same old interface to the client application using the services of ESB.
HTH
Manglu