For the past couple of weeks I have been working on Jaxor, an Object Relational Mapping library that is based on Martin Fowler's PEAA. I have contributted a couple of updates and I have more in store that should make some things more semantic. One of the things that I am always asked at work is, why not use Hibernate? The answer for a while has been the fact that reflection is hard to debug. I think the answer now is, complexity. Check out the 2.0 DTD and you will see what I mean.
The DTD is very verbose. There is an element for everything that you can do in Hibernate. One-to-many, Many-to-many, bags... by the way, what is a bag? Anyway, the DTD is well commented and that reduces some of the complexity... but lets get back to Jaxor.
I often contemplate writing a tutorial, but Mike has already done a good job of covering the basics. Take a look at the docs on the Jaxor Site. If you want to know the theory, go buy Martin's book. I will probably write a tutorial in the next couple of days to help new users get started, but it isn't neccessarily needed.
Posted by carl at August 16, 2004 11:14 PM
Why anyone would think that XML is a better programming language than Java is beyone me. I think the best place to store these mappings is in the database! Regardless, if there was a clever way to test the correctness of these mappings, that would be a start. Some of us have grown accustomed to getting compile time correctness as a first sign of success. With reflection, you better have a complete set of tests, or you have no idea what your code is doing.
What amazes me further is that Hibernate goes to these great lengths to map objects to relational structures, but still recommends that you have an object model that reflects your ER diagram. If you have a highly normalized database, this is a problem.
If anyone has ever been in the situation where they have to write an OO application to hit a database that has already been designed, you need to use something, but something that pushes you towards mirroring the table structure of the database is not too helpful.
Can we please start letting the OO developers do the modeling and put the DBAs back in the closet?
Posted by: mcknight at August 31, 2004 09:28 AM
Hi,
I am currently in searching for a perfect O/R mapping technology. After reading your log, I think jaxor is what I need. I have already downloaded its source, but, I have a problem of where to get started. The jaxor team does not have a how-to documentation. No book written about it as well. And since you're willing to come up with jaxor's tutorial, I'm really waiting for it. Please let me know once you're ready with the tutorial.
Much thanks.
Moses
Moses,
Please check out the documentation at http://jaxor.sf.net It is kinda spread out over a couple of different pages, but it is all there.
Also, don't forget to read the unit tests. That was a great source for instruction as well.
Posted by: Carl Fyffe at September 27, 2004 08:11 AM
5596 http://www.e-texas-holdem.info
texas holdem
Posted by: texas holdem at October 13, 2004 02:31 PM
6197 You only get one set of teeth. Take care of them with a good
dental plan. Dental
insurance is
money well spent. I sleep better since I signed up for my new dental insurance
plan.
Get yours at: http://dental-insurance-plan.freeservers.com/
http://www.online-sports-betting-source.com
online sports betting
Sports Betting Odds
Sports Betting Line
Football Sports Betting
NCAA Sports Betting
NFL Football Betting Line
American Football Betting
Online American Football Betting
Online Football Betting Lines
Online Sports Book
NFL Football Odds
NCAA Football Odds
Las Vegas Football Odds
2004 Super Bowl Odds
Sports Book Betting
Las Vegas Sports Book
Sports Book Odds
Internet Sports Gambling
Sports Betting Information
College Football Betting Odds
College Betting Line
NFL Point Spread
NCAA Point Spread
Super Bowl Point Spread
Vegas Point Spread
Legal Sports Betting
Online Betting Odds
Online Sports Book Betting
Online Sports Betting Site
home based business
home based business
opportunity
Comments