Jakarta EE 10 – Setting up a WebSocket Server
Jakarta EE 10 – Setting up a WebSocket Server
WebSocket is a bidirectional communications protocol that allows clients to send and receive messages through a single connection to a server
Blog
Notes on Java, architecture, cloud, and AI. Filter by month or tags to jump to a topic quickly.
Jakarta EE 10 – Setting up a WebSocket Server
WebSocket is a bidirectional communications protocol that allows clients to send and receive messages through a single connection to a server
Difference between equals() and ==
Both equals() method and '==' operator are used to check the equality of objects, but there is a significant difference between equals() and '=='.The equals method is present in the java.lang.Object class and is used to check the equivalence of the object, for v
Spring Boot Security – Secure REST API
In this article, we will learn how to secure the REST API using Spring Boot Security's Basic Authentication.With security in place, our application will provide the data to the user who is authenticated by basic authentication.
Monolithic architecture or microservices?
In order to understand microservices, we need to understand what monolithic applications are and what made us move from monolithic applications to microservices in recent times.
Java 17 – New features
With the new Java release cadence, we see a new Java release every 6 months, but we need to be careful about LTS releases.On September 20, 2021, the latest LTS version of Java was released, Java 17. For mature or production-ready applications
Java 8 Stream API – Exception I
In this part we will discuss a common exception that we may encounter when working with Streams in Java 8
Java – How to convert an Enumeration into a Stream?
Enumeration is an interface that was introduced in an older version of Java and is used to store a sequence of elements.An object that implements this interface generates a series of elements, one by one.Calling the nextElement method returns a successive element in the series.