ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Subject:   Sun JDO standard is more flexible than Castor JDO impl !
Date:   2002-12-11 03:09:04
From:   anonymous2
Hi,


Sun JDO standard is much more than an implementation like Castore JDO.


Sun JDO aims to make a very flexible standard to handle persistent objects without sacrifing performance and without to privilege vendor specific features.


JDO published a contract to be persistent. This may be done using bytecode enhancement, source code enhancement, or limiting the class to inherit a class that implements JDO contract (a class that inherit PersistenceCapable).


Castor works with SLOW reflection, dot. Since it doesn't define a "contract" there are no standard way (in Java) to know object attributes without using the reflection !!!


This is only one aspect of superiority of Sun JDO against other custom approach like Castor.


bye,
Luca Garulli (Member of Sun JDO Expert Group)
Orient Technologies
www.OrienTechnologies.com


1 to 1 of 1
1 to 1 of 1