 | Level: Intermediate Michael Galpin (mike.sr@gmail.com), Developer, Adomo, Inc.
01 May 2007 Packaging your application as an Apache Geronimo plug-in makes it easy for
other Geronimo users to install and use your application. In this tutorial, learn
how to use Geronimo's plug-in system to package and distribute your application by
building and testing a simple Web application, packaging it, and distributing it as
a Geronimo plug-in.
Objectives
Learn how to create a
plug-in by creating a simple Web application and then exporting it as a Geronimo
plug-in.
Prerequisites
This tutorial demonstrates how to build a simple Java Web application, so you
should be familiar with Java servlets, JavaServer Pages (JSP), and Java Tag
Libraries. Everything here is built on Geronimo 1.1, so familiarity with
Geronimo — especially its console application — is helpful too.
System requirements
You need the following tools to follow along with this tutorial:
-
Geronimo 1.1 with Tomcat
— The Web application in this tutorial was built using Geronimo with Tomcat.
It should also work with Geronimo with Jetty, as everything is standard Java
Platform, Enterprise Edition (Java EE). Everything should also work fine with
Geronimo 2.0.
-
Java 5 or
Java 6 — The Web
application in this tutorial uses generics and annotations. It was developed
using Java 6 but also tested against Java 5.
-
Apache Jakarta implementation of Java Standard
Tag Library (JSTL) 1.1
— Geronimo 1.1 is a certified Java 2 Platform, Enterprise Edition (J2EE) 1.4
implementation, so you'll want to use JSTL 1.1.
-
RSSUtil
— This an open source library for working with RSS feeds provided by Sun
Microsystems.
-
Eclipse — The sample Web
application is built using Eclipse, as you'll see from the screen captures.
-
Eclipse Web Tools
Project (WTP) plug-in
— What would a tutorial about plug-ins be if it didn't use plug-ins? The WTP
plug-in is used to build the sample Web application. Again, this isn't a
requirement; it just makes things a little easier. The WTP plug-in requires a
couple of other plug-ins, but those can be downloaded and installed as part of
the WTP installation.
-
Eclipse Geronimo plug-in
— This is a plug-in that makes the WTP plug-in aware of Geronimo-specific
features.
To view the demos included in this tutorial, JavaScript must be enabled in your browser and Macromedia Flash Player 6 or higher must be installed. You can download the latest Flash Player at http://www.macromedia.com/go/getflashplayer/.
Duration
Under 2 hours
Formats html, pdf
|  | |  |