G
Greg Gates
I have recently finished reading 'Hibernate In Action' by Christian Bauer
and Gavin King. I'm quite impressed with the functionality that is
available in Hibernate. I am now questioning if the DataSet has a future.
While the DataSet certainly contains a good deal of very useful
functionality, it appear that a Hibernate solution offers more flexibility
and, given good tools, a similar ease of use. In addition, the DataSet is a
very "Microsoft-centric" approach. I wonder if a DataSet style approach is
transferable to the Java world. I get the sense from following the Java and
Object newsgroups that a table-oriented architecture is generally not
considered to be the best approach as it is not as flexible and is more
difficult to implement complex business rules.
So what to do? NHibernate is still in beta. There are no out-of-the-box
tools for object relational mapping in .NET. There are a variety of third
party ORM tools for .NET, but they have widely differing approaches and
none appear to have the momemtum of Hibernate.
Is a true ORM solution superior to the DataSet, and will this cause the
DataSet to become legacy once ObjectSpaces is available?
It appears the Hibernate offers the functionality that ObjectSpaces will
offer, but I can use Hibernate today!
For these reasons,I am seriously considering using Eclipse,Hibernate and
SWT/JFace for a windows client desktop application. What do you think? Is
this going too far? Am I throwing the baby out with the bathwater?
thanks, Greg
and Gavin King. I'm quite impressed with the functionality that is
available in Hibernate. I am now questioning if the DataSet has a future.
While the DataSet certainly contains a good deal of very useful
functionality, it appear that a Hibernate solution offers more flexibility
and, given good tools, a similar ease of use. In addition, the DataSet is a
very "Microsoft-centric" approach. I wonder if a DataSet style approach is
transferable to the Java world. I get the sense from following the Java and
Object newsgroups that a table-oriented architecture is generally not
considered to be the best approach as it is not as flexible and is more
difficult to implement complex business rules.
So what to do? NHibernate is still in beta. There are no out-of-the-box
tools for object relational mapping in .NET. There are a variety of third
party ORM tools for .NET, but they have widely differing approaches and
none appear to have the momemtum of Hibernate.
Is a true ORM solution superior to the DataSet, and will this cause the
DataSet to become legacy once ObjectSpaces is available?
It appears the Hibernate offers the functionality that ObjectSpaces will
offer, but I can use Hibernate today!
For these reasons,I am seriously considering using Eclipse,Hibernate and
SWT/JFace for a windows client desktop application. What do you think? Is
this going too far? Am I throwing the baby out with the bathwater?
thanks, Greg