Category: Java
Total: 389 Posts
Posts of Category: Java
Total: 389 Posts
Posts of Category: Java
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 MoreSimpleJavaEmailSpringSpring BootawscloudSpring CloudPrevent 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 MoreJavaSpringSpring Bootspring securityRemove 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 MoreStringJavaJava: 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 MoreStringJavaPretty-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 MoreJavaJsonSpringSpring BootjacksonChange 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 MoreJavaJsonjacksonReversing 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 MoreJavalistGuavaMath.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 MoreJavaGuide 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 MoreJavaSpring 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 MoreJavaSpringSpring Bootspring securityJava 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 MoreJavaStreamstreamsJava 8 Streams: Definitive Guide to findFirst() and findAny()
Introduction The findFirst() and findAny() methods are terminal operations (terminate and return results) of the Stream API. Yet, there is something special about them - they not only terminate a stream, but al...Learn MoreJavaStreamstreams