You could deploy a web application in a web- or application-server. Or you could even deploy directly in an OSGi container such as Equinox. However, deploying in the SpringSource Application Platform offers a number of key benefits that make it suitable for enterprise application development.
While many using the SpringSource Application Platform will take advantage of OSGi capability, not all applications need such sophistication. Further, some applications may want to migrate to full-power OSGi only over time (as we will discuss in Chapter 7, Migrating to OSGi). Consequently, some applications may choose to stay as simple WAR deployments. The SpringSource Application Platform can deploy a number of different styles, from a simple WAR to a full blown set of OSGi bundles.
Developing and deploying OSGi applications involves inherent complexity such as:
Import-Package directives. Many of the applications use a set of
common technologies (an ORM solution, a web framework, etc.). Combining these
two characteristics leads to repeated and long Import-Package statements.
The platform introduces a number of features to solve these issues:
Import-Package statements.
Identifying why an application won't deploy, or which particular library dependencies are unsatisfied is the cause of many headaches! Similarly, production time errors that don't identify the root cause are all too familiar to Java developers. The Platform was designed from the ground up to enable tracing and First Failure Data Capture (FFDC) that empower developers with precise information at the point of failure to fix the problem quickly.
![]() | Commercial SpringSource Application Platform offering |
|---|---|
The commercial version of SpringSource Application Platform offers additional capabilities such as instrumented versions of platform libraries that enable in-depth monitoring of deployed applications. See SpringSource for more details. |