Get and Post Lists of Objects with RestTemplate 1. Introduction The RestTemplate class is the central tool for performing client-side HTTP operations in Spring. It provides several utility methods for building HTTP requests and handling responses. And, since RestTemplate integrates well with Jackson, it can serialize/deserialize most objects to and from JSON… Continue Reading spring-rest-template-list

Java Weekly, Issue 264 Here we go… 1. Spring and Java ===== >> Practice Mock Interviews & Coding Problems with Pramp Sponsored If you’re looking to improve your interview game, definitely have a look at the Pramp mock interviews on Data Structures and Algorithms, System Design, etc. Get unlimited tries. >> Certificate Transparency Verification in Java… Continue Reading java-weekly-264

Add a Header to a Jersey SSE Client Request 1. Overview In this tutorial, we’ll see an easy way to send headers in Server-Sent Event (SSE) client requests using the Jersey Client API. We’ll also cover the proper way to send basic key/value headers, authentication headers, and restricted headers using… Continue Reading jersey-sse-client-request-headers

JDK Configuration for Maven Build in Eclipse 1. Overview The Eclipse IDE is one of the most common tools for Java application development. It comes with default settings that enable us to build and execute our code right away within the IDE. However, these default settings are sometimes not sufficient… Continue Reading maven-eclipse-jdk-configuration

Data Modeling in Cassandra 1. Overview Cassandra is a NoSQL database that provides high availability and horizontal scalability without compromising performance. To get the best performance out of Cassandra, we need to carefully design the schema around query patterns specific to the business problem at hand. In this article, we… Continue Reading cassandra-data-modeling

Introduction to Spring MVC HandlerInterceptor 1. Introduction In this tutorial we’ll focus on understanding the Spring MVC HandlerInterceptor and how to use it correctly. _ _ 2. Spring MVC Handler And in order to understand the interceptor, let’s take a step back and look at the HandlerMapping. This maps a… Continue Reading spring-mvc-handlerinterceptor