File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Will there ever be a standard?

 
Barry Andrews
Ranch Hand
Posts: 523
C++ Java Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems there are so many different technologies out there for persistence; Hibernate, JDO, EJB, blah blah blah. Everyone has there own opinions about each one. My question is will there ever be a standard adopted for persistence? Why not just pick one and make it the best it can possibly be; addressing all bad issues from each of the technologies?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The good thing about standards is that there's always so many to pick from...
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Barry Andrews:
It seems there are so many different technologies out there for persistence; Hibernate, JDO, EJB, blah blah blah. Everyone has there own opinions about each one. My question is will there ever be a standard adopted for persistence? Why not just pick one and make it the best it can possibly be; addressing all bad issues from each of the technologies?


People would always find problems with the chosen standard, so you couldn't possibly address all bad issues. Who says what is bad and what is good?

You might find this humerous to read. It deals with IDE's but basically the same argument.
 
Alexandru Popescu
Ranch Hand
Posts: 995
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Barry Andrews:
My question is will there ever be a standard adopted for persistence? Why not just pick one and make it the best it can possibly be; addressing all bad issues from each of the technologies?


SUN through JCP tried this at least twice: once with JDO and second with EJB spec (the part for CMP).

It is not easy to find a generic/best solution for such a large field of mapping objectual world to anything, ain't it?

./pope
 
Barry Andrews
Ranch Hand
Posts: 523
C++ Java Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gregg,
I liked your blog! Very true!

Off topic comment: I am also attached to Eclipse right now.
 
Scott Ambler
author
Ranch Hand
Posts: 608
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The first step would be to define a standard for doing representing mappings to begin with. Just like object modeling has the UML, object mapping needs the "Mapping Modeling Language" or something similar. With a common mapping interchange format would it really matter which product you were using?

- Scott
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Scott Ambler:
The first step would be to define a standard for doing representing mappings to begin with. Just like object modeling has the UML, object mapping needs the "Mapping Modeling Language" or something similar. With a common mapping interchange format would it really matter which product you were using?

- Scott


That's an interesting point Scott. Hmmm.
 
Alexandru Popescu
Ranch Hand
Posts: 995
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Scott Ambler:
The first step would be to define a standard for doing representing mappings to begin with. Just like object modeling has the UML, object mapping needs the "Mapping Modeling Language" or something similar. With a common mapping interchange format would it really matter which product you were using?

- Scott


Very nice idea... but I would rather define firstly the set of mapping targets. And as long as you cannot include everything into this set, no absolutely generic spec will be ever possible. (sounds kind of pessimitic, ain't it?).

./pope
 
Gavin King
author
Ranch Hand
Posts: 76
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hum, Scott, I think some of the people promoting POJO persistence and ORM are actually not very big fans of UML ;-)

I agree that it would be nice to at least agree on *names* for things.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic