Modern software development relies heavily on concurrency since it enables apps to handle numerous amount of tasks all at once. For controlling concurrency in Java, ForkJoinPool and ThreadPoolExecutor are two highly effective technologies. In this tutorial, we will look into the specifics of each, consider the differences between ForkJoinPool and ThreadPoolExecutor, and provide … [Read more...] about Mastering Java Concurrency: ForkJoinPool vs ThreadPoolExecutor
java
Creating Custom Resource pool in Java
Using reusable objects/resources as a pool in Java is very common. In fact, the Java language itself comes with built-in thread-pool support. In this article, we will demonstrate how we can create a custom resource pool in Java. What is a Resource pool? A resource pool is a collection of reusable resources that can be shared among multiple clients or consumers in a … [Read more...] about Creating Custom Resource pool in Java
Getting Started With UDP Programming in Java
If you are familiar with basic networking protocols like TCP and UDP , you already might know TCP is reliable and used in most cases, especially for corruption-file download/requests over HTTP, email communications etc. However, some other large part is still considered better with UDP communications like multi-player game programming, live video streaming, and … [Read more...] about Getting Started With UDP Programming in Java