Java record class is the new language construct introduced into java language to provide succinct way to create types that carry immutable data. record classes are a special
Java21 introduced Sequenced collections to improve the collections framework usability. Until Java21, the general way to get the first and last element of a list looks like the
Tomcat is a popular open source servlet container in the Java ecosystem. Tomcat is the default container for spring boot web applications (spring boot also supports other containers).
Kafka provides horizontal scalability through partitions and topic consumers. In a given consumer group, one partition can only be assigned to one consumer. Topic partitions can be increased
Kafka is a distributed event store and stream processing system. Multiple producers can write to topics and multiple consumers can consume from the topics. Topics can have multiple
Redis is in-memory data store primarily used as key value cache. Apart from simple string key values, redis has support for many other data structures. Some of the
Many applications has the requirement of making sure that certain user provided fields are unique in the system. For example a web application has to make sure that
In general we only encounter Strong references in Java program. But there are few other types of references as well. In this post we will see different types