• Posts tagged "Threads"
Header

Blog Archives

How to call multiple URLs asynchronously using Java 8

Hi guys, Request you to check out the previous post before proceeding – http://blog.niteshapte.com/2018-03-22-how-to-create-a-generic-executor-service-for-asynchronous-calls.htm. This is basically to give the idea how we are going to achieve multiple URL calls – asynchronously. Below solution is good at those places where we need to get data from different rest services in parallel. Using the received data …
Read more

32 total views, 1 views today

Database connection pooling using Java

Hi Folks, Today I am going to show you some old school stuff. The Database Connection Pooling. I know there are several frameworks in Java that provides this facility, but I thought of sharing this to you guys because it’s actually a good piece of code. And it is always fun to know what’s going …
Read more

4,118 total views, no views today