Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

On the surface, both the modules and apps associated with publishing and activation do  serve the same thingpurpose: publish content from an author instance to a public instance:

The Nevertheless, the internals of this process are , however, different:


  • Publishing is a refactored version of activation. The original Activation module has been broken into multiple submodules, see the module structure. The driving decision was to have a set of maintainable Publishing is a refactored successor to the activation. 

    Activation module has been refactored and split into multiple modules.

    Driving reason for the activation rewrite was to split activation into set of maintanable and extensible components. Another reason was to remove deprecated code usages. Base The core activation concepts remained unchanged. Transport remain the same. Despite the transport layer is still using the HTTP protocol. However new , publishing implementation allows to easily plug in any type of transport layer.
    The new publishing implementation also allows you to define and use custom publishing operations with which you can publish content to something that is not a Magnolia public instance, for example to a custom API or a Content Delivery Network.

...

Upgrading from activation to publishing

The bundles and webapps in the 5.6 branch are shipped with publishing by default. If you are migrating from a pre-5.6 Magnolia branch and intend to replace activation with publising, use publishing, please see the Publishing vs Activation and custom commands section on the Upgrading to Magnolia 5.6.x page.

Replacing publishing with activation

Using activation is still possible, but only after replacing the Publishing module and the Publishing Transactional module with the Activation module and the Transactional Activation module, respectively. You can do this in two ways:

  • Remove all the publishing JARs from the ../WEB-INF/lib folders of your author and public instances. Add the activation JAR files in their place.
  • Exclude the publishing dependencies from the POM and add the old activation dependencies.