User: schulze
Date: 00/11/28 11:41:52
Modified: developers jboss-tomcat.html jboss-jetty.html
Log:
corrected the .ear file quick guide so that it really works.
Revision Changes Path
1.5 +4 -1 newsite/developers/jboss-tomcat.html
Index: jboss-tomcat.html
===================================================================
RCS file: /products/cvs/ejboss/newsite/developers/jboss-tomcat.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- jboss-tomcat.html 2000/11/17 20:08:51 1.4
+++ jboss-tomcat.html 2000/11/28 19:41:50 1.5
@@ -139,7 +139,10 @@
<ol>
<li><b>Write your beans</b> and
package them in an ejb-jar file. You don't have to do anything special here. See the
<a href="../../projects/jbossweb/manual/developing.html">manual</a> for details on how
to package beans for jboss.<br>
- <li><b>Write your servlets/JSPs</b>
and package them in a war file. Assuming you have a bean deployed under the jndi name
"myBean", the calls to this bean from your servlets will look like that:
+ <li><b>Write your servlets/JSPs</b>
and package them in a war file.
+ Add a Class-Path attribute to your war
files MANIFEST.MF file to reference your beans package.
+ For detailed information on that see: <a
href="../documentation/J2eeDeployment_howto.html">J2eeDeployment Howto</a>.<br>
+ Assuming you have a bean deployed under the jndi name
"myBean", the calls to this bean from your servlets will look like that:
<pre>MyBeanHome home = (MyBeanHome)new
InitialContext().lookup("myBean");
MyBean bean = home.create();</pre>
<p><b>Notes</b>:</p>
1.3 +4 -2 newsite/developers/jboss-jetty.html
Index: jboss-jetty.html
===================================================================
RCS file: /products/cvs/ejboss/newsite/developers/jboss-jetty.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- jboss-jetty.html 2000/11/21 00:21:34 1.2
+++ jboss-jetty.html 2000/11/28 19:41:51 1.3
@@ -154,8 +154,10 @@
<br>
<li>
-<b>Write your servlets/JSPs</b> and package them in a war file. Assuming
-you have a bean deployed under the jndi name "myBean", the calls to this
+<b>Write your servlets/JSPs</b> and package them in a war file.
+Add a Class-Path attribute to your war files MANIFEST.MF file to reference your
beans package.
+For detailed information on that see: <a
href="../documentation/J2eeDeployment_howto.html">J2eeDeployment Howto</a>.<br>
+Assuming you have a bean deployed under the jndi name "myBean", the calls to this
bean from your servlets will look like that: </li>
<pre>MyBeanHome home = (MyBeanHome)new InitialContext().lookup("myBean");