Purpose of Choosing Hibernate Over Other individuals O-R Mapping Persistence Frameworks in Java

0
79
Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  


At this time my enterprise is working with “IBATIS” and pure “SQL”s as database persistence system. I like SQL query extremely significantly, particularly in tuning, but i just do not like code all SQL query in Java application, it really is simple strike typo error and what a stupid and cumbersome occupation? I made a decision to suggest a O/R mapping mechanism (Hibernate )as our new java databases persistence system

Why we need to have O/R mapping?

1) Productivity – It can help developer get rid of producing sophisticated and laborous SQL statement, developer no much more have to have of JDBC APIs for consequence set or data managing. It will make developer much more concentrate on the business enterprise logic.

2) Maintainability – It will help reduce traces of code, it would make method a lot more easy to understand. It emphasizes business logic fairly than persistence function (SQLs). Far more significant, a process with a lot less code is simpler to refactor.

3) Portability – It abstracts our application absent from the fundamental SQL database and sql dialect. Switching to other SQL databases demands number of variations in Hibernate configuration file (Publish when / operate-any place)

Below are some Common Open up Resource Persistence Frameworks in Java

1) Hibernate

2) EJB3

3) Oracle Top Website link

4) Cayenne

5) Open up JPA

6) IBATIS

7) JPOX

I do not want to evaluate each individual O/R or non O/R persistence system individually, it could expended more than a person month consist of into research and hand-on exercise. Base on my personal humble belief, I will choose Hibernate as the most effective O/R mapping persistence system around the others applications.

Motive of picking Hibernate

1) It supplies all earlier mentioned O/R advantages. (Productiveness, Maintainability, Portability).

2) It is absolutely free and open up source – Value Successful

3) The discovering curve is small. It is completely item orientated notion, it will shorted our studying curve.

4) “Hibernate instruments” provided by local community allows developer crank out or acquire software quite fast and quick. (Eclipse’s Plugin & Code technology instruments)

5) It is well-known, when we goes wrong with it, we can quickly discover the respond to from Google. In addition, there are several publications, communities and boards to guidance it.

6) Java Current market have to have It, demand of Hibernate’s developer is escalating and unquestionably far more then the some others resources. This operating expertise absolutely insert rewards on our resume for the subsequent bounce.

Resource by Yong Mook Kim

Don't miss out!
Subscribe To Newsletter

Receive top technical news, lesson ideas, travel tips and more!

Invalid email address
Give it a try. You can unsubscribe at any time.

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

LEAVE A REPLY

Please enter your comment!
Please enter your name here