RestTemplate in Spring

Overview RestTemplate reduces boilerplate code and enforces RESTful principles. In this post, we will discuss different ways in which we can use RestTemplate HTTP GET call HTTP POST call HTTP Exchange call HTTP DELETE call GET call Get entry point has two methods getForEntity: returns ResponseEntity which can be used to Read more…

Spring – An Overview

Overview Spring is a framework for dependency-injection which is a pattern that allows to build very decoupled systems. The Spring Framework is divided into modules. Applications can choose which modules they need. At the heart are the modules of the core container, including a configuration model and a dependency injection Read more…

Reflection in Java

Overview In this blog, we will cover the following points What is Reflection API? Using private methods Using private fields Sample Code Reflection API Reflection allows instantiation of new objects, invocation of methods, and get/set operations on class variables dynamically at run time without having prior knowledge of its implementation. Read more…

JVM, JDK, and JRE

Overview In this blog, we will cover the following points What is JVM, JRE & JDK Steps to run a java file JVM (Java Virtual machine) JVM is responsible for converting Byte code to the machine-specific code. JVM is also platform-dependent and provides core java functions like memory management, garbage Read more…