jlaskowski 2004/07/08 07:55:26
Modified: modules/webadmin/src/webapp ejbclasses.html ejbref.html
enc-help.html howitworks.html index.jsp
invokeobj.jsp
Log:
links transition from sourceforge.net to www.openejb.org
Revision Changes Path
1.2 +106 -106 openejb1/modules/webadmin/src/webapp/ejbclasses.html
Index: ejbclasses.html
===================================================================
RCS file:
/home/projects/openejb/scm/openejb1/modules/webadmin/src/webapp/ejbclasses.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ejbclasses.html 25 May 2004 21:28:02 -0000 1.1
+++ ejbclasses.html 8 Jul 2004 11:55:26 -0000 1.2
@@ -1,106 +1,106 @@
-<html>
-<head>
- <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>OpenEJB Tomcat Integration/1.0</title>
- <link href="default.css" rel="stylesheet">
-</head>
- <body marginwidth="0" marginheight="0" leftmargin="0" bottommargin="0"
topmargin="0" vlink="#6763a9" link="#6763a9" bgcolor="#ffffff">
- <a name="top"></a>
- <table width="712" cellspacing="0" cellpadding="0" border="0">
- <tr>
- <td bgcolor="#5A5CB8" align="left" valign="top" width="7"><img
height="9" width="1" border="0" src="images/dotTrans.gif"></td>
- <td bgcolor="#5A5CB8" align="left" valign="top" width="40"><img
border="0" height="6" width="40" src="images/dotTrans.gif"></td>
- <td bgcolor="#5A5CB8" align="left" valign="top" height="2"
width="430"><img border="0" height="6" width="430" src="images/top_2.gif"></td>
- <td bgcolor="#E24717" align="left" valign="top" height="2"
width="120"><img src="images/top_3.gif" width="120" height="6" border="0"></td>
- </tr>
- <tr>
- <td bgcolor="#5A5CB8" align="left" valign="top" bgcolor="#ffffff"
width="13"><img border="0" height="15" width="13" src="images/dotTrans.gif"></td>
- <td align="left" valign="top" width="40"><img border="0" height="1"
width="1" src="images/dotTrans.gif"></td>
- <td align="left" valign="middle" width="430"><a
href="http://openejb.sourceforge.net"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.html"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
- <td align="left" valign="top" height="20" width="120"><img border="0"
height="2" width="10" src="images/dotTrans.gif"></td>
- </tr>
- <tr>
- <td align="left" valign="top" bgcolor="#a9a5de" width="7"><img
border="0" height="3" width="7" src="images/line_sm.gif"></td>
- <td align="left" valign="top" height="3" width="40"><img border="0"
height="3" width="40" src="images/line_light.gif"></td>
- <td align="left" valign="top" height="3" width="430"><img border="0"
height="3" width="430" src="images/line_light.gif"></td>
- <td align="left" valign="top" height="3" width="120"><img height="1"
width="1" border="0" src="images/dotTrans.gif"></td>
- </tr>
- <tr>
- <td align="left" valign="top" bgcolor="#a9a5de" width="7"> </td>
- <td align="left" valign="top" width="40"> </td>
- <td valign="top" width="430" rowspan="4">
- <table width="430" cellspacing="0" cellpadding="0" border="0"
rows="2" cols="1">
- <tr>
- <td align="left" valign="top"><br>
- <img width="200" vspace="0"
src="./images/logo_ejb2.gif" hspace="0" height="55" border="0">
- <br>
- <img src="images/dotTrans.gif" hspace="0" height="7"
border="0"><br>
- <span class="pageTitle">
- Webapp libraries and EJB libraries
- </span>
- <br>
- <img src="images/dotTrans.gif" hspace="0" height="1"
border="0"></td>
- </tr>
- </table>
- <p>
-<font size='2'>
-<B>The Rule</B><BR><BR>
-Never ever put your EJBs in your WEB-INF directories. The same rule applies
-to any libraries needed by your EJBs.
-<BR><BR><B>The Consequences</B><BR><BR>
-If you break the rule, you will be riddled with ClassCastExceptions like the
following:<BR><BR>
-<PRE>
-java.lang.ClassCastException
- at org.apache.jsp.test$jsp._jspService(test$jsp.java:102)
- at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
- ...
-</PRE>
-<PRE>
-java.lang.ClassCastException
- at
com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293)
- ...
-</PRE>
-<B>Java Classloading Rules</B><BR><BR>
-By rule of the Java Language, two classes are only the same if they have the same
type <B>AND</B> they were loaded by the same classloader!
-
-<BR><BR><B>Webapp Classloader vs. Common Classloader</B><BR><BR>
-In Tomcat, each webapp has it's very own classloader, called it's <A
HREF="http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html#Class%20Loader%20Definitions">Webapp
Classloader</A>.
-<BR><BR>
-When OpenEJB is loaded into Tomcat, it is loaded into Tomcat's <A
HREF="http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html#Class%20Loader%20Definitions">Common
Classloader</A>.
-Classes in the Common Classloader are automatically available to all the Webapp
classloaders.
-Having OpenEJB in the Common Classloader makes OpenEJB and your EJBs available to
all webapps.
-
-<BR><BR>
-There is an important thing to know about the Webapp Classloader; it will always
load classes from the WEB-INF/classes or WEB-INF/lib directories even if the same
class is available in the Common Classloader.
-<BR><BR>
-Remember the Java classloading rules? If your webapp loads a class file from the
Webapp Classloader and OpenEJB loads the same class file from the Common Classloader,
are they the same class? NO, definitly not!
-<BR><BR><B>The Rule Revisited</B><BR><BR>
-
-This brings us back to our rule: never ever put your EJBs in your WEB-INF
directories. The same rule applies
-to any libraries needed by your EJBs.
-<BR><BR>
-OpenEJB creates instances and implementations of the EJBHome and EJBObject using
classes it finds in
-it's classloader (the Common Classloader). When your Servlet or JSP looks up an
EJB, OpenEJB will
-generate an implementation of that bean's EJBHome interface and send it to the
servlet.
-<BR><BR>
-If your servlet's classloader (the Webapp Classloader) already loaded the class into
-it's classloader, you have a situation where the exact same class
-exists in two different classloaders. When
-you try to cast one classloader's version to another classloader's
-version, everything blows up.
-</FONT>
-<BR><BR>
-<BR><BR>
-<BR><BR>
-</P>
-
- </td>
- <td align="left" valign="top" height="5" width="120">
-
-
- </td>
- </tr>
- </table>
- </body>
-</html>
-
+<html>
+<head>
+ <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <title>OpenEJB Tomcat Integration/1.0</title>
+ <link href="default.css" rel="stylesheet">
+</head>
+ <body marginwidth="0" marginheight="0" leftmargin="0" bottommargin="0"
topmargin="0" vlink="#6763a9" link="#6763a9" bgcolor="#ffffff">
+ <a name="top"></a>
+ <table width="712" cellspacing="0" cellpadding="0" border="0">
+ <tr>
+ <td bgcolor="#5A5CB8" align="left" valign="top" width="7"><img
height="9" width="1" border="0" src="images/dotTrans.gif"></td>
+ <td bgcolor="#5A5CB8" align="left" valign="top" width="40"><img
border="0" height="6" width="40" src="images/dotTrans.gif"></td>
+ <td bgcolor="#5A5CB8" align="left" valign="top" height="2"
width="430"><img border="0" height="6" width="430" src="images/top_2.gif"></td>
+ <td bgcolor="#E24717" align="left" valign="top" height="2"
width="120"><img src="images/top_3.gif" width="120" height="6" border="0"></td>
+ </tr>
+ <tr>
+ <td bgcolor="#5A5CB8" align="left" valign="top" bgcolor="#ffffff"
width="13"><img border="0" height="15" width="13" src="images/dotTrans.gif"></td>
+ <td align="left" valign="top" width="40"><img border="0" height="1"
width="1" src="images/dotTrans.gif"></td>
+ <td align="left" valign="middle" width="430"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.html"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
+ <td align="left" valign="top" height="20" width="120"><img border="0"
height="2" width="10" src="images/dotTrans.gif"></td>
+ </tr>
+ <tr>
+ <td align="left" valign="top" bgcolor="#a9a5de" width="7"><img
border="0" height="3" width="7" src="images/line_sm.gif"></td>
+ <td align="left" valign="top" height="3" width="40"><img border="0"
height="3" width="40" src="images/line_light.gif"></td>
+ <td align="left" valign="top" height="3" width="430"><img border="0"
height="3" width="430" src="images/line_light.gif"></td>
+ <td align="left" valign="top" height="3" width="120"><img height="1"
width="1" border="0" src="images/dotTrans.gif"></td>
+ </tr>
+ <tr>
+ <td align="left" valign="top" bgcolor="#a9a5de" width="7"> </td>
+ <td align="left" valign="top" width="40"> </td>
+ <td valign="top" width="430" rowspan="4">
+ <table width="430" cellspacing="0" cellpadding="0" border="0"
rows="2" cols="1">
+ <tr>
+ <td align="left" valign="top"><br>
+ <img width="200" vspace="0"
src="./images/logo_ejb2.gif" hspace="0" height="55" border="0">
+ <br>
+ <img src="images/dotTrans.gif" hspace="0" height="7"
border="0"><br>
+ <span class="pageTitle">
+ Webapp libraries and EJB libraries
+ </span>
+ <br>
+ <img src="images/dotTrans.gif" hspace="0" height="1"
border="0"></td>
+ </tr>
+ </table>
+ <p>
+<font size='2'>
+<B>The Rule</B><BR><BR>
+Never ever put your EJBs in your WEB-INF directories. The same rule applies
+to any libraries needed by your EJBs.
+<BR><BR><B>The Consequences</B><BR><BR>
+If you break the rule, you will be riddled with ClassCastExceptions like the
following:<BR><BR>
+<PRE>
+java.lang.ClassCastException
+ at org.apache.jsp.test$jsp._jspService(test$jsp.java:102)
+ at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
+ ...
+</PRE>
+<PRE>
+java.lang.ClassCastException
+ at
com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293)
+ ...
+</PRE>
+<B>Java Classloading Rules</B><BR><BR>
+By rule of the Java Language, two classes are only the same if they have the same
type <B>AND</B> they were loaded by the same classloader!
+
+<BR><BR><B>Webapp Classloader vs. Common Classloader</B><BR><BR>
+In Tomcat, each webapp has it's very own classloader, called it's <A
HREF="http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html#Class%20Loader%20Definitions">Webapp
Classloader</A>.
+<BR><BR>
+When OpenEJB is loaded into Tomcat, it is loaded into Tomcat's <A
HREF="http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html#Class%20Loader%20Definitions">Common
Classloader</A>.
+Classes in the Common Classloader are automatically available to all the Webapp
classloaders.
+Having OpenEJB in the Common Classloader makes OpenEJB and your EJBs available to
all webapps.
+
+<BR><BR>
+There is an important thing to know about the Webapp Classloader; it will always
load classes from the WEB-INF/classes or WEB-INF/lib directories even if the same
class is available in the Common Classloader.
+<BR><BR>
+Remember the Java classloading rules? If your webapp loads a class file from the
Webapp Classloader and OpenEJB loads the same class file from the Common Classloader,
are they the same class? NO, definitly not!
+<BR><BR><B>The Rule Revisited</B><BR><BR>
+
+This brings us back to our rule: never ever put your EJBs in your WEB-INF
directories. The same rule applies
+to any libraries needed by your EJBs.
+<BR><BR>
+OpenEJB creates instances and implementations of the EJBHome and EJBObject using
classes it finds in
+it's classloader (the Common Classloader). When your Servlet or JSP looks up an
EJB, OpenEJB will
+generate an implementation of that bean's EJBHome interface and send it to the
servlet.
+<BR><BR>
+If your servlet's classloader (the Webapp Classloader) already loaded the class into
+it's classloader, you have a situation where the exact same class
+exists in two different classloaders. When
+you try to cast one classloader's version to another classloader's
+version, everything blows up.
+</FONT>
+<BR><BR>
+<BR><BR>
+<BR><BR>
+</P>
+
+ </td>
+ <td align="left" valign="top" height="5" width="120">
+
+
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
+
1.2 +111 -111 openejb1/modules/webadmin/src/webapp/ejbref.html
Index: ejbref.html
===================================================================
RCS file:
/home/projects/openejb/scm/openejb1/modules/webadmin/src/webapp/ejbref.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ejbref.html 25 May 2004 21:28:02 -0000 1.1
+++ ejbref.html 8 Jul 2004 11:55:26 -0000 1.2
@@ -1,111 +1,111 @@
-<html>
-<head>
- <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>OpenEJB Tomcat Integration/1.0</title>
- <link href="default.css" rel="stylesheet">
-</head>
- <body marginwidth="0" marginheight="0" leftmargin="0" bottommargin="0"
topmargin="0" vlink="#6763a9" link="#6763a9" bgcolor="#ffffff">
- <a name="top"></a>
- <table width="712" cellspacing="0" cellpadding="0" border="0">
- <tr>
- <td bgcolor="#5A5CB8" align="left" valign="top" width="7"><img
height="9" width="1" border="0" src="images/dotTrans.gif"></td>
- <td bgcolor="#5A5CB8" align="left" valign="top" width="40"><img
border="0" height="6" width="40" src="images/dotTrans.gif"></td>
- <td bgcolor="#5A5CB8" align="left" valign="top" height="2"
width="430"><img border="0" height="6" width="430" src="images/top_2.gif"></td>
- <td bgcolor="#E24717" align="left" valign="top" height="2"
width="120"><img src="images/top_3.gif" width="120" height="6" border="0"></td>
- </tr>
- <tr>
- <td bgcolor="#5A5CB8" align="left" valign="top" bgcolor="#ffffff"
width="13"><img border="0" height="15" width="13" src="images/dotTrans.gif"></td>
- <td align="left" valign="top" width="40"><img border="0" height="1"
width="1" src="images/dotTrans.gif"></td>
- <td align="left" valign="middle" width="430"><a
href="http://openejb.sourceforge.net"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.html"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
- <td align="left" valign="top" height="20" width="120"><img border="0"
height="2" width="10" src="images/dotTrans.gif"></td>
- </tr>
- <tr>
- <td align="left" valign="top" bgcolor="#a9a5de" width="7"><img
border="0" height="3" width="7" src="images/line_sm.gif"></td>
- <td align="left" valign="top" height="3" width="40"><img border="0"
height="3" width="40" src="images/line_light.gif"></td>
- <td align="left" valign="top" height="3" width="430"><img border="0"
height="3" width="430" src="images/line_light.gif"></td>
- <td align="left" valign="top" height="3" width="120"><img height="1"
width="1" border="0" src="images/dotTrans.gif"></td>
- </tr>
- <tr>
- <td align="left" valign="top" bgcolor="#a9a5de" width="7"> </td>
- <td align="left" valign="top" width="40"> </td>
- <td valign="top" width="430" rowspan="4">
- <table width="430" cellspacing="0" cellpadding="0" border="0"
rows="2" cols="1">
- <tr>
- <td align="left" valign="top"><br>
- <img width="200" vspace="0"
src="./images/logo_ejb2.gif" hspace="0" height="55" border="0">
- <br>
- <img src="images/dotTrans.gif" hspace="0" height="7"
border="0"><br>
- <span class="pageTitle">
- Using java:comp/env lookups
- </span>
- <br>
- <img src="images/dotTrans.gif" hspace="0" height="1"
border="0"></td>
- </tr>
- </table>
- <p>
-<font size='2'>
-<B>Adding ejb-ref in your web.xml</B><BR><BR>
-An example is best for this. Say you had a block like the
-following in your web.xml file.
-<PRE>
-<ejb-ref>
- <description>
- EJB Reference to the bean deployed to OpenEJB
- </description>
- <ejb-ref-name>ejb/hello</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>org.acme.HelloHome</home>
- <remote>org.acme.Hello</remote>
-</ejb-ref>
-</PRE>
-<B>Adding the Ejb in your server.xml</B><BR><BR>
-To make this ejb refence usable in code by your Servlet or JSP, you need to tell
Tomcat
-how to link that to an actual EJB deployed into OpenEJB. This is done in the
-webapps <Context> section of Tomcat's server.xml file. Here is an example of that:
-<PRE>
-<Server>
- ...
- <Context path=...>
- ...
- <Ejb name="ejb/hello"
- type="Session"
- home="org.acme.HelloHome"
- remote="org.acme.Hello"/>
- <ResourceParams name="ejb/hello">
- <parameter>
- <name>factory</name>
- <value>org.openejb.client.TomcatEjbFactory</value>
- </parameter>
- <parameter>
- <name>openejb.naming.factory.initial</name>
-
<value>org.openejb.client.LocalInitialContextFactory</value>
- </parameter>
- <parameter>
- <name>openejb.ejb-link</name>
- <value>Hello</value>
- </parameter>
- </ResourceParams>
- </Context>
- ...
-</Server>
-</PRE>
-This would link the name "ejb/hello" to a bean called "Hello" in the OpenEJB
container system.
-<BR>
-<BR>
-For more information see <A
HREF="http://openejb.sourceforge.net/tomcat-object-factory.html">Leveraging J2EE JNDI
Lookups</A>
-</FONT>
-<BR><BR>
-<BR><BR>
-<BR><BR>
-</P>
-
- </td>
- <td align="left" valign="top" height="5" width="120">
-
-
- </td>
- </tr>
- </table>
- </body>
-</html>
-
+<html>
+<head>
+ <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <title>OpenEJB Tomcat Integration/1.0</title>
+ <link href="default.css" rel="stylesheet">
+</head>
+ <body marginwidth="0" marginheight="0" leftmargin="0" bottommargin="0"
topmargin="0" vlink="#6763a9" link="#6763a9" bgcolor="#ffffff">
+ <a name="top"></a>
+ <table width="712" cellspacing="0" cellpadding="0" border="0">
+ <tr>
+ <td bgcolor="#5A5CB8" align="left" valign="top" width="7"><img
height="9" width="1" border="0" src="images/dotTrans.gif"></td>
+ <td bgcolor="#5A5CB8" align="left" valign="top" width="40"><img
border="0" height="6" width="40" src="images/dotTrans.gif"></td>
+ <td bgcolor="#5A5CB8" align="left" valign="top" height="2"
width="430"><img border="0" height="6" width="430" src="images/top_2.gif"></td>
+ <td bgcolor="#E24717" align="left" valign="top" height="2"
width="120"><img src="images/top_3.gif" width="120" height="6" border="0"></td>
+ </tr>
+ <tr>
+ <td bgcolor="#5A5CB8" align="left" valign="top" bgcolor="#ffffff"
width="13"><img border="0" height="15" width="13" src="images/dotTrans.gif"></td>
+ <td align="left" valign="top" width="40"><img border="0" height="1"
width="1" src="images/dotTrans.gif"></td>
+ <td align="left" valign="middle" width="430"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.html"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
+ <td align="left" valign="top" height="20" width="120"><img border="0"
height="2" width="10" src="images/dotTrans.gif"></td>
+ </tr>
+ <tr>
+ <td align="left" valign="top" bgcolor="#a9a5de" width="7"><img
border="0" height="3" width="7" src="images/line_sm.gif"></td>
+ <td align="left" valign="top" height="3" width="40"><img border="0"
height="3" width="40" src="images/line_light.gif"></td>
+ <td align="left" valign="top" height="3" width="430"><img border="0"
height="3" width="430" src="images/line_light.gif"></td>
+ <td align="left" valign="top" height="3" width="120"><img height="1"
width="1" border="0" src="images/dotTrans.gif"></td>
+ </tr>
+ <tr>
+ <td align="left" valign="top" bgcolor="#a9a5de" width="7"> </td>
+ <td align="left" valign="top" width="40"> </td>
+ <td valign="top" width="430" rowspan="4">
+ <table width="430" cellspacing="0" cellpadding="0" border="0"
rows="2" cols="1">
+ <tr>
+ <td align="left" valign="top"><br>
+ <img width="200" vspace="0"
src="./images/logo_ejb2.gif" hspace="0" height="55" border="0">
+ <br>
+ <img src="images/dotTrans.gif" hspace="0" height="7"
border="0"><br>
+ <span class="pageTitle">
+ Using java:comp/env lookups
+ </span>
+ <br>
+ <img src="images/dotTrans.gif" hspace="0" height="1"
border="0"></td>
+ </tr>
+ </table>
+ <p>
+<font size='2'>
+<B>Adding ejb-ref in your web.xml</B><BR><BR>
+An example is best for this. Say you had a block like the
+following in your web.xml file.
+<PRE>
+<ejb-ref>
+ <description>
+ EJB Reference to the bean deployed to OpenEJB
+ </description>
+ <ejb-ref-name>ejb/hello</ejb-ref-name>
+ <ejb-ref-type>Session</ejb-ref-type>
+ <home>org.acme.HelloHome</home>
+ <remote>org.acme.Hello</remote>
+</ejb-ref>
+</PRE>
+<B>Adding the Ejb in your server.xml</B><BR><BR>
+To make this ejb refence usable in code by your Servlet or JSP, you need to tell
Tomcat
+how to link that to an actual EJB deployed into OpenEJB. This is done in the
+webapps <Context> section of Tomcat's server.xml file. Here is an example of that:
+<PRE>
+<Server>
+ ...
+ <Context path=...>
+ ...
+ <Ejb name="ejb/hello"
+ type="Session"
+ home="org.acme.HelloHome"
+ remote="org.acme.Hello"/>
+ <ResourceParams name="ejb/hello">
+ <parameter>
+ <name>factory</name>
+ <value>org.openejb.client.TomcatEjbFactory</value>
+ </parameter>
+ <parameter>
+ <name>openejb.naming.factory.initial</name>
+
<value>org.openejb.client.LocalInitialContextFactory</value>
+ </parameter>
+ <parameter>
+ <name>openejb.ejb-link</name>
+ <value>Hello</value>
+ </parameter>
+ </ResourceParams>
+ </Context>
+ ...
+</Server>
+</PRE>
+This would link the name "ejb/hello" to a bean called "Hello" in the OpenEJB
container system.
+<BR>
+<BR>
+For more information see <A
HREF="http://www.openejb.org/tomcat-object-factory.html">Leveraging J2EE JNDI
Lookups</A>
+</FONT>
+<BR><BR>
+<BR><BR>
+<BR><BR>
+</P>
+
+ </td>
+ <td align="left" valign="top" height="5" width="120">
+
+
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
+
1.2 +76 -76 openejb1/modules/webadmin/src/webapp/enc-help.html
Index: enc-help.html
===================================================================
RCS file:
/home/projects/openejb/scm/openejb1/modules/webadmin/src/webapp/enc-help.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- enc-help.html 25 May 2004 21:28:02 -0000 1.1
+++ enc-help.html 8 Jul 2004 11:55:26 -0000 1.2
@@ -1,76 +1,76 @@
-<html>
-<head>
- <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>OpenEJB Tomcat Integration/1.0</title>
- <link href="default.css" rel="stylesheet">
-</head>
- <body marginwidth="0" marginheight="0" leftmargin="0" bottommargin="0"
topmargin="0" vlink="#6763a9" link="#6763a9" bgcolor="#ffffff">
- <a name="top"></a>
- <table width="712" cellspacing="0" cellpadding="0" border="0">
- <tr>
- <td bgcolor="#5A5CB8" align="left" valign="top" width="7"><img
height="9" width="1" border="0" src="images/dotTrans.gif"></td>
- <td bgcolor="#5A5CB8" align="left" valign="top" width="40"><img
border="0" height="6" width="40" src="images/dotTrans.gif"></td>
- <td bgcolor="#5A5CB8" align="left" valign="top" height="2"
width="430"><img border="0" height="6" width="430" src="images/top_2.gif"></td>
- <td bgcolor="#E24717" align="left" valign="top" height="2"
width="120"><img src="images/top_3.gif" width="120" height="6" border="0"></td>
- </tr>
- <tr>
- <td bgcolor="#5A5CB8" align="left" valign="top" bgcolor="#ffffff"
width="13"><img border="0" height="15" width="13" src="images/dotTrans.gif"></td>
- <td align="left" valign="top" width="40"><img border="0" height="1"
width="1" src="images/dotTrans.gif"></td>
- <td align="left" valign="middle" width="430"><a
href="http://openejb.sourceforge.net"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.html"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
- <td align="left" valign="top" height="20" width="120"><img border="0"
height="2" width="10" src="images/dotTrans.gif"></td>
- </tr>
- <tr>
- <td align="left" valign="top" bgcolor="#a9a5de" width="7"><img
border="0" height="3" width="7" src="images/line_sm.gif"></td>
- <td align="left" valign="top" height="3" width="40"><img border="0"
height="3" width="40" src="images/line_light.gif"></td>
- <td align="left" valign="top" height="3" width="430"><img border="0"
height="3" width="430" src="images/line_light.gif"></td>
- <td align="left" valign="top" height="3" width="120"><img height="1"
width="1" border="0" src="images/dotTrans.gif"></td>
- </tr>
- <tr>
- <td align="left" valign="top" bgcolor="#a9a5de" width="7"> </td>
- <td align="left" valign="top" width="40"> </td>
- <td valign="top" width="430" rowspan="4">
- <table width="430" cellspacing="0" cellpadding="0" border="0"
rows="2" cols="1">
- <tr>
- <td align="left" valign="top"><br>
- <img width="200" vspace="0"
src="./images/logo_ejb2.gif" hspace="0" height="55" border="0">
- <br>
- <img src="images/dotTrans.gif" hspace="0" height="7"
border="0"><br>
- <span class="pageTitle">
- OpenEJB and EJB Help
- </span>
- <br>
- <img src="images/dotTrans.gif" hspace="0" height="1"
border="0"></td>
- </tr>
- </table>
- <p>
-<font size='2'>
-This is the private namespace of an Enterprise JavaBean. These entries are
-configured in the ejb-jar.xml file with the following tags:
-</FONT>
-<TABLE>
-<TR><TD WIDTH='100'><font size='2'><ejb-ref></FONT></TD><TD><font size='2'>A
reference to an EJB</FONT></TD></TR>
-<TR><TD><font size='2'><resource-ref></FONT></TD><TD><font size='2'>A
reference to a resource, like a JDBC datasource or J2EE Connector</FONT></TD></TR>
-<TR><TD><font size='2'><env-entry></FONT></TD><TD><font size='2'>A basic
name/value pair, kind of a beefed up version of a properties file</FONT></TD></TR>
-</TABLE>
-</p>
-<P>
-<font size='2'>
-An EJB can lookup these entries by using the java:comp/env url. Here is an
-example of code that would be in your bean class:
-</FONT>
-<PRE>
-InitialContext ctx = new InitialContext();
-Object obj = ctx.lookup("java:comp/env/myProperty");
-</PRE>
-</P>
-
- </td>
- <td align="left" valign="top" height="5" width="120">
-
-
- </td>
- </tr>
- </table>
- </body>
-</html>
-
+<html>
+<head>
+ <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <title>OpenEJB Tomcat Integration/1.0</title>
+ <link href="default.css" rel="stylesheet">
+</head>
+ <body marginwidth="0" marginheight="0" leftmargin="0" bottommargin="0"
topmargin="0" vlink="#6763a9" link="#6763a9" bgcolor="#ffffff">
+ <a name="top"></a>
+ <table width="712" cellspacing="0" cellpadding="0" border="0">
+ <tr>
+ <td bgcolor="#5A5CB8" align="left" valign="top" width="7"><img
height="9" width="1" border="0" src="images/dotTrans.gif"></td>
+ <td bgcolor="#5A5CB8" align="left" valign="top" width="40"><img
border="0" height="6" width="40" src="images/dotTrans.gif"></td>
+ <td bgcolor="#5A5CB8" align="left" valign="top" height="2"
width="430"><img border="0" height="6" width="430" src="images/top_2.gif"></td>
+ <td bgcolor="#E24717" align="left" valign="top" height="2"
width="120"><img src="images/top_3.gif" width="120" height="6" border="0"></td>
+ </tr>
+ <tr>
+ <td bgcolor="#5A5CB8" align="left" valign="top" bgcolor="#ffffff"
width="13"><img border="0" height="15" width="13" src="images/dotTrans.gif"></td>
+ <td align="left" valign="top" width="40"><img border="0" height="1"
width="1" src="images/dotTrans.gif"></td>
+ <td align="left" valign="middle" width="430"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.html"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
+ <td align="left" valign="top" height="20" width="120"><img border="0"
height="2" width="10" src="images/dotTrans.gif"></td>
+ </tr>
+ <tr>
+ <td align="left" valign="top" bgcolor="#a9a5de" width="7"><img
border="0" height="3" width="7" src="images/line_sm.gif"></td>
+ <td align="left" valign="top" height="3" width="40"><img border="0"
height="3" width="40" src="images/line_light.gif"></td>
+ <td align="left" valign="top" height="3" width="430"><img border="0"
height="3" width="430" src="images/line_light.gif"></td>
+ <td align="left" valign="top" height="3" width="120"><img height="1"
width="1" border="0" src="images/dotTrans.gif"></td>
+ </tr>
+ <tr>
+ <td align="left" valign="top" bgcolor="#a9a5de" width="7"> </td>
+ <td align="left" valign="top" width="40"> </td>
+ <td valign="top" width="430" rowspan="4">
+ <table width="430" cellspacing="0" cellpadding="0" border="0"
rows="2" cols="1">
+ <tr>
+ <td align="left" valign="top"><br>
+ <img width="200" vspace="0"
src="./images/logo_ejb2.gif" hspace="0" height="55" border="0">
+ <br>
+ <img src="images/dotTrans.gif" hspace="0" height="7"
border="0"><br>
+ <span class="pageTitle">
+ OpenEJB and EJB Help
+ </span>
+ <br>
+ <img src="images/dotTrans.gif" hspace="0" height="1"
border="0"></td>
+ </tr>
+ </table>
+ <p>
+<font size='2'>
+This is the private namespace of an Enterprise JavaBean. These entries are
+configured in the ejb-jar.xml file with the following tags:
+</FONT>
+<TABLE>
+<TR><TD WIDTH='100'><font size='2'><ejb-ref></FONT></TD><TD><font size='2'>A
reference to an EJB</FONT></TD></TR>
+<TR><TD><font size='2'><resource-ref></FONT></TD><TD><font size='2'>A
reference to a resource, like a JDBC datasource or J2EE Connector</FONT></TD></TR>
+<TR><TD><font size='2'><env-entry></FONT></TD><TD><font size='2'>A basic
name/value pair, kind of a beefed up version of a properties file</FONT></TD></TR>
+</TABLE>
+</p>
+<P>
+<font size='2'>
+An EJB can lookup these entries by using the java:comp/env url. Here is an
+example of code that would be in your bean class:
+</FONT>
+<PRE>
+InitialContext ctx = new InitialContext();
+Object obj = ctx.lookup("java:comp/env/myProperty");
+</PRE>
+</P>
+
+ </td>
+ <td align="left" valign="top" height="5" width="120">
+
+
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
+
1.2 +95 -95 openejb1/modules/webadmin/src/webapp/howitworks.html
Index: howitworks.html
===================================================================
RCS file:
/home/projects/openejb/scm/openejb1/modules/webadmin/src/webapp/howitworks.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- howitworks.html 25 May 2004 21:28:02 -0000 1.1
+++ howitworks.html 8 Jul 2004 11:55:26 -0000 1.2
@@ -1,95 +1,95 @@
-<html>
-<head>
- <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>OpenEJB Tomcat Integration/1.0</title>
- <link href="default.css" rel="stylesheet">
-</head>
- <body marginwidth="0" marginheight="0" leftmargin="0" bottommargin="0"
topmargin="0" vlink="#6763a9" link="#6763a9" bgcolor="#ffffff">
- <a name="top"></a>
- <table width="712" cellspacing="0" cellpadding="0" border="0">
- <tr>
- <td bgcolor="#5A5CB8" align="left" valign="top" width="7"><img
height="9" width="1" border="0" src="images/dotTrans.gif"></td>
- <td bgcolor="#5A5CB8" align="left" valign="top" width="40"><img
border="0" height="6" width="40" src="images/dotTrans.gif"></td>
- <td bgcolor="#5A5CB8" align="left" valign="top" height="2"
width="500"><img border="0" height="6" width="500" src="images/top_2.gif"></td>
- <td bgcolor="#E24717" align="left" valign="top" height="2"
width="120"><img src="images/top_3.gif" width="120" height="6" border="0"></td>
- </tr>
- <tr>
- <td bgcolor="#5A5CB8" align="left" valign="top" bgcolor="#ffffff"
width="13"><img border="0" height="15" width="13" src="images/dotTrans.gif"></td>
- <td align="left" valign="top" width="40"><img border="0" height="1"
width="1" src="images/dotTrans.gif"></td>
- <td align="left" valign="middle" width="500"><a
href="http://openejb.sourceforge.net"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.html"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
- <td align="left" valign="top" height="20" width="120"><img border="0"
height="2" width="10" src="images/dotTrans.gif"></td>
- </tr>
- <tr>
- <td align="left" valign="top" bgcolor="#a9a5de" width="7"><img
border="0" height="3" width="7" src="images/line_sm.gif"></td>
- <td align="left" valign="top" height="3" width="40"><img border="0"
height="3" width="40" src="images/line_light.gif"></td>
- <td align="left" valign="top" height="3" width="500"><img border="0"
height="3" width="500" src="images/line_light.gif"></td>
- <td align="left" valign="top" height="3" width="120"><img height="1"
width="1" border="0" src="images/dotTrans.gif"></td>
- </tr>
- <tr>
- <td align="left" valign="top" bgcolor="#a9a5de" width="7"> </td>
- <td align="left" valign="top" width="40"> </td>
- <td valign="top" width="500" rowspan="4">
- <table width="500" cellspacing="0" cellpadding="0" border="0"
rows="2" cols="1">
- <tr>
- <td align="left" valign="top"><br>
- <img width="200" vspace="0"
src="./images/logo_ejb2.gif" hspace="0" height="55" border="0">
- <br>
- <img src="images/dotTrans.gif" hspace="0" height="7"
border="0"><br>
- <span class="pageTitle">
- About the OpenEJB Tomcat Integration
- </span>
- <br>
- <img src="images/dotTrans.gif" hspace="0" height="1"
border="0"></td>
- </tr>
- </table>
- <p>
-<font size='2'>
-<B>Plug-in, not a bundle</B><BR><BR>
-Typically ejb servers have embedded Tomcat into their platforms,
-requiring you to switch platforms and use the Tomcat version they ship.
-We've taken the opposite approach and have created an integration that
-embeds OpenEJB into your existing Tomcat setup. This gives you several
- advantages:
-<BR><BR>
-<B>Advantages for you</B><BR>
-<table CELLPADDING='4' WIDTH='500'>
- <tr><td><img src='images/pepper.gif' border='0'></td><td><font size='2'>You can
keep your working Tomcat installation.</font></td></tr>
- <tr><td><img src='images/pepper.gif' border='0'></td><td><font size='2'>No need to
port webapps over to a platform where Tomcat has been embedded.</font></td></tr>
- <tr><td><img src='images/pepper.gif' border='0'></td><td><font size='2'>You can
use whatever version of Tomcat you want.</font></td></tr>
- <tr><td><img src='images/pepper.gif' border='0'></td><td><font size='2'>Upgrade to
different Tomcat versions whenever you feel like it.</font></td></tr>
- <tr><td><img src='images/pepper.gif' border='0'></td><td><font size='2'>No need to
convince anyone to switch platforms to use EJB.</font></td></tr>
- <tr><td><img src='images/pepper.gif' border='0'></td><td><font size='2'>No change
to your Tomcat install.</font></td></tr>
- <tr><td><img src='images/pepper.gif' border='0'></td><td><font size='2'>You can
plug-in OpenEJB and unplug it without modifying your Tomcat configs.</font></td></tr>
-</table>
-<BR>
-<B>On the technical side</B><BR><BR>
-The integration consists of a servlet in this webapp that is configured
-to load on startup. When loaded, it locates the OpenEJB installation
-via the openejb.home init-param you set in the web.xml file. Once it finds
-the OpenEJB installation, it walks up the classloader tree to the Tomcat
-common classloader and loads OpenEJB and your EJBs into the VM.
-After all the classes are loaded, OpenEJB is automatically started in Tomcat's VM.
-<BR><BR>
-When the entire process completes, you will magically have access to all
-you EJB class definitions from your webapp. No need to put them in the WEB-INF
directories
-at all!. All your servlets and JSPs will have fast, network-free access to all the
EJBs in OpenEJB.
-<BR><BR>
-<B>The process of embedding</B><BR><BR>
-This is just one of the ways OpenEJB can be embedded. OpenEJB can be embedded into
any VM!
-<A HREF="http://openejb.sourceforge.net/embedded.html">Read here for more
details.</A>
-</FONT>
-<BR><BR>
-<BR><BR>
-<BR><BR>
-</P>
-
- </td>
- <td align="left" valign="top" height="5" width="120">
-
-
- </td>
- </tr>
- </table>
- </body>
-</html>
-
+<html>
+<head>
+ <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <title>OpenEJB Tomcat Integration/1.0</title>
+ <link href="default.css" rel="stylesheet">
+</head>
+ <body marginwidth="0" marginheight="0" leftmargin="0" bottommargin="0"
topmargin="0" vlink="#6763a9" link="#6763a9" bgcolor="#ffffff">
+ <a name="top"></a>
+ <table width="712" cellspacing="0" cellpadding="0" border="0">
+ <tr>
+ <td bgcolor="#5A5CB8" align="left" valign="top" width="7"><img
height="9" width="1" border="0" src="images/dotTrans.gif"></td>
+ <td bgcolor="#5A5CB8" align="left" valign="top" width="40"><img
border="0" height="6" width="40" src="images/dotTrans.gif"></td>
+ <td bgcolor="#5A5CB8" align="left" valign="top" height="2"
width="500"><img border="0" height="6" width="500" src="images/top_2.gif"></td>
+ <td bgcolor="#E24717" align="left" valign="top" height="2"
width="120"><img src="images/top_3.gif" width="120" height="6" border="0"></td>
+ </tr>
+ <tr>
+ <td bgcolor="#5A5CB8" align="left" valign="top" bgcolor="#ffffff"
width="13"><img border="0" height="15" width="13" src="images/dotTrans.gif"></td>
+ <td align="left" valign="top" width="40"><img border="0" height="1"
width="1" src="images/dotTrans.gif"></td>
+ <td align="left" valign="middle" width="500"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.html"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
+ <td align="left" valign="top" height="20" width="120"><img border="0"
height="2" width="10" src="images/dotTrans.gif"></td>
+ </tr>
+ <tr>
+ <td align="left" valign="top" bgcolor="#a9a5de" width="7"><img
border="0" height="3" width="7" src="images/line_sm.gif"></td>
+ <td align="left" valign="top" height="3" width="40"><img border="0"
height="3" width="40" src="images/line_light.gif"></td>
+ <td align="left" valign="top" height="3" width="500"><img border="0"
height="3" width="500" src="images/line_light.gif"></td>
+ <td align="left" valign="top" height="3" width="120"><img height="1"
width="1" border="0" src="images/dotTrans.gif"></td>
+ </tr>
+ <tr>
+ <td align="left" valign="top" bgcolor="#a9a5de" width="7"> </td>
+ <td align="left" valign="top" width="40"> </td>
+ <td valign="top" width="500" rowspan="4">
+ <table width="500" cellspacing="0" cellpadding="0" border="0"
rows="2" cols="1">
+ <tr>
+ <td align="left" valign="top"><br>
+ <img width="200" vspace="0"
src="./images/logo_ejb2.gif" hspace="0" height="55" border="0">
+ <br>
+ <img src="images/dotTrans.gif" hspace="0" height="7"
border="0"><br>
+ <span class="pageTitle">
+ About the OpenEJB Tomcat Integration
+ </span>
+ <br>
+ <img src="images/dotTrans.gif" hspace="0" height="1"
border="0"></td>
+ </tr>
+ </table>
+ <p>
+<font size='2'>
+<B>Plug-in, not a bundle</B><BR><BR>
+Typically ejb servers have embedded Tomcat into their platforms,
+requiring you to switch platforms and use the Tomcat version they ship.
+We've taken the opposite approach and have created an integration that
+embeds OpenEJB into your existing Tomcat setup. This gives you several
+ advantages:
+<BR><BR>
+<B>Advantages for you</B><BR>
+<table CELLPADDING='4' WIDTH='500'>
+ <tr><td><img src='images/pepper.gif' border='0'></td><td><font size='2'>You can
keep your working Tomcat installation.</font></td></tr>
+ <tr><td><img src='images/pepper.gif' border='0'></td><td><font size='2'>No need to
port webapps over to a platform where Tomcat has been embedded.</font></td></tr>
+ <tr><td><img src='images/pepper.gif' border='0'></td><td><font size='2'>You can
use whatever version of Tomcat you want.</font></td></tr>
+ <tr><td><img src='images/pepper.gif' border='0'></td><td><font size='2'>Upgrade to
different Tomcat versions whenever you feel like it.</font></td></tr>
+ <tr><td><img src='images/pepper.gif' border='0'></td><td><font size='2'>No need to
convince anyone to switch platforms to use EJB.</font></td></tr>
+ <tr><td><img src='images/pepper.gif' border='0'></td><td><font size='2'>No change
to your Tomcat install.</font></td></tr>
+ <tr><td><img src='images/pepper.gif' border='0'></td><td><font size='2'>You can
plug-in OpenEJB and unplug it without modifying your Tomcat configs.</font></td></tr>
+</table>
+<BR>
+<B>On the technical side</B><BR><BR>
+The integration consists of a servlet in this webapp that is configured
+to load on startup. When loaded, it locates the OpenEJB installation
+via the openejb.home init-param you set in the web.xml file. Once it finds
+the OpenEJB installation, it walks up the classloader tree to the Tomcat
+common classloader and loads OpenEJB and your EJBs into the VM.
+After all the classes are loaded, OpenEJB is automatically started in Tomcat's VM.
+<BR><BR>
+When the entire process completes, you will magically have access to all
+you EJB class definitions from your webapp. No need to put them in the WEB-INF
directories
+at all!. All your servlets and JSPs will have fast, network-free access to all the
EJBs in OpenEJB.
+<BR><BR>
+<B>The process of embedding</B><BR><BR>
+This is just one of the ways OpenEJB can be embedded. OpenEJB can be embedded into
any VM!
+<A HREF="http://www.openejb.org/embedded.html">Read here for more details.</A>
+</FONT>
+<BR><BR>
+<BR><BR>
+<BR><BR>
+</P>
+
+ </td>
+ <td align="left" valign="top" height="5" width="120">
+
+
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
+
1.2 +2 -2 openejb1/modules/webadmin/src/webapp/index.jsp
Index: index.jsp
===================================================================
RCS file: /home/projects/openejb/scm/openejb1/modules/webadmin/src/webapp/index.jsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- index.jsp 7 Jul 2004 23:29:36 -0000 1.1
+++ index.jsp 8 Jul 2004 11:55:26 -0000 1.2
@@ -18,7 +18,7 @@
<tr>
<td bgcolor="#5A5CB8" align="left" valign="top" bgcolor="#ffffff"
width="13"><img border="0" height="15" width="13" src="images/dotTrans.gif"></td>
<td align="left" valign="top" width="40"><img border="0" height="1"
width="1" src="images/dotTrans.gif"></td>
- <td align="left" valign="middle" width="430"><a
href="http://openejb.sourceforge.net"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.html"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
+ <td align="left" valign="middle" width="430"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.html"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
<td align="left" valign="top" height="20" width="120"><img border="0"
height="2" width="10" src="images/dotTrans.gif"></td>
</tr>
<tr>
1.2 +2 -2 openejb1/modules/webadmin/src/webapp/invokeobj.jsp
Index: invokeobj.jsp
===================================================================
RCS file:
/home/projects/openejb/scm/openejb1/modules/webadmin/src/webapp/invokeobj.jsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- invokeobj.jsp 25 May 2004 21:28:02 -0000 1.1
+++ invokeobj.jsp 8 Jul 2004 11:55:26 -0000 1.2
@@ -38,7 +38,7 @@
<tr>
<td bgcolor="#5A5CB8" align="left" valign="top" bgcolor="#ffffff"
width="13"><img border="0" height="15" width="13" src="images/dotTrans.gif"></td>
<td align="left" valign="top" width="40"><img border="0" height="1"
width="1" src="images/dotTrans.gif"></td>
- <td align="left" valign="middle" width="530"><a
href="http://openejb.sourceforge.net"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.html"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
+ <td align="left" valign="middle" width="530"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.html"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
<td align="left" valign="top" height="20" width="120"><img border="0"
height="2" width="10" src="images/dotTrans.gif"></td>
</tr>
<tr>