Reason must in all its undertakings subject itself to criticism; should it limit freedom of criticism by any prohibitions, it must harm itself, drawing upon itself a damaging suspicion. Nothing is so important through its usefulness, nothing so sacred, that it may be exempted from this searching examination, which knows no respect for persons. Reason depends on this freedom for its very existence. For reason has no dictatorial authority, its verdict is always simply the agreement of free citizens, of whom each one must be permitted to express, without let or hindrance, his objection or even his veto.
As an enterprise application architect, you have more options than just choosing between a persistence model blessed by Sun and rolling your own model. In fact, alternative persistence models have been gaining in popularity recently for a variety of reasons:
EJBs are complex and heavy and they require an application server.
JDBC is time-consuming and requires a significant degree of database programming skill.
JDO is late on the scene and still lacking in implementations.
A quick search of the Internet will reveal a variety of alternative persistence systems. Two of the most popular are the Castor JDO (not an implementation of the Sun JDO specification) and Hibernate projects. This chapter looks at Castor and Hibernate as alternative XML object-relational mapping tools.