The Sling Launchpad has been edited by Felix Meschberger (Jan 18, 2009).

(View changes)

Content:

The Sling Launchpad

This tries to explain how exactly the Sling Launchpad works, what constitutes the Sling Launchpad and how you can use the Sling Launchpad to custom create you Sling launchers.

Components

The Sling Launchapd consists of Launchbad Base project and three additional projects which ultimately create a Standalone Java Application and a Web Appliction with standard parts of Sling.

Launchpad Base

The Launchpad Base projects creates the following artifacts, which are required in actual setups to get a Sling application:

  • Launcher JAR – The primary artifact of the Base project contains the actual support to launch the Apache Felix OSGi Framework and install bundles, which are packaged with the application. It also contains the Apache Felix Framework together with the OSGi R4.1 Core and Compendium libraries as well as the Equinox HttpService bridge and the Servlet API.
  • App JAR – The secondary artifact with classifier app is a minimal Standalone Java Application which may be started by simply typing
$ java -jar org.apache.sling.launchpad.base-app.jar

  • Web App Archive – The secondary artifact with classifier webapp is a minimal Web Application, which may simply be deployed into your favirourite servlet container, provided it supports at least Servlet API 2.4.
  • Source JAR – The secondary artifact with the classifier sources is simple the source of the Launchpad Base project.

To build a very basic Sling launcher, the Launchpad Base is actually all you need. But to really glue this together and get a usable system, some more work is required. Lets see how the additionaly projects Launchpad Bundles, Launchpad App, and Launchpad WebApp get to that.

Launchpad Bundles

The second project we want to look at is the Launchpad Bundles project. This is a very simple project in that it only collects together a number of OSGi bundles, which will make up the final application. The bundles are stored in a (big) Java Archive.

Launchpad App and Launchpad WebApp

Reply via email to