Comparison of Java Persistence Layer Technologies
Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
As data and data structures grown more complex in computing, the task of storing and accessing such data efficiently also becomes more complex. Object-oriented programming languages such as Java have popularized the practice of using class-based objects and created the challenge of persisting these complex objects to storage systems such as databases which only store simple scalar values. This paper seeks to explore and compare a selected num-ber of popular persistence solutions for the Java language in their use and per-formance. This is done through researching, implementing and performance testing the chosen candidates. Through these steps we have found that while more abstracted solutions provided easier implementation and usage, these positives come with the disadvantages of generally slower performance. We also discovered that while many persistence frameworks provide features that minimize the amount of code required for implementation, they suffer from performance issues such as the N+1 query issue if not configured or utilized correctly.
Place, publisher, year, edition, pages
2016. , 37 p.
Data persistence, Data storage, Java, ORM, SQL, Database
IdentifiersURN: urn:nbn:se:lnu:diva-57667OAI: oai:DiVA.org:lnu-57667DiVA: diva2:1040755
Subject / course
Software Technology Programme, 180 credits
2016-05-31, B3033, Linnéuniversitetet, P G Vejdes väg, 351 95, Växjö, 14:00 (English)
Hagelbäck, Johan, Lektor
Flygt, Ola, Lektor