Question

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?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top