O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Apache Geronimo 2.1

Book Description

Develop Java EE 5 applications on Geronimo quickly and easily

  • Gain a deep understanding of the rich set of features provided by Apache Geronimo 2.1.4

  • Develop and deploy your Java EE 5 applications on Geronimo with easy-to-use tooling support

  • Create database pools and establish connectivity with all the supported databases using Geronimo

  • Master the server administration and customize the server with your own plugins

  • Step-by-step instructions with plenty of examples and sample applications

  • In Detail

    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

    1. Copyright
    2. Credits
    3. About the Authors
    4. About the Reviewer
    5. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
    6. Getting Started with Geronimo
      1. Motivation behind the Geronimo project
      2. Constituent projects
      3. Apache Geronimo architecture
      4. Downloading and running Apache Geronimo
      5. Building Geronimo
      6. Contributing to Geronimo
      7. Summary
    7. Geronimo Architecture
      1. Inversion of Control and dependency injection
      2. GBeans
      3. Configurations
      4. Dependencies
      5. High-level architecture
      6. Class loader architecture
      7. Server directory structure
      8. Deployment architecture
      9. Plugins
      10. Summary
    8. Database Connectivity
      1. Database pool scopes
      2. Creating a server-wide database pool
      3. Creating an application-scoped database pool
      4. Creating a client-scoped pool
      5. Editing an existing pool
      6. Importing a pool from another application server
      7. Creating an XA pool
      8. Using a database pool in an application
      9. Summary
    9. JMS Connectivity
      1. Message broker configuration
      2. JMS resource scopes
      3. Creating JMS resources
      4. Using JMS resources in an application
      5. Connecting to a different provider
      6. Summary
    10. Java EE Application Deployment
      1. Deployment of applications
      2. EJB applications
      3. JPA Applications
      4. Enterprise applications
      5. Application clients
      6. JavaMail
      7. Web Services
      8. Transactions
      9. Summary
    11. Security
      1. Overview of security standards
      2. Securing the server directory
      3. Securing the Administration Console, JMX server, and deployer
      4. Securing the embedded Derby database
      5. Cryptographic security
      6. JAAS login modules
      7. Security realms
      8. Application security
      9. Single sign-on (SSO)
      10. Replacing the default security realm
      11. Summary
    12. CORBA
      1. CORBA concepts
      2. Support in Geronimo
      3. Exposing EJBs through CORBA
      4. Referencing EJBs through CORBA
      5. Summary
    13. Naming and JNDI
      1. Application local JNDI context
      2. Global JNDI
      3. Summary
    14. Geronimo Plugins
      1. Developing a plugin
      2. Installing a plugin
      3. Available plugins
      4. Pluggable Administration Console
      5. Plugins portlet
      6. Custom server assemblies and server profiles
      7. Summary
    15. Administration
      1. Administration Console
      2. Web Server administration
      3. JMS server administration
      4. Monitoring the server
      5. GShell
      6. Summary
    16. Geronimo Eclipse Plugin
      1. Eclipse and the web tools framework
      2. GEP download and installation
      3. Developing an application in GEP
      4. Deploying and running or debugging the application in Geronimo
      5. Summary
    17. Clustering
      1. WADI
      2. Load balancing with Apache web server
      3. Running multiple server instances from a single installation
      4. Clustered Helloworld-cluster application
      5. Farming
      6. Summary
    18. Logging
      1. Configuring Apache Geronimo logging
      2. Configuring application logging
      3. Summary
    19. Geronimo Internals
      1. Services provided by Geronimo
      2. Configurations and deployment
      3. Developing a new GBean
      4. Deploying the GBean
      5. Summary
    20. Deployment Plans
      1. Environment
      2. GBeans
      3. Application Client
    21. Troubleshooting
      1. Server startup errors
      2. Deployment errors
      3. Runtime errors
    22. Index