A Guide to the GreenPages Sample

Abstract

Spring application programmers are introduced to Virgo by installing the Virgo Tomcat Server and building and running a small application called GreenPages.

Despite its simplicity, GreenPages is designed to demonstrate many different Virgo features and to act as a template from which other modular applications can be built. This guide highlights areas of interest in the sample code.

This version of the guide is based on the following software versions:

GreenPages Sample2.5.0.RELEASE
Virgo Tomcat Server3.0.2.RELEASE
Apache Maven2.2.0

Copyright © 2011 VMware Inc.

All rights reserved. This document is made available under the terms of the Eclipse Public License v1.0 which is available at http://www.eclipse.org/legal/epl-v10.html.

Java, Sun, and Sun Microsystems are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries.

OSGi is a trademark or a registered trademark of the OSGi Alliance in the United States, other countries, or both.

Eclipse is a trademark of Eclipse Foundation, Inc.

UNIX is a registered trademark of The Open Group.

Windows is a registered trademark of Microsoft Corporation in the United States and other countries.


Table of Contents

1. Installing Pre-requisites
1.1. Installing a JDK
1.2. Installing Virgo Tomcat Server
1.3. Installing the Eclipse Tooling
1.4. Installing Apache Maven
2. Installing and Running GreenPages
2.1. Introduction
2.2. Obtaining GreenPages
2.3. Building and Installing GreenPages
2.4. Browsing the GreenPages Application
2.5. Running GreenPages from Eclipse
3. GreenPages Highlights
3.1. Web Application Bundle Highlights
3.2. Middle Tier Highlights
3.3. Testing Highlights
3.4. Automated Build Highlights
A. Further Resources
A.1. Projects
A.2. Documentation