Spring Framework
-
Java Persistence API (JPA) ~ Part 2 ~ Entity Manager
The entity manager API is used to create and remove entity instances, find entities by their primary key and to query entities. JPA defines a persistence unit in the persistence.xml file which caters…
-
Java Persistence API (JPA) ~ Part 1 ~ The basics
What is persistence? Applications are designed to store and manipulate data in a remote datasource/database so that it can be retrieved, processed, transformed or analyzed at a later time. Persistence refers to the…
-
Inversion of control in Spring
In Inversion of Control (IOC), the container itself maintains the class dependencies and manages the lifecycle of those dependencies. Objects are injected as dependencies when required at runtime or at application startup as…
-
Spring Data JPA
Spring Data JPA provides a common set of interfaces based on Java Persistence API (JPA) leveraging method naming conventions to derive data access behaviour using JPA and Hibernate which provides aspected behaviour. Practically,…