File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDO vs. Castor

 
mark evertz
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It was my impression that Castor implements the JDO spec. No?
 
Philip Shanks
Ranch Hand
Posts: 189
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It was my impression that Castor implements the JDO spec. No?
OnJava article -
"Castor JDO": Simply False Advertising
 
David Jordan
Author
Ranch Hand
Posts: 66
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic