Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Build an Apache Geronimo plug-in

Speed development using the Geronimo Eclipse plug-in

Michael Galpin (mike.sr@gmail.com), Developer, Adomo, Inc.
Michael Galpin's photo
Michael Galpin has been developing Java software professionally since 1998. He holds a degree in mathematics from the California Institute of Technology and currently works at Adomo, Inc.

Summary:  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.

Date:  01 May 2007
Level:  Intermediate PDF:  A4 and Letter (4955 KB | 46 pages)Get Adobe® Reader®

Activity:  5331 views
Comments:  

Before you start

This tutorial is for Java™ developers who want to learn about Apache Geronimo's plug-in feature. You'll see how easy it is to not only install a Geronimo plug-in, but also to build your own.

About this tutorial

Plug-ins have become a fixture in the world of software. They allow developers to deliver specialized features while working on top of an established platform. This paradigm has been brought to the world of application servers by the Apache Geronimo application server. In this tutorial, you'll 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.

1 of 9 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Open source, Java technology, WebSphere
ArticleID=216498
TutorialTitle=Build an Apache Geronimo plug-in
publish-date=05012007
author1-email=mike.sr@gmail.com
author1-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.