Learn how to use a Docker environment to cover the fundamentals of data modeling for a system that uses Apache Kafka for message processing.
Search Results for: Concurrency
Collections.synchronizedMap vs. ConcurrentHashMap
Learn the differences between Collections.synchronizedMap and ConcurrentHashMap.
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!
How to Stop Execution After a Certain Time in Java
Learn different ways to end a long-running execution after a certain time in Java.
Performing Calculations in the Database vs. the Application
Explore the advantages and disadvantages of performing calculations in the database and application code
How to Implement Hibernate in an AWS Lambda Function in Java
Look at the challenges of using any RDBMS within a Lambda, and how and when Hibernate can be useful
Spring MVC Async vs Spring WebFlux
Learn about Spring Async and Spring WebFlux both theoretically and practically with a basic load test
Why Are Local Variables Thread-Safe in Java
Learn why local variables are thread-safe in Java.
Implementing a Ring Buffer in Java
Learn how to implement a Ring Buffer in Java.
Java Weekly, Issue 339
The Spring story on GraalVM is getting polish and Java 14 and even 15 features are getting some well-deserved attention. A solid week in the Java ecosystem.
Why Not to Start a Thread in the Constructor?
Learn why you shouldn’t start a thread in a Java constructor
Using Kafka MockProducer
Learn how to use Kafka’s MockProducer to verify common producer operations
All eBooks and Guides on Baeldung
Check out all our Baeldung ebooks.
LinkedBlockingQueue vs ConcurrentLinkedQueue
Learn the difference between LinkedBlockingQueue and ConcurrentLinkedQueue in Java
Introduction to Exchanger in Java
A quick and practical guide to the Exchanger class in Java.
Introduction to Lock-Free Data Structures with Java Examples
A quick and practical guide to lock-free data structures in Java.
Guide to AtomicStampedReference in Java
Learn how to use the AtomicStampedReference class in Java.
Java Thread Deadlock and Livelock
Learn how to recognize and avoid deadlock and livelock in multi-threaded Java applications.
Using Guava’s MapMaker
Learn how to use Guava’s MapMaker class to create maps with weak references.
Intro to Coroutines with Quasar
Learn to implement coroutines in Java using Quasar.