Results 1 to 2 of 2

Thread: Shared Services WAR deprecation with RFC-66 web bundles ?

Hybrid View

  1. #1

    Default Shared Services WAR deprecation with RFC-66 web bundles ?

    I've been looking over the new web bundle structure (RFC-66) and I'm noticing -- at least from the projects I have -- its identical to a shared services WAR.

    * Classes are loaded from /WEB-INF/classes
    * It requires a web.xml configuration file inside /WEB-INF/
    * All other standard config files (applicationContext.xml.servlet-*) are read from /WEB-INF/
    * It requires a .war extension to be deployed.
    * No addition of ( osgi-context.xml or module-context.xml) inside a bundle's /META-INF/ dir.

    Am I missing something or are web bundles(RFC-66) identical to shared services WAR's?

    Could anyone point out the differences ? And if there aren't any, will the concept of 'shared services WAR' eventually be dropped just in favor of web bundles? For a three step migration path (WARs->shared lib WARs-> web bundles?)

  2. #2
    Join Date
    Oct 2008
    Posts
    493

    Default

    No, you're not really missing anything

    RFC 66 provides support for both shared library WARs and share services WARs, i.e. RFC 66 will turn a WAR file into a bundle which can import packages (shared library) and services (shared services) from other bundles.

    The migration path used to be WAR -> shared library WAR -> shared service WAR -> dm Server Web module. It's now become WAR -> shared library WAR -> shared service WAR with the shared library and shared service WAR support being provided by the RFC 66 reference implementation. The best way to think of a Web bundle is as an umbrella term for both shared library and shared service WAR files.

    We've updated the programmer guide recently to describe some of these changes, and the dm Server extensions to the RFC 66 RI. Until dm Server M3 is released, you'll have to download a nightly build to get the latest documentation. If things aren't clear from the docs, please let us know so that we can update them.
    Andy Wilkinson
    SpringSource

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •