User: gropi   
  Date: 01/07/11 03:04:48

  Modified:    src/docs webconfig.xml
  Log:
  CDATA cosmetics
  
  Revision  Changes    Path
  1.2       +8 -8      manual/src/docs/webconfig.xml
  
  Index: webconfig.xml
  ===================================================================
  RCS file: /cvsroot/jboss/manual/src/docs/webconfig.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- webconfig.xml     2001/07/07 19:25:16     1.1
  +++ webconfig.xml     2001/07/11 10:04:47     1.2
  @@ -112,7 +112,7 @@
   wants to call methods on a bean B. This call will look like this:.</para>
                <programlisting>
   public class AServlet extends HttpServlet
  -{                            
  +{
      ...
      protected void service(HttpServletRequest req, HttpServletResponse res)
         throws ServletException, IOException
  @@ -125,18 +125,18 @@
       }
   }</programlisting>
                <para>To be allowed this call, the servlet must declare a reference to
  -the ejb its using in the its deployment descriptor. This is done by an 
<![CDATA[<ejb-ref> 
  +the ejb its using in the its deployment descriptor. This is done by an 
<![CDATA[<ejb-ref>]]>
   tag in the web.xml file. Two types of references exist; internal and external.
  -]]></para>
  +</para>
                <section>
                        <title>Internal EJB reference</title>
                        <para>An EJB reference is called internal when the servlet is 
in the same
   application unit as the bean B. This means that the servlet and ejb is 
  -physically packaged in the same ear. In this case, you must provide the 
<![CDATA[<ejb-link> tag, and its value must 
  -match the ]]><![CDATA[<ejb-name> of bean B. You don't have to provide anything 
  +physically packaged in the same ear. In this case, you must provide the 
<![CDATA[<ejb-link>]]> tag, and its value must 
  +match the <![CDATA[<ejb-name>]]> of bean B. You don't have to provide anything 
   in the jboss-web.xml file. Your web.xml 
   file will look like this: 
  -]]></para>
  +</para>
                        <programlisting><![CDATA[
   <?xml version="1.0" encoding="UTF-8"?>
   <web-app>
  @@ -170,13 +170,13 @@
   application unit, which may even be deployed on another server. It also refers to
   non-standard bindings of EJBs into JNDI in the same application unit.
   In this case, you cannot rely on the 
  -standard <![CDATA[<ejb-link> ]]>tag in web.xml since there the beans are 
  +standard <![CDATA[<ejb-link>]]> tag in web.xml since there the beans are 
   not covered in the same file. Instead, you must
   provide the full JNDI name of the bean B in jboss-web.xml. A full 
   name is of the form:
   </para>
                        <para>protocol://host:1234/name/in/other/server
  -Note that the <![CDATA[<ejb-ref-name> ]]>tags in the 2 xml files must match. 
  +Note that the <![CDATA[<ejb-ref-name>]]> tags in the 2 xml files must match. 
   </para>
                        <para>Here is an example web.xml and jboss-web.xml with 
external EJB
   references:</para>
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to