Re: Does the DataSet have a future?

From: Val Mazur \(MVP\) (group51a_at_hotmail.com)
Date: 03/04/05


Date: Thu, 3 Mar 2005 20:37:55 -0500

I believe Java will not be able to catch .NET. Like for me it is too late
for them to catch it. It reminds me same situation with Sybase SQL Server.
They had pretty big market, but did nothing to make their product better. As
a result Microsoft punished them with their version of SQL Server, which now
has more market share.

-- 
Val Mazur
Microsoft MVP
http://xport.mvps.org
"David Browne" <davidbaxterbrowne no potted meat@hotmail.com> wrote in 
message news:%23Ds7OUBIFHA.576@TK2MSFTNGP15.phx.gbl...
>
> "Greg Gates" <ggates@capcollege.bc.ca> wrote in message 
> news:59830ce1.0503030850.7e531376@posting.google.com...
>>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.
>
> Look at JDBC Rowsets.  New and very similar toe DatSets.  I think Java is 
> just trying to catch up with ADO.NET.
>
>>
>> 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?
>
> And exactly when to you think that will be?
>
>> 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?
>>
>>
>
> Definitely a bad idea.  DataSets are much better than ORM solutions for 
> windows client desktop apps.  For that kind of app you don't want to hide 
> the tabular nature of the data.  Fetch DataSets, bind them to UI widgits, 
> let the user fiddle with them, and flush them back to the database.  You 
> will be able to this in a fraction of the code it would take with 
> Eclipse\SWT\Hibernate.
>
> ORM tools aim to make relational data "look like" objects.  Even if an ORM 
> tool is 100% sucessfull and introduces 0% overhead, you're still treating 
> living a lie.  Tables are not objects, and vice versa, and pretending 
> otherwise will always cause problems.
>
> Now depending on how data-intensive your application is, this may be a 
> trade-off you can live with.
>
> David
> 


Relevant Pages

  • Re: Does the DataSet have a future?
    ... >I have recently finished reading 'Hibernate In Action' by Christian Bauer ... I'm quite impressed with the functionality that is ... I get the sense from following the Java ... > Is a true ORM solution superior to the DataSet, ...
    (microsoft.public.dotnet.framework.adonet)
  • 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. ...
    (comp.lang.java.programmer)
  • Re: Looking for a lightweight persistance framwork
    ... using a relational DB *and* if you really need to use Java ... the tested and proven ORM out there, ... Note that this shall come as heresy in a newsgroup where ... IBM DeveloperWorks "The busy Java developer's guide to db4o" ...
    (comp.lang.java.programmer)
  • searching for yoda - a developers tale
    ... I've been a Java developer for a great long while, ... I'm made aware of eclipse ... come to like Hibernate. ... one can make Java generate the mapping file if one uses XDoclet ...
    (comp.lang.java.programmer)
  • Re: mySQL
    ... An ORM is an Object Relational Mapping tool or framework. ... In Hibernate, for example you can create a class & provide a simple XML file ... objects for you & you do not need to write any sql. ... to have a reasonable understanding of how databases work though when using ...
    (comp.lang.java.help)