OpenEJB     OpenJMS     OpenORB     Castor     Tyrex     
 

Main
    Welcome!
    Download
    Mailing Lists
    The Team
Users
    Quickstart
    Hello World!
    CMP Example
    CMP Guide
    Deploy
    Startup
    Validation
    Configuration
    Support
    Request Feature
    FAQ
Servers
    Local Server
    Remote Server
    Tomcat
Integrators
    Why OpenEJB
    Overview
    Design
    Specification
    Presentation
Developers
    Custom Services
    Release Plan
    Source Code
    SourceForge


SourceForge Logo
  



OpenEJB and Tomcat


Introduction

Introduction

The short story of setting up the OpenEJB/Tomcat integration for OpenEJB 0.9.2 is:

  1. Copy the openejb_loader-0.9.2.war into the webapps dir of a running Tomcat install
  2. Update the openejb.home init param to point to where OpenEJB was installed
  3. Restart Tomcat
  4. Browse to http://localhost:8080/openejb_loader-0.9.2/index.html

That will get you an OpenEJB instance running right inside Tomcat, so everything is local and there is no need for an EJB server process running externally. You can run the Remote server at the same time, but the OpenEJB instance in it will be separate from the one in Tomcat.

The 0.9.2 release of OpenEJB contains some neat Tomcat integration tools:
A JNDI browser
A Class browser
An EJB viewer
An Object invoker

This document is a starting point for using OpenEJB in Tomcat and will evolve based on user contributions. If you wish to contribute to this document, please email the text to the OpenEJB User list.
How does the integration work
Where to put your ejb classes
How to configure java:comp/env lookups (short)
How to configure java:comp/env lookups (detailed)

Misc:
Basic info
Servlets FAQ


 
     
   
   
 


Java, EJB, JDBC, JNDI, JTA, Sun, Sun Microsystems are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and in other countries. XML, XML Schema, XSLT and related standards are trademarks or registered trademarks of MIT, INRIA, Keio or others, and a product of the World Wide Web Consortium. All other product names mentioned herein are trademarks of their respective owners.