Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: quick review, fixed some typos

...

  • @Annotations
    • @Resource
    • @PersistenceUnit
    • @PersistenceContext
    • @EJB
  • JPA - Java Persistence Architecture
  • JMS - Java Messing Service
  • JTA - Transaction Processing
    • TransactionManager
    • Container Managed Transactions
    • XA Support
  • JavaMail

In addition, war WAR files can contain EJB modules and JPA persistence units eliminating the annoying construction of .ear files. Adding EJBs and JPA Persistence beans to your application is as simply simple as adding the @Stateless, @Stateful, @MessageDriven or @Entity to a class. The packaging is refered to as Collapsed EAR style as the war file, ejb jar, and persistence unit files are merged into one archive and share the same classloader.

Anchor
quick instructions
quick instructions
Installation for the Impatient

The plugin installation process is pretty simple, so if you are comfortable with the CLI command line and Tomcat, this will get you going ASAP; otherwise, skip to the detailed instructions below.

...

If you want to access the openejb.war from another computer, you will need to either remove the valve, or modify the IP list in the valve declaration. The easiest way to remove the valve it to simply delete the webapps/openejb/META-INF/context.xml file and and the webapps/openejb.war file while Tomcat is stopped. The openejb.war file must be removed because some versions of Tomcat will use the context.xml file packed in the openejb.war file , regardless of what is in the unpacked directory.

...

Tomcat 6.x - Currently, only Tomcat 6.x is supported due to API difference between 5.5.x and 6.x. It is expected that 5.5 will be supported in the future, but there are no plans to support 5.0.x due to the lack of annotation support in 5.0.x.

Security - Unfortunately, at this time security with Tomcat/OpenEJB is not integrated, but is being worked on.

...