User: schulze 
  Date: 00/11/28 11:41:56

  Modified:    business jboss-tomcat.html jboss-jetty.html
  Log:
  corrected the .ear file quick guide so that it really works.
  
  Revision  Changes    Path
  1.3       +3 -1      newsite/business/jboss-tomcat.html
  
  Index: jboss-tomcat.html
  ===================================================================
  RCS file: /products/cvs/ejboss/newsite/business/jboss-tomcat.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- jboss-tomcat.html 2000/11/17 20:08:59     1.2
  +++ jboss-tomcat.html 2000/11/28 19:41:54     1.3
  @@ -139,7 +139,9 @@
                                        <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>
                                                &nbsp;
  -                                             <li><b>Write your servlets/JSPs</b> 
and package them in a war file. Assuming you have a bean deployed under the jndi name 
&quot;myBean&quot;, 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 &quot;myBean&quot;, the calls to this bean from your servlets will look 
like that:
                                                <pre>MyBeanHome home = (MyBeanHome)new 
InitialContext().lookup(&quot;myBean&quot;);
   MyBean bean = home.create();</pre>
                                                <p><b>Notes</b>:</p>
  
  
  
  1.3       +4 -2      newsite/business/jboss-jetty.html
  
  Index: jboss-jetty.html
  ===================================================================
  RCS file: /products/cvs/ejboss/newsite/business/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:41     1.2
  +++ jboss-jetty.html  2000/11/28 19:41:55     1.3
  @@ -154,8 +154,10 @@
   
   <br>&nbsp;
   <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:&nbsp;</li>
   
   <pre>MyBeanHome home = (MyBeanHome)new InitialContext().lookup("myBean");
  
  
  

Reply via email to