Millions of virtual threads, virtual thread pools, GraalVM meets COBOL, Intellij on M1, Telemetry and Protobuf, and Spec updates for Java 16! >>>
Yearly Archives: 2020
Character#isAlphabetic vs. Character#isLetter
Understand the difference between the isAlphabetic() and isLetter() methods of the Java Character class. >>>
Integration Tests With Spring Cloud Netflix and Feign
Let’s explore how we can do integration testing of a Feign Client. >>>
Java Weekly, Issue 365
Virtual threads in Helidon, Out of native memory, circuit breakers, testing HTTP clients, container security, and all benchmarks are wrong! >>>
Collections.synchronizedMap vs. ConcurrentHashMap
Learn the differences between Collections.synchronizedMap and ConcurrentHashMap. >>>
Spring Boot: Customize the Jackson ObjectMapper
Learn how to configure the serialization and deserialization options for Jackson using Spring Boot. >>>
Behavioral Patterns in Core Java
Learn about some of the most common bahavioral design patterns using Java. >>>
New Features in Java 14
Explore various JEPs of Java 14. >>>
Redis vs MongoDB
Learn some features offered by Redis and MongoDB and see when to use Redis or MongoDB by comparing them against each other >>>
Unmarshalling a JSON Array Using camel-jackson
Learn two simple approaches for unmarshalling JSON arrays using camel message routing and the camel-jackson component. >>>
Get list of JSON objects with Spring RestTemplate
Spring RestTemplate can convert a JSON array to a variety of Java types. We look at the options and how to produce a type-specific list. >>>
Java Weekly, Issue 364
The one with performance: HotSpot JVM intrinsics, AppCDS with jLink, gRPC meets Kotlin, Maven’s speed daemon, JDBC’s statement caching, and Apple’s M1! >>>
Scheduled WebSocket Push with Spring Boot
In this tutorial, we’ll see how to send scheduled messages from a server to the browser using WebSockets. >>>
Viewing Contents of a JAR File
Learn ways to list a JAR file’s content from the command-line >>>
Configuring a Project to Exclude Certain Sonar Violations
For some analyses, SonarQube needs some exclusions added to avoid false positives. We investigate a few ways to configure it. >>>
Writing byte[] to a File in Java
When we need to write an array of bytes to a file in Java, there are a few options. We can use either the built-in APIs or a few common libraries. >>>
InvalidAlgorithmParameterException: Wrong IV Length
In this tutorial, we’ll describe how to avoid InvalidAlgorithmParameterException when we generate the IV and use it in a cipher algorithm. >>>
Jdbc URL Format for Different Databases
Take a closer look at the JDBC URL formats of several widely used databases: Oracle, MySQL, Microsoft SQL Server, and PostgreSQL >>>
ArrayList vs. LinkedList vs. HashMap in Java
Learn about the differences between three of the most common Java Collections: ArrayList, LinkedList, and HashMap >>>
Java Weekly, Issue 363
Lots of innovation happening: HTTP/3 in Netty, Reactive Hibernate, Static images for JVM, Maven 4, Docker deprecation on K8S, and also, the value of 1-on-1 sessions! >>>