A quick and practical guide to JavaParser.
Search Results for: bin
Introduction to SSHJ
Learn the basic usage of the SSHJ library for secure communication with remote servers.
Java Weekly, Issue 541
The JVM GC leveling up, the Vary HTTP header and of course, records. A solid week.
Convert Jackson JsonNode to Typed Collection
Explore different methods of converting Jackson’s raw data type JsonNode into typed Java collections.
How to Iterate a List of Maps in Java
Explore various techniques for iterating through a List of Maps in Java.
Using Reactor Mono.cache() for Memoization
In this tutorial, we learn about memoization and demonstrate how to use Mono.cache() from the Project Reactor.
Converting short to byte[] in Java
Learn how to convert a short value to a byte[] array.
Fix Spring Boot H2 JdbcSQLSyntaxErrorException “Table not found”
This tutorial explores addressing the “Table not found” error in H2 databases, commonly encountered in Spring Boot applications. You can mitigate this issue by configuring H2, mapping entities, and managing data with JPA repositories.
Collecting into Map using Collectors.toMap() vs Collectors.groupingBy()
Learn about the difference between toMap and groupingBy when collecting a Java Stream into a Map.
Casting Maps to Complex Objects
Learn how to convert a Map to an Object or POJO in Java.
Get JSON Content as Object Using MockMVC
Explore several ways to get JSON content as an object using MockMVC and Spring Boot.
Converting Float ArrayList to Primitive Array in Java
Learn how to convert an ArrayList of wrapper classes into an array of primitives.
How to Use Pair With Java PriorityQueue
Learn how to use Comparators with PriorityQueues and how to change the sorting order in such queues.
Convert From int to short in Java
Learn how to convert from an int primitive to a short primitive in Java.
Java Weekly, Issue 540
Avoiding n+1 queries, Spring AI, JMS, Graal dev kit, and GitHub actions on Raspberry PI!
Get Nextval From Sequence With Spring JPA
Explore a few approaches for fetching the next value from a database sequence using Spring Data JPA.
Get 2’s Complement of a Number in Java
Learn how to get the 2’s complement of a number in Java.
Role-Based Access Control in Quarkus
Explore the RBAC system and learn how to leverage the Quarkus framework to implement it.
Java Weekly, Issue 539
Jakarta Data, multimodal LLMs, deprecating Dates in Hibernate, vector API, and Agile as a silver bullet (or not).
Java Weekly, Issue 538
Stream gatherers in Java 23, small additions in Spring, modern Jakarta EE, AOP logging, and Meta patterns!