Comparison of Java Persistence Layer Technologies

Detta är en Kandidat-uppsats från Linnéuniversitetet/Institutionen för datavetenskap (DV)

Författare: Ang Sun; [2016]

Nyckelord: Data persistence; Data storage; Java; ORM; SQL; Database;

Sammanfattning: 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.

  HÄR KAN DU HÄMTA UPPSATSEN I FULLTEXT. (följ länken till nästa sida)