User: olegnitz
  Date: 01/07/10 17:27:08

  Modified:    .        jboss-castor.jsp
  Log:
  Added description of the new AutoStore attribute of the CastorJDO service.
  
  Revision  Changes    Path
  1.2       +13 -10    newsite/jboss-castor.jsp
  
  Index: jboss-castor.jsp
  ===================================================================
  RCS file: /cvsroot/jboss/newsite/jboss-castor.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- jboss-castor.jsp  2001/06/14 17:33:38     1.1
  +++ jboss-castor.jsp  2001/07/11 00:27:08     1.2
  @@ -4,9 +4,9 @@
   </jsp:include>
   
   <p class="head">JBoss/Castor
  -                      
  +
   <p class="head">An integration for JDO support
  -                        
  +
   <p class="text"> The JBoss/CastorJDO integration is an effort led by Oleg Nitz.
   <p class="text">The <a href="http://access1.sun.com/jdo/";>&quot;Java Data Objects 
specification&quot;</a> says:
   <p class="text"><i>Java Data Objects is a suitable component for integration with 
EJB in these scenarios:</i></p>
  @@ -18,14 +18,14 @@
   <p class="text">This also applies to Castor JDO, which was inspired by the same 
source as the quoted specification: <a 
href="http://java.sun.com/aboutJava/communityprocess/jsr/jsr_012_dataobj.html";>JSR-12 
&quot;Java Data Objects Specification&quot;</a>. Castor JDO used with Session beans 
and BMP Entity Beans serves as an alternative to CMP Entity Beans, and is in many 
cases more fast and efficient. However, Castor doesn't complies to the the Sun JDO 
specification yet. Castor JDO is RDBMS-oriented and serves as O/R mapper, while the 
current draft of Sun JDO specification seems to be OODBMS-oriented.
   
   <p class="text">The JBoss/Castor integration makes it possible to use Castor JDO 
DataObjects factories as bean resources. These resources can be found in the 
JNDI&nbsp;namespace of the beans.
  -                        
  -<p class="head"><b>Binary and CVS</b><
  -<p class="text"><a href="http://castor.exolab.org";>Castor</a> version 0.8.9 or 
later is needed.  Download <a 
href="http://ftp.exolab.org/ftp/jars/castor-0.9.2.zip";>castor-0.9.2.zip</a> and 
extract castor-0.9.2.jar and xerces.jar.<br>
  -The CastorJDO integration module is here: <a 
href="castorjdo/jboss-castorjdo.jar">jboss-castorjdo.jar</a><br>
  -<p class="text">The sources can be found in <a href="cvs.jsp">CVS</a>, module 
  -  &quot;contrib&quot;.</font> 
  +
  +<p class="head"><b>Binary and CVS</b>
  +<p class="text"><a href="http://castor.exolab.org";>Castor</a> version 0.8.9 or 
later is needed.
  +All necessary binary files are included in the JBoss distribution since JBoss 
2.5.<br>
  +If you use older version, download <a 
href="http://ftp.exolab.org/ftp/jars/castor-0.9.3.zip";>castor-0.9.3.zip</a>, extract 
castor-0.9.3.jar and xerces.jar
  +and take the CastorJDO integration module <a 
href="castorjdo/jboss-castorjdo.jar">here</a>.
   <p class="text">A complete example of use of CastorJDO in SessionBean is <a 
href="castorjdo/rooms.zip">here</a> (contributed by Terry Child).
  -    
  +
   <p class="head"><b>How-to</b>
   <p class="text">
   <ul>
  @@ -38,6 +38,7 @@
       &lt;attribute name="<b>LockTimeout</b>"&gt;0&lt;/attribute&gt;
       &lt;attribute name="<b>LoggingEnabled</b>"&gt;false&lt;/attribute&gt;
       &lt;attribute name="<b>CommonClassPath</b>"&gt;false&lt;/attribute&gt;
  +    &lt;attribute name="<b>AutoStore</b>"&gt;false&lt;/attribute&gt;
     &lt;/mbean&gt;
   </pre>
   where the attributes are:
  @@ -66,7 +67,9 @@
      MLET in jboss.conf - in this case set the argument to <b>true</b>,
      or via EJB jar classpath (i.e. either they are in the same jar or
      they are accessible via Class-Path: attribute of META-INF/MANIFEST.MF) -
  -   in this case set the argument to <b>false</b>. The default value is <b>false</b>.
  +   in this case set the argument to <b>false</b>. The default value is 
<b>false</b>.</li>
  +<li><b>AutoStore</b> - whether to automatically create/update related objects, 
which are not dependent.
  +   This attribute works starting from Castor 0.9.4.</li>
   </ul>
   <li>Declare the resource managers in your jboss.xml besides your
   ejb-jar.xml, e.g.:<br>
  
  
  

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

Reply via email to