A quick and practical guide to finding element by attribute in Selenium.
Search Results for: var
Merge Overlapping Intervals in a Java Collection
Learn how to take a Java collection of intervals and merge the overlapping ones.
Find Map Keys with Duplicate Values in Java
Learn how to find map keys associated with duplicate values in Java.
Java Weekly, Issue 535
Out with the RestTemplate (again), a look back, yes, back, at the just released Java 22 and forward at Java 23. And a solid piece on why we should fight against context-switching.
@Subselect Annotation in Hibernate
Learn how to use @Subselect to select entities not from a particular table but from a sub-select query.
Saga Pattern in a Microservices Architecture
Learn how to implement Saga Pattern in a microservices architecture with Orkes Conductor.
Create Spring Prototype Scope Bean with Runtime Arguments
Learn about creating a prototype-scoped bean with runtime arguments in Spring.
Java InputStream vs. InputStreamReader
Learn how an InputStreamReader builds on an InputStream to assist when working with streams of characters.
Get List of Entity From Database in Hibernate
Explore a few techniques for retrieving lists of entities from a database using Hibernate
Reading a .gz File Line by Line Using GZIPInputStream
Sometimes, we need to read compressed .gz files in Java. Learn to use Java’s built in stream libraries to read from gzip format files.
Vigenère Cipher in Java
A quick and practical guide to Vigenère Cipher in Java.
Creating PostgreSQL Schema Before Liquibase Execution
Learn how to create a PostgreSQL schema before Liquibase execution in Spring Boot.
Flatten a Stream of Maps to a Single Map in Java
Learn to combine a stream of maps into a single result map in Java.
Add One Element to an Immutable List in Java
Learn how to add an element to an existing immutable List in Java.
Invalid Characters in XML
In this article, we learn about various invalid characters and how to handle them in XML processing.
How to Convert Excel to JSON in Java
Explore two methods for converting Excel files to JSON format in Java: reading and processing Excel data with Apache POI and then converting it to JSON using the JSON and Jackson libraries.
Java Weekly, Issue 534
Java 22 is out. Nuff said 🙂
Check if a Given Time Lies Between Two Times Regardless of Date
Explore ways to determine if a particular time lies within the two times without considering dates.
Checking if a Date Object Equals Yesterday
Explore various approaches for determining whether a given date object falls on yesterday.
Dynamically Managing Kafka Listeners in Spring Boot
Learn how to manage Kafka Listeners dynamically in Spring Boot.