User: oleg
Date: 00/11/23 04:45:52
Modified: business jboss-castor.html
Log:
Updated information about CastorJDO module
Revision Changes Path
1.2 +51 -53 newsite/business/jboss-castor.html
Index: jboss-castor.html
===================================================================
RCS file: /products/cvs/ejboss/newsite/business/jboss-castor.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- jboss-castor.html 2000/11/17 02:29:25 1.1
+++ jboss-castor.html 2000/11/23 12:45:52 1.2
@@ -1,56 +1,54 @@
<html>
- <head>
- <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
- <meta name="generator" content="Adobe GoLive 4">
+ <head>
+ <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
+ <meta name="generator" content="Adobe GoLive 4">
<link rel="stylesheet" type="text/css" href="main.css" >
- </head>
+ </head>
- <body marginwidth="0" marginheight="0" onload="">
- <table border="0" cellpadding="0" cellspacing="3">
- <tr>
- <td width="600" valign="top">
- <table border="0" cellpadding="2"
cellspacing="0">
- <tr>
- <td
class="pageheader"><b>jBoss/Castor</b></td>
- </tr>
- <tr>
- <td class="newsheader"><b>An
integration for JDO support</b></td>
- </tr>
- <tr>
- <td class="newsbody">
<p> The jBoss/CastorJDO integration is an effort led by Oleg Nitz.
- <p>The <a
href="http://access1.sun.com/jdo/">"Java Data Objects specification"</a>
says:</p>
- <p><i>Java Data
Objects is a suitable component for integration with EJB in these scenarios:</i></p>
- <ul>
- <li><i>Session
Beans with JDO classes as dependent objects;</i>
- <li><i>Entity
Beans with JDO classes as delegates for both Bean Managed Persistence</i>
- </ul>
- <p>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
"Java Data Objects Specification"</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>
- <p>The jBoss/Castor
integration makes it possible to use Castor JDO DataObjects factories as bean
resources. These resources can be found in the JNDI namespace of the beans.</td>
-
- </tr>
- <tr>
- <td
class="newsheader"><b>Binary and CVS</b></td>
- </tr>
- <tr>
- <td class="newsbody"><font
face="Myriad Web,Arial">The latest version of <a
href="http://castor.exolab.org">Castor</a> from CVS is needed for now, since some
methods used by the integration module were added after the official release of Castor
0.8.8. You should also take xerces.jar file there. Alternatively, you can take all
needed jar files from the jBoss repositories:</font>
- <p><a
href="http://cvs.working-dogs.com/ejboss/cvsweb/index.cgi/~checkout~/contrib/castorjdo/lib/castor-0.8.8.jar?rev=1.1&content-type=text/plain"><font
face="Myriad Web,Arial">castor-0.8.8.jar</font></a><font face="Myriad Web,Arial">
Copyright 2000 © Intalio Inc. All Rights Reserved.</font></p>
- <p><a
href="http://cvs.working-dogs.com/ejboss/cvsweb/index.cgi/~checkout~/contrib/castorjdo/lib/xerces.jar?rev=1.1&content-type=text/plain"><font
face="Myriad Web,Arial">xerces.jar</font></a><font face="Myriad Web,Arial"> Copyright
2000 © Apache organization. All Rights Reserved.</font></p>
- <p><font face="Myriad
Web,Arial">The CastorJDO integration module is here:</font>
- <p><a
href="jboss-castorjdo.jar"><font face="Myriad
Web,Arial">jboss-castorjdo.jar</font></a><font face="Myriad Web,Arial"> Copyright 2000
© The jBoss organization. All Rights Reserved.</font></p>
- <p><font face="Myriad
Web,Arial">The sources can be found in <a href="../cvs.htm">CVS</a>, module
"contrib".</font></td>
- </tr>
- <tr>
- <td
class="newsheader"><b>How-to</b></td>
- </tr>
- <tr>
- <td class="newsbody"><font
face="Myriad Web,Arial">
+ <body marginwidth="0" marginheight="0" onload="">
+ <table border="0" cellpadding="0" cellspacing="3">
+ <tr>
+ <td width="600" valign="top">
+ <table border="0" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="pageheader"><b>jBoss/Castor</b></td>
+ </tr>
+ <tr>
+ <td class="newsheader"><b>An integration for
JDO support</b></td>
+ </tr>
+ <tr>
+ <td class="newsbody"> <p> The jBoss/CastorJDO
integration is an effort led by Oleg Nitz.
+ <p>The <a
href="http://access1.sun.com/jdo/">"Java Data Objects specification"</a>
says:</p>
+ <p><i>Java Data Objects is a suitable component for
integration with EJB in these scenarios:</i></p>
+ <ul>
+ <li><i>Session Beans with JDO classes as
dependent objects;</i>
+ <li><i>Entity Beans with JDO classes as
delegates for both Bean Managed Persistence</i>
+ </ul>
+ <p>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
"Java Data Objects Specification"</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>
+ <p>The jBoss/Castor integration makes it possible
to use Castor JDO DataObjects factories as bean resources. These resources can be
found in the JNDI namespace of the beans.</td>
+
+ </tr>
+ <tr>
+ <td class="newsheader"><b>Binary and CVS</b></td>
+ </tr>
+ <tr>
+ <td class="newsbody"><font face="Myriad Web,Arial"><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.8.9.zip">castor-0.8.9.zip</a> and
extract castor-0.8.9.jar and xerces.jar.<br>
+ The CastorJDO integration module is here: <a
href="../castorjdo/jboss-castorjdo.jar">jboss-castorjdo.jar</a><br>
+ <p><font face="Myriad Web,Arial">The sources can be
found in <a href="cvs.html">CVS</a>, module "contrib".</font></td>
+ </tr>
+ <tr>
+ <td class="newsheader"><b>How-to</b></td>
+ </tr>
+ <tr>
+ <td class="newsbody"><font face="Myriad Web,Arial">
<ul>
<li>Put the three jars files mentioned above in lib/ext directory.</li>
<li>Add the Mlet in jboss.conf<br>
<pre>
<MLET CODE = "org.jboss.jdo.castor.CastorJDOImpl"
- ARCHIVE="jboss.jar,castor-0.8.8.jar,xerces.jar"
+ ARCHIVE="jboss.jar,castor-0.8.9.jar,xerces.jar"
CODEBASE="../lib/ext/">
<ARG TYPE="java.lang.String" VALUE="file:../conf/database.xml">
<ARG TYPE="java.lang.String" VALUE="dataObjectsJndiName">
@@ -66,7 +64,7 @@
reference(s) to mapping configuration file(s), e.g.:
<pre>
<database name="test" engine="oracle" >
- <jndi name="dataSourceJndiName"/>
+ <jndi name="java:/dataSourceJndiName"/>
<mapping href="mapping.xml" />
</database>
</pre>
@@ -141,13 +139,13 @@
</li>
</ul>
- </table>
- </td>
- </tr>
- <tr>
- <td width="600"></td>
- </tr>
- </table>
- </body>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td width="600"></td>
+ </tr>
+ </table>
+ </body>
</html>