File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes JDO vs. Castor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDO vs. Castor" Watch "JDO vs. Castor" New topic
Author

JDO vs. Castor

mark evertz
Greenhorn

Joined: Apr 11, 2002
Posts: 22
Hello all,
does anybody know what the main differences between Exolab's Castor and the JDO-spec. are?
We want to use it in a bigger application, because the first tests leads to the impression, that Castor is much easier to use than e.g. OJB.
On the other side I read that JBoss (the most popular application using Castor for CMP) will change to an Aspect oriented approach (??!?!?!?) not using Castor?!
Maybe someone can enlight me a little bit? :roll:
Ed Trembicki-Guy
Greenhorn

Joined: Mar 19, 2003
Posts: 7
It was my impression that Castor implements the JDO spec. No?


The things I did not know at first I learned by doing twice. -Billy Joel
Philip Shanks
Ranch Hand

Joined: Oct 15, 2002
Posts: 189
IIRC, Castor compiled Java classes from XML-Schema while the original JDO was still limited to DTD's.
I believe this distinction has gone away with the final release of JAXB 1.0.1.
UPDATE... Sorry, I was apparently confusing Castor XML with Castor whatever...
[ June 17, 2003: Message edited by: Philip Shanks ]

Philip Shanks, SCJP - Castro Valley, CA
My boss never outsources or has lay-offs, and He's always hiring. I work for Jesus! Prepare your resume!
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
It was my impression that Castor implements the JDO spec. No?
OnJava article -
"Castor JDO": Simply False Advertising


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
David Jordan
Author
Ranch Hand

Joined: Jun 14, 2003
Posts: 66
Castor JDO does not support the Java Data Objects (JDO) specification. I have already written about this elsewhere, the link is found in this thread.
JBoss has decided to provide a JDO implementation in their JBoss 4.0 release. They looked at the various persistence solutions and decided JDO had the best approach.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JDO vs. Castor
 
Similar Threads
Tapestry and Persistence
Application Server + Castor
JDO API
JDO API
JBoss 3.0 + Castor Transaction Rollback Exception