CodeWeblog.com » principle,hbm,persistence layer » How to Learn Hibernate

How to Learn Hibernate

Introduction to Hibernate easier, I have not dare to claim that good. Hibernate watch my first pass when the document was very difficult, but it is not difficult to grasp because Hibernate and find it hard to document because the Hibernate persistence layer design are all the experience and best practices. Hibernate documentation is accurate, the vast majority of the contents of all speakers at the design of object persistence layer, Hibernate rather than simply use, the use of Java doc search enough. Study so Hibernate, mainly in the study of the persistence layer design mode, if you have read the Hibernate documentation, and also throughout the day will only talk about those questions Hibernate configuration, Hibernate questions call the categories, I do not think that the people have not really entry can be regarded as a study of white.

Those of my Hibernate configuration are not particularly skilled, Writing each hbm, must control a little bit of inspection documents; type parameter does not remember to call, write code to Java doc for future reference at any time. Hibernate but I study at the time that the concentration of all efforts to understand the operation of Hibernate principle, to focus on the persistence layer should be designed to have grasped the principles and techniques, these are only my most important things. Is no exaggeration to say that after studying Hibernate, I also enhance JDBC programming a big slice, not to mention for the persistence layer of J2EE architecture framework for the design, basically in the chest are very clear, even if the API for the future not Hibernate, and switch to JDO, Castor what, according to these experiences with like.

Hibernate is not studying at Hibernat Learn how to configure, how to use tools to generate hbm file, if you focus on here is basically equivalent to the study of white Hibernate. Hibernate is the essence of the object of unparalleled persistence layer smart design, the persistence layer design experience because you do not have Hibernate will not lose out, studying my own Hibernate, has obviously felt the design capacity of the persistence layer has long been a lot of experience, These experiences not only can be used even in Java, the use of at. net up as well. Learn Hibernate configuration so I am just easy to see, and know when to go there on the line search, and a pile of my instrument to generate complex simply can not see, so算下来master Hibernate configuration, you can use Hibernate Writing JDBC procedures to replace, but to spend 3 days would be sufficient. I think 3 days is not for you the luxury of studying the cost of it.

Why am I so stressed that the object of study Hibernate persistence layer design it? Watch it you think are the ideal life of a programmer to do it? Or want directions to a higher development? To do from a purely technical point of view, career development are of the highest point "system architect", Bill Gates is not also known as Microsoft's chief systems architect吗? System Architect jobs you need is the ability to study and comprehend, if you can not study the design of Hibernate experience be applied to other places, then you are a failure to do are not eligible for System Architect.
JDO or whether, Hibernate or, TopLink, or, CocoBase or the Castor, or what Torque, OJB, software and configuration can vary, but essentially ORM, are object of the JDBC-lasting layer package万变不离其宗so, if you study and master the complete Hibernate spent a month's time, then you re-OJB study time should not be more than one weeks, because you have put the object persistence layer design clear in the chest, and you only need to familiarize yourself with the API and configure OJB it, As for how to use OJB persistence layer for the development of you already familiar with.

So when you have two or more of the ORM, you should be able to use the ORM in any of the restrictions on software designed to fit your project to the persistence layer, this is the standard of System Architect. Jin Yong's novels to use an analogy for example, learn张无忌Chi sword, the sword is only intended to remember, do not mind剑招This is really a master, and the low hand can only go on剑招study, rather than to understand the sword strokes behind the sword behind Italy, life is so low hand, can never really learn to Taijijian. Master周颠so the second demo to see Tai Chi sword, a completely different movements on the other things that are, in fact, essentially the same. Hibernate is also studying the cart before the horse not to go study a variety of a variety of tools, the focus of its master object persistence layer design.
Digg Technorati StumbleUpon Mixx del.icio.us Reddit BlinkList Furl YahooMyWeb feedburner

Tags: principle (RSS), hbm (RSS), persistence layer (RSS), api (RSS), object persistence (RSS), design mode (RSS), architecture (RSS), concentration (RSS), little bit (RSS), best practices (RSS), experiences (RSS), java doc (RSS), doc search (RSS), smart design (RSS), type parameter (RSS), exaggeration (RSS), castor (RSS), important things (RSS), speakers (RSS)

Permalink: http://www.codeweblog.com/how-to-learn-hibernate/

Leave a reply