ePrints.FRI - University of Ljubljana, Faculty of Computer and Information Science

Use of object-relational mapping tools for development of java based applications

Rok Logonder (2011) Use of object-relational mapping tools for development of java based applications. EngD thesis.

Download (2399Kb)


    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.

    Item Type: Thesis (EngD thesis)
    Keywords: object reational mapping, persistency, MyBatis, Hibernate, DataNucleus
    Number of Pages: 40
    Language of Content: Slovenian
    Mentor / Comentors:
    Name and SurnameIDFunction
    viš. pred. dr. Damjan Vavpotič286Mentor
    Link to COBISS: http://www.cobiss.si/scripts/cobiss?command=search&base=50070&select=(ID=00008665684)
    Institution: University of Ljubljana
    Department: Faculty of Computer and Information Science
    Item ID: 1532
    Date Deposited: 23 Sep 2011 23:12
    Last Modified: 04 Oct 2011 08:46
    URI: http://eprints.fri.uni-lj.si/id/eprint/1532

    Actions (login required)

    View Item