So I started reading this book- Hibernate in Action.
One of the things that hit me was- that Hibernate is not a persistence API alone
Its a way of life...
If you are simply planning to plug out your JDBC API and plug in instead Hibernate- you will not be able to get the full force out of it
( Of course in any re-factoring project- compromises are made to see what can be done and achieved within the boundaries of other constraints.)
What you really need to do is- move away from thinking in terms of tuples and data sets- and instead think more in terms of objects...
Given the fact most of the enterprise applications are coded in Object oriented languages- it shouldn't difficult
But the fact is that most designs are strongly dominated by the Database layer and user interface
These two ends are start- all and end-all for most workflows
It takes great effort and discipline to make sure that these concerns don't leak...
Anyway- its a nice book and am on to the fourth chapter tomorrow
Yay !!!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment