문제

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?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top