Rok Logonder (2011) Use of object-relational mapping tools for development of java based applications. EngD thesis.
Whilst developing Java applications, we sooner than later come upon the data storing problem. Usually for saving data, we use a relationa database. For accesing the database we must connect to the database server. The means of connecting to the database and guaranteeing persistence to objects are provided by tools called object relational mappers. These tools provide the ilusion of dealing with tables in a relational database the same way as if the developer was dealing with Java objects. There are many kinds ob object-relational mapping tools on the market. For example, there are Object-Relational mapping tools that just map the results of queries into simple java objects and those, which use Java standards to ensure persistency of data. Use of these kind of tools shortens the developement time and decrease the size of workable code. The use of these kind of tools is becoming more popular each day so object relational mapping tools are being developed all the time. In certain situations we decide for the most appropriate data mapping tool. Whilst developing applications, where not many demand for data will be simultaneous, we normally decide for a data mapping tool which is simple to use and ensures viewable code. On the other hand, whils developing application where simultaneous access to the same data on the database are many, we decide for a data mapping tool that needs, at initialisation time and at executing query time as little time as possible. In this work, i compared object relational tools MyBatis, Hibernate and DataNucleus. Depending on the type of application i would decide for Hibernate and DataNucleus while developing less demanding application where simultaneus calls for the sam data are not many, and MyBatis for developing more advanced Java applications.
Actions (login required)