Author: vishwanathk
Date: Sun Apr 1 00:12:18 2012
New Revision: 1307950
URL: http://svn.apache.org/viewvc?rev=1307950&view=rev
Log:
update deploying-in-tomee docs
Modified:
openejb/site/trunk/content/deploying-in-tomee.mdtext
Modified: openejb/site/trunk/content/deploying-in-tomee.mdtext
URL:
http://svn.apache.org/viewvc/openejb/site/trunk/content/deploying-in-tomee.mdtext?rev=1307950&r1=1307949&r2=1307950&view=diff
==============================================================================
--- openejb/site/trunk/content/deploying-in-tomee.mdtext (original)
+++ openejb/site/trunk/content/deploying-in-tomee.mdtext Sun Apr 1 00:12:18
2012
@@ -27,10 +27,11 @@ Or you could simply package your applica
On a related note, read on to learn about packaging EJBs in a WAR.
+
### Packaging
<a name="CollapsedEAR-Onearchive"></a>
-# One archive
+#### One archive
The basic idea of this approach is that your Servlets and EJBs are together
in your WAR file as one app.
@@ -41,7 +42,7 @@ no EAR required.
-EJBs can see Servlet classes and vice versa.
<a name="CollapsedEAR-NotquiteJ2EE(itistrulyJEE6)"></a>
-# Not quite J2EE (it is truly JEE6)
+#### Not quite J2EE (it is truly JEE6)
This is very different than J2EE or Java EE 5 as there aren't several
levels of separation and classloader hierarchy. This is going to take some
@@ -49,7 +50,7 @@ getting used to and it should be underst
isn't J2EE compliant. Who would care tough as it is a feature of Java EE 6
we would've been waiting for so long.
- J2EE classloading rules:
+#### J2EE classloading rules:
-You cannot ever have EJBs and servlets in the same classloader.
-Three classloader minimum; a classloader for the ear, one for each
@@ -67,12 +68,4 @@ containing 1 EJB jar and 1 servlet WAR.
formatted 'Class-Path' entry in the EAR's MANIFEST file.
Critically speaking, forcing more than one classloader on an application
-is where J2EE "jumps the shark" for a large majority of people's needs.
-
-<a name="CollapsedEAR-ExamplewithTomcat"></a>
-# Example with Tomcat
-
-If you want to try to work with Servlets/JSP and OpenEJB using Tomcat, see
-the [setup page](openejbx30:tomcat.html)
- and the "/webapps/ejb-examples" section of the [openejb-examples.zip|Download]
- available on the download page.
+is where J2EE "jumps the shark" for a large majority of people's needs.
\ No newline at end of file