-
Java memory management
The most common memory in a computer is the RAM (Random Access Memory) which stores and accesses data while applications are running. The way in which computer memory works is very similar to…
-
The Collections interface
The Collections interface is the root interface extended by most collection types and defines common methods for all collection types. Interfaces and concrete implementations of a list, set and queue will inherit these…
-
Spring Data
When an application requires interaction with a database, that often means implementing a considerable amount of boilerplate code which, over time, becomes difficult to maintain. Spring data eliminates boilerplate code and abstracts database…
-
RDMS interaction with Hibernate
Hibernate Object Relational Mapping (ORM) is an open source framework that facilitates Java program access and data persistence to a relational database management system. Hibernate is an implementation of JPA and can either…
-
Streams API
The Streams API creates a sequence of items and iterates through data collections by collapsing iterations into more efficient and readable code. There are multiple ways to create a stream instance from a…
-
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…
-
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,…