springesbspring-dm

Why using Spring DM?


1/ did Spring DM is very used now on Enterprise Applications ? what are the benefits of this framework and why it seem like a dead technology

2/ I'm working on a Spring Application , I want to do it as an SOA and i don't know if spring DM will be useful for me.

3/ I have another question , we can integrate an open source solution ESB with Spring ? what's the best choice for ESB.

Thanks !


Solution

  • 1) Spring DM is mostly abandoned by Spring, as well as OSGI support. See this key quote from the Spring creator in this important interview on the subject:

    We have changed our views on OSGi over the years, and one of the reasons for that is that OSGi simply cannot be made as easy to use and as productive as we feel is consistent with Spring values.

    See also SpringFramework Removes OSGi Metadata in Move to Gradle

    2) and 3) try to use Spring Integration or Apache Camel, which is well integrated with Spring. Both allow to have ESB like functionality embedded in a normal WAR application, so no need for a separate ESB server.