searching for yoda - a developer's tale
Date: 02/23/05

Date: 23 Feb 2005 12:57:23 -0800


if there are any wise and knowing individuals reading this who might be
able to set me on the true path, i'd be indebted.

So, the story goes: I've been a Java developer for a great long while,
but in a *very* sheltered community - I don't know and haven't used a
great many of what have become standard technologies. Most every
significant project involves a number of headaches that I believe have
been solved by said technologies.

I code with vi and build with hand-made scripts. I handle versioning
with hand-made scripts. I use no GUI builder and write JDBC to handle

I'm made aware of (and reasonably sold on) eclipse
( This can be made to include a GUI builder
( and handle versioning through cvs
( There's also a thing called MyEclipse
( which I know nothing about.

I *hate* writing SQL in seperate DAO's and worrying about a handcoded
persistence manager, connection caching, etc. This should be
automated. I search for a while and find the community has largely
come to like Hibernate ( There are even
plug-ins for Eclipse: Hibernator (,
Hibernate Synchronizer (, and
Hiberclipse ( are all mentioned in
an article

Hibernate Synchronizer seems to have the largest community, so I look
into it further. Looks like the empahsis is on going from a mapping
file to a db and Java code. There is a thing called middlegen
( that lets you start from the db
-- but what I'm good at is Java...

Ah ha, one can make Java generate the mapping file if one uses XDoclet
(, and the XDoclet
hibernate plug-in (
...sort of -- many references hint at bugs. XDoclet uses lower layers
to do its work which I'm not sure one needs to master independantly,
but they include Generama, Velocity, and Freemaker...

All of this of course requires Ant (, although
the XDoclet example for Ant is missing -- no worries, it does include
an example using Maven ( All of the set-up
for darn near everything uses XML of course, and there's an xml editor
plug-in for Eclipse -- XMLBuddy (

Most of the Hibernate examples use the HSQLDB
( for development.

That's a boatload of technologies folks. I've got active projects for
which I'd like to use Eclipse/Hibernate and don't have the time (I've
wasted far too long already) to fully investigate and learn all this.
What is the proper path through this open-source forest?

Kind regards,


Relevant Pages

  • Re: Doing JDBC code in a less unwieldy way?
    ... The manangement has the impression that hibernate makes ... I recommend sticking with the JPA API with the selected ORM, ... full-blown Java EE app server setup. ... examples abound, that declares your entity classes, ...
  • Re: Does the DataSet have a future?
    ... I believe Java will not be able to catch .NET. ... >>I have recently finished reading 'Hibernate In Action' by Christian Bauer ... >> Is a true ORM solution superior to the DataSet, ...
  • Re: searching for yoda - a developers tale
    ... At this point, Eclipse is "sold". ... Thus the conversation really turns to how to fit Hibernate into ... The Root is pulled from the database and passed to a ... object graph by adding/deleting/modifying elements in the List ...
  • Re: O/R Hell
    ... and I don't need to worry about the back-end database changing - it ... Seems far easier than Hibernate. ... for the job i.e. writing stored procedures using the DB vendor's tools ... Java doesn't seem to be getting that much easier. ...
  • Re: Java Hibernate
    ... started with Java Hibernate and don't know the direction. ... JDBC connection is to MySQL, PostgreSQL, Oracle, Derby (a.k.a. Java ...