Versions Compared

Key

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

...

Note

This plugin is only experimental and hasn't been released yet. It is not ready to be used in production applications.

Demo

This simple demo contains an empty web application and a bundle jar with 2 actions that use FreeMarker, Velocity and Spring. To use it install the war file struts2-osgi-demo-1.0-SNAPSHOT.war in your server and navigate to: http://localhost/struts2-osgi-demo-1.0-SNAPSHOT/Image Added.

The Struts 2 OSGi plugin

Excerpt

leverages OSGi to allow Struts 2 applications to be divided into multiple jars (bundles) and managed at runtime

. It allows you to separate your application into jars (called bundles), each containing a struts.xml file, Action classes, and Velocity (for now) files.

...