User: allsopp 
  Date: 01/01/16 00:14:49

  Modified:    documentation jca_config.html
  Added:       documentation connector-1_0-ea-src.zip
  Log:
  A small amount of extra docs, plus the source to the example resource
  adapter.
  
  Revision  Changes    Path
  1.3       +37 -4     newsite/documentation/jca_config.html
  
  Index: jca_config.html
  ===================================================================
  RCS file: /products/cvs/ejboss/newsite/documentation/jca_config.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- jca_config.html   2001/01/15 08:58:46     1.2
  +++ jca_config.html   2001/01/16 08:14:49     1.3
  @@ -65,7 +65,7 @@
          <code>jboss.jcml</code> for each connection factory that is
          required. The format for this entry is as follows.</div>
   
  -    <pre class="code">
  +    <div class="code">
     &lt;mbean code="org.jboss.resource.ConnectionFactoryLoader"
            name="J2EE:service=ConnectionFactoryLoader"&gt;
       &lt;!-- General attributes --&gt;
  @@ -77,7 +77,7 @@
       &lt;!-- Connection pooling attributes --&gt;
       &lt;attribute name="name"&gt;value&lt;/attribute&gt;
     &lt;/mbean&gt;
  -    </pre>
  +    </div>
   
       <h4>General Attributes</h4>
   
  @@ -157,7 +157,40 @@
   
       <div class="para">
         For this example you will need Sun's example resource adapter,
  -      available <a href="blackbox-xa.rar">here</a>.
  +      available <a href="blackbox-xa.rar">here</a>. The <a
  +      href="connector-1_0-ea-src.zip">source code</a> for this
  +      resource adapter is also available - this is useful if writing
  +      your own adapter.
  +    </div>
  +
  +    <div class="para">
  +      This resource adapter access a JDBC 2.0 standard extension
  +      compliant database. The advantage of this is that you don't need
  +      any weird or wacky resource to access and that you can compare
  +      the behaviour with a straight JDBC connection pool.
  +    </div>
  +
  +    <div class="para">
  +      The Black Box resource adapter uses an XA-compliant data source
  +      (<code>javax.sql.XADataSource</code>) to access the JDBC
  +      database, and it needs to access this data source through
  +      JNDI. In order to make this available, the MBean
  +      <code>RawXADataSourceLoader</code> can be used (the name
  +      <code>XADataSourceLoader</code> is already taken by the JDBC
  +      connection pools). This MBean is set up by an entry like the
  +      following in <code>jboss.jcml</code>.
  +    </div>
  +
  +    <div class="code">
  +  &lt;mbean code="org.jboss.jdbc.RawXADataSourceLoader"
  +         name="DefaultDomain:service=RawXADataSourceLoader,name=BlackBoxXADS"&gt;
  +    &lt;attribute name="PoolName"&gt;BlackBoxXADS&lt;/attribute&gt;
  +    &lt;attribute
  +      
name="DataSourceClass"&gt;org.jboss.minerva.xa.XADataSourceImpl&lt;/attribute&gt;
  +    &lt;attribute name="Properties"&gt;
  +      URL=jdbc:HypersonicSQL:hsql://localhost:1476
  +    &lt;/attribute&gt;
  +  &lt;/mbean&gt;
       </div>
   
       <div class="para">TBD - see <code>jboss.jcml</code> for now.</div>
  @@ -187,7 +220,7 @@
   
       <div class="footer">
         Author: <a href="mailto:[EMAIL PROTECTED]">Toby Allsopp</a><br/>
  -      Revision: $Id: jca_config.html,v 1.2 2001/01/15 08:58:46 allsopp Exp $
  +      Revision: $Id: jca_config.html,v 1.3 2001/01/16 08:14:49 allsopp Exp $
       </div>
     </div></body>
   </html>
  
  
  
  1.1                  newsite/documentation/connector-1_0-ea-src.zip
  
        <<Binary file>>
  
  

Reply via email to