Java Streams

Java 8 streams

Java streams are sequences of data elements that can be processed with operations. Streams consist of 3 parts: a source, zero or more intermediate operations, and a terminal operation.In the meanwhile there is a data in pipe, another data is waiting its turn. For instance, for a data in terminal […]

Read More…

JWT security: securing REST APIs with Spring Boot and Security

JWT security

The move toward microservices and distributed architectures has made stateful session management increasingly difficult to scale. In a standard REST environment, the server should not be required to store session information about the client. JSON Web Tokens (JWT) have emerged as the industry standard for handling authentication in a stateless […]

Read More…

Fixing main class ambiguity in Spring Boot

Fixing main class ambiguity in Spring Boot

Searching for the main class. When building a Spring Boot application, the framework relies on the spring-boot-maven-plugin to package the project into an executable JAR. During the packaging phase, this plugin scans the compiled classes to locate the entry point—specifically the class annotated with @SpringBootApplication that contains the public static […]

Read More…

Java generic types

Generic Types

Let’s talk about the Java generic types. Most of the time, we add generics to make lists type-safe.We have pre-java 5 lists without generics that can get all known object’s types and when you get an object out of it we don’t know its type. When we use generics we […]

Read More…

BlogoBay
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.