Category: Java
Posts of Category: Java
  1. Concurrency in Java: The synchronized Keyword

    .lazyload-placeholder { display: none; } Introduction This is the second article in the series of articles on Concurrency in Java. In the previous article, we learnt about the Executor pool and various categori...Learn More
  2. Guide to Simple Email Service (AWS SES) with Spring Boot and Spring Cloud

    .lazyload-placeholder { display: none; } Introduction AWS SES (Simple Email Service) is a simple-to-setup email sending and receiving service. It is usually difficult, finicky and tedious to manage an on-premis...Learn More
    SimpleJavaEmailSpringSpring BootawscloudSpring Cloud
  3. Prevent Cross-Site Scripting (XSS) in Spring Boot with Content-Security Policies (CSPs)

    .lazyload-placeholder { display: none; } Introduction The security of users and their personal data while using a web application is paramount. While this guiding principle has been acknowledged even from the e...Learn More
    JavaSpringSpring Bootspring security
  4. Remove Punctuation From a String in Java

    .lazyload-placeholder { display: none; } During textual processing, whether you're searching for certain words and making pattern matching rules, counting the frequency of elements, etc. - punctuation can throw...Learn More
  5. Java: Count Number of Word Occurrence in String

    .lazyload-placeholder { display: none; } Introduction Counting the number of word occurrences in a string is a fairly easy task, but has several approaches to doing so. You have to account for the efficiency of...Learn More
  6. Pretty-Printing JSON with Jackson in Java and Spring Boot

    .lazyload-placeholder { display: none; } Jackson is one of the most common libraries for working with serialization and deserialization in Java and Spring Boot, primarily used for parsing and converting between...Learn More
    JavaJsonSpringSpring Bootjackson
  7. Change JSON Field Name with Jackson in Java

    .lazyload-placeholder { display: none; } Jackson is a very common library for handling JSON and serialization/deserialization in general in Java and Spring Boot based projects. Jackson handles property names b...Learn More
  8. Reversing a List in Java - In-Place and Out-Of-Place

    .lazyload-placeholder { display: none; } In this short tutorial, you'll learn how to reverse a list in-place and out-of-place in Java. Reversing In-Place and Out-Of-Place When performing operations on lists -...Learn More
  9. Math.sqrt - Square Root in Java

    .lazyload-placeholder { display: none; } Introduction Calculating the square root of a number is one of the common operations we do in computer science. This simple mathematical function finds its use in all ar...Learn More
  10. Guide to Interfaces in Java

    .lazyload-placeholder { display: none; } Introduction Interfaces in Java are one of the basic concepts of object-oriented programming that are used quite often alongside classes and abstract classes. An interfa...Learn More
  11. Spring Boot: Guide to RestTemplate

    Introduction In this guide, we'll be taking a look at one of the most frequently used and well-known template in the Spring Ecosystem - known as RestTemplate, and how to use RestTemplate to send HTTP requests, ...Learn More
    JavaSpringSpring Bootspring security
  12. Java 8 Streams: Definitive Guide to Parallel Streaming with parallel()

    Parallel Streams in Java 8 Today, the Java Streams API is in extensive use, making Java more functional than ever. Thus, models like MapReduce have emerged for easier stream handling. Although these models mad...Learn More