Subject:   Sun JDO standard is more flexible than Castor JDO impl !
Date:   2002-12-11 03:09:04
From:   anonymous2

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.

Luca Garulli (Member of Sun JDO Expert Group)
Orient Technologies

Main Topics Newest First

Showing messages 1 through 1 of 1.

  • Sun JDO standard is more flexible than Castor JDO impl !
    2003-09-05 09:59:52  anonymous2 [View]

    Maybe a benchmark is in order, but what is the real cost of CACHED reflection? From my _off-hand_ experience with castor and webmacros it wasn't noticeable.