Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Note
titleTHIS PAGE WILL BE ARCHIVED AND REMOVED

Instructions on Webapp-based EJBs can be found at  Collapsed EAR

Introduction

The basic idea of this approach is that your Servlets and EJBs are
together in your war file as one app.

...

How is this done? The support for running your EJBs (OpenEJB) is
loaded into your webapp classloader and not visible to any other
webapps.

Not quite J2EE

This is very different than J2EE as defined by the spec as there
aren't several levels of separation and heirarchy. This is going to
take some getting used to and it should be understood that this
style of packaging isn't J2EE compliant.

...

Critically speaking, forcing more than one classloader on an
application is where J2EE "jumps the shark" for a large majority of
people's needs.

Setup

This is new feature for OpenEJB 1.0.

...