Book Image

Apache Geronimo 2.1: Quick Reference

Book Image

Apache Geronimo 2.1: Quick Reference

Overview of this book

Apache Geronimo is a robust, scalable, secure, and high-performing application server. But like all application servers, this power comes with a steep learning curve. This book can help you save your time and get working with Geronimo in matter of a few hours. This book is a quick-reference guide to Apache Geronimo that mitigates the starting pains that most developers have when they migrate to a new Application Server. It will help you to extend and amplify your existing development skills, empowering you to build new types of applications regardless of the platform or browser. The book will introduce you to the exciting features of Apache Geronimo Application Server. You will see how easily you can develop and deploy Java EE 5 applications on Geronimo. It covers everything from downloading the server to customizing it using custom GBeans. By following the practical examples in this book, you will be able to develop applications quickly using Geronimo Eclipse Plugin. The book covers Geronimo internals in detail, which helps you write custom services on Geronimo. Also, it helps you to gain a deep understanding of Geronimo plugin architecture and teaches you to extend your server functionality via plugins. By the end of the book, you will develop proficiency in Geronimo and Java EE 5 application development.
Table of Contents (21 chapters)
Apache Geronimo 2.1
Credits
About the Authors
About the Reviewer
Preface

Developing an application in GEP


We will now go through the steps that are involved in developing an enterprise application using the Geronimo Eclipse Plugin. We will use Java EE components from an existing sample application for our convenience, namely LibraryApp, which we saw in Chapter 5. The steps are as follows:

  1. 1. Firstly, we will need to create the project in Eclipse. For doing this, right-click on the project explorer tab on the left-hand side of the workbench, and select New | Enterprise Application Project. This will bring up the EAR Application Project window, as shown in the next screenshot:

  2. 2. Enter the Project name as LibraryApp, and click on Next. The next screen that comes up shows the Java EE Module Dependencies. This is shown in the following screenshot:

  3. 3. Click on the New Module button to bring up the Create default Java EE modules window, as shown in the next screenshot:

  4. 4. Deselect the Create default modules checkbox to get options to create specific modules. By default...