Wednesday, August 4, 2010

Low high eye hand to teach beginners how to learn Hibernate


Hibernate entry easy, I can not boast proficient grasp. I see Hibernate documentation, when the first pass is also very difficult, but not as hard to grasp the struggling Hibernate, because Hibernate persistence layer design documents everywhere experience and best practices.

Hibernate documentation is accurate, most of the content are telling the object persistence layer design, rather than simply use Hibernate, check the use of Java doc is enough. So to learn Hibernate, mainly in the learning persistence layer design mode, if you have read the Hibernate documentation, but also will provide all the configuration issues that Hibernate, Hibernate class called, I think such a person has no real entry, be a white school.

I have configured is not Hibernate those special enough, each write hbm, must control a little bit of checking documents; class called parameters do not recall at any time to write the code should be Java doc for future reference.

But when I learn Hibernate or Hibernate concentrate all efforts to understand the operation principle of focus to control the persistence layer should be designed to grasp the principles and techniques, most of these Caidui I reuse things. It is no exaggeration to say that learning finished Hibernate, JDBC programming I also increased by a mile, not to mention for the persistence layer of J2EE architecture framework design, basically gains a complete, even if in the future for the API, not Hibernate, and to use JDO, Castor anything, the experience just kept on using.

Hibernate is not primarily to learn how to configure Hibernat in learning, how to use tools to generate hbm file, if you focus on here is basically equivalent to white learn Hibernate. Hibernate is the unique essence of the object persistence layer smart design, the persistence layer design experience will not Hibernate you do not lose out, I have to learn Hibernate, has obviously felt the design capacity of the persistence layer has long experience of the value of the lot, These experiences not only can be used even Java, the use of the. net is also the same.

Therefore, the learning Hibernate configuration, I simply look at the time know where to use search on the line, a bunch of complex generation tool I simply can not not go, so doing, control the configuration of Hibernate, you can use Hibernate JDBC written procedures in place, but take 3 days is sufficient. I think 3 days is not extravagant to you, the price of learning it.

Why am I so stressed learning Hibernate object persistence layer design it? Then look at your ideal life to be a programmer to do? Or would like more direction to it? From a purely technical point of view to do, career development, the highest point "system architect", Bill Gates is not also known as Microsoft's chief systems architect it?

System Architect jobs need is your ability to learn and comprehend, if you can not get to learn Hibernate application design experience to other places, then you are a failure and not qualified to do System Architect.

Whether JDO Ye Hao, Hibernate Ye Hao, TopLink Ye Hao, CocoBase promoting or Castor, or what Torque, OJB, software use and configuration can vary, but essentially the ORM, are object of the JDBC persistence layer package, so their original aim, if you complete the study and master the Hibernate spent a month's time, you learn OJB then the time should not be more than one week, because you have to have an object persistence layer design However, in the chest, you just need to familiarize yourself with OJB's API and configuration fills As for how to use OJB for persistence of the development you would have been familiar.

So when you mastered two or more of the ORM, you should be able to use informal restrictions on ORM software designed for your persistence layer to the project, this is the System Architect level.

To an analogy with Jin Yong's novels for instance, Zhang Wuji Tai Chi sword study, only the sword meaning in mind, do not mind to find the correspondence, which is the true master, and the low hand will only learn to find the correspondence, not to understand to find the correspondence implied meaning behind the sword, so life is a low hand, never really learn Tai Chi sword. Therefore, Zhou Dian Zhang Sanfeng second demo to see Tai Chi sword, moves completely different and think that is another thing, in fact, essentially the same. Hibernate do not learn to learn a variety of forest for the trees of a wide variety of tools, focusing on its object persistence layer control design.






Recommended links:



89% home PC infected with 30 kinds of spyware record high since 2004



Ultimate Registry Operations - Lock Registry



Effectiveness Is The Fundamental Real Name Does Not Matter



Catalogs Games CARD



Shi Jun: everything from the integration START



MMS can replace SMS?



Consumer NAS Me and you?



Customize your life password



ps3 FORMAT



Joint Commerce and Industry of India: India will rely heavily on computer hardware in China



Convert flv to mp3



.ts files



Mathematics Education brief