Learn about invokedynamic and see how it can help library and language designers to implement many forms of dynamicity.
Baeldung Author
Ali Dehghani
Has a BSc in Chemical Engineering and MSc in Information Technology. Except for the major change, nothing else has changed, still, a computer geek who is passionate about all aspects of software engineering looks for elegant and possibly new solutions, eager to learn and hopefully help fellow software geeks to do so.
Here's what I've written (so far):
Executors newCachedThreadPool() vs newFixedThreadPool()
Filed under Java Concurrency
Compare the newCachedThreadPool() and newFixedThreadPool() implementations and their use-cases
Guide to RejectedExecutionHandler
Filed under Java Concurrency
Learn about what happens when a thread pool can’t accept any more tasks and how to control this by applying saturation policies
A Guide to Spring’s Open Session In View
Filed under Spring
Learn about Spring’s Open Session In View pattern
Programmatic Transaction Management in Spring
Filed under Spring Persistence
Learn to manage transactions programmatically in Spring and why this approach is sometimes better than simply using the declarative Transactional annotation.
Counting Sort in Java
Filed under Algorithms, Java
Learn about the counting sort and then implement it in Java.
The K-Means Clustering Algorithm in Java
Filed under Algorithms
Learn about the K-Means clustering algorithm using a real-world dataset from Last.fm
Compressed OOPs in the JVM
Filed under Java
Find out how to tune the JVM to use memory more efficiently and address 32Gb of heap even in a 32-bit system.
Native Memory Tracking in JVM
Filed under Java
Learn about native memory allocation in the JVM and how to track it.
Guide to JUnit 5 Parameterized Tests
Filed under Testing
Learn how to simplify test coverage in JUnit 5 with parameterized tests