Understanding Memory Management in Java

Memory management is the process of allocating objects and removing the unused objects so that memory can be allocated for new objects. Heap and Nursery Heap is created when JVM starts up and may increase or decrease in size during application runtime. Java objects reside in the heap area. Garbage collection is run when heap […]

Understanding Run-Time Data Areas in Java Vitual Machine

The Java Virtual Machine (JVM) defines various run-time data areas that are used during execution of a program. Some of these data areas are created on Java Virtual Machine start-up and are destroyed only when the Java Virtual Machine exits. Other data areas are per thread. Per-thread data areas are created when a thread is […]

Java Vitual Machine

Java Virtual Machine also known as JVM, is a cornerstone of Java platform. It is important platform to execute your Java applications. The first prototype implementation of JVM was created at Sun Microsystems. It was emulated in software hosted by a handled device called Personal Digital Assistant(PDA). Oracle’s current implementations emulate the JVM on mobile, […]

Spring Boot + Angular Functional Reactive Programming Example

Introduction This tutorial is about Spring Boot + Angular Functional Reactive Programming Example that will show you how you will create REST APIs using Spring Boot Functional Reactive Programming and consume these server side REST APIs using Angular Reactive Programming. We have seen in our example on Spring Boot Functional Reactive Programming, which you must […]

Spring Boot Functional Reactive Programming Example

Introduction This tutorial will show you an example on Spring Boot Functional Reactive Programming (FRP). What are Reactive and Functional Reactive Programming? Reactive programming is a declarative programming paradigm concerned with data streams and the propagation of change. In other words, Reactive Programming is a style of micro-architecture involving intelligent routing and consumption of events, […]

How to create HTTP server in Java to serve static resources

Here I will show you how to create HTTP server in Java to serve static resources using sun’s HttpServer. An HTTP Server is bound to an IP address and port number and listens for incoming requests and returns responses to clients. Simple http server is flexible to be added into complex projects for rendering HTML elements […]

What is the use of @Temporal annotation in JPA

Here we will know the use of @Temporal annotation in JPA. @Temporal is a JPA annotation and generally specified only for persistent fields or properties of type java.util.Date and java.util.Calendar. This @Temporal annotation is generally we use on the date or calendar field in entity classes during table and Java class mapping where Hibernate is used […]

Composition vs Aggregation explained with Java

Composition vs Aggregation explained with Java will show you what is Composition and what is Aggregation? In simple terms, both Composition and Aggregation are Associations. Composition means “Strong Has-A relationship”, whereas, Aggregation means “Weak Has-A relationship”. Composition implies a relationship where the child cannot exist independently without the parent. Example: House (parent) and Room (child). Room doesn’t […]

Spring Boot Data JPA Left, Right, Inner and Cross Join Examples

Introduction This tutorial will show you Spring Boot Data JPA Left, Right, Inner and Cross Join Examples. We will tell you here how to use this example in Spring Boot application, where we will use Spring Data JPA Repository to query our database tables. We will use here custom query using @Query annotation to fetch […]

Scroll to top