Himaanshu Shukla#WebSockets: Part 3 Key components of the Java WebSocket APIIn Part 1, we discussed some basic Socket programming interview questions. In Part 2 we discussed some basics of WebSockets. In part 3 we…Dec 28, 2023Dec 28, 2023
Himaanshu Shukla#WebSockets: Part 2 WebSockets Interview Questions in JavaIn Part 1, we discussed some basic Socket programming interview questions. In part 2 we will discuss WebSockets.Dec 27, 2023Dec 27, 2023
Himaanshu Shukla#WebSockets: Part 1 Socket Programming Interview Questions in JavaRecently in one of my freelance projects, I was asked to replace existing Java Sockets with the websockets. In this series of tutorials, I…Dec 26, 2023Dec 26, 2023
Himaanshu ShuklaFor loop or Foreach, which one is faster in Java?When I was looking for a job in 2019, one of the questions I was asked was whether we should iterate through an ArrayList using a for or…Jun 18, 20226Jun 18, 20226
Himaanshu ShuklaPart 3: Microservices Interview Questions And AnswersWhat is the difference between Mock and Stub? A Mock is generally a dummy object where certain features are set into it initially. Its…Jun 12, 2022Jun 12, 2022
Himaanshu ShuklaPart 2: Microservices Interview Questions And AnswersName three commonly used tools for Microservices Wiremock, Docker, and Hystrix are important Microservices tools.Jun 12, 2022Jun 12, 2022
Himaanshu ShuklaPart 1: Microservices Interview Questions And Answers (Monolithic vs Microservices)What is monolithic architecture?Jun 11, 20221Jun 11, 20221
Himaanshu ShuklaWhat is SQL injection and how to prevent it in Java?In this post, we will learn about common coding mistakes in Java, which lead to a vulnerable application. Also, we are going to learn to…Jun 11, 2022Jun 11, 2022
Himaanshu ShuklaPart 7: Java Thread Interview Questions & Answers (Thread Pool, Executor)What is ThreadLocal variable in Java? ThreadLocal is a special class for which each thread accessing the variable would have a separate…Mar 26, 2022Mar 26, 2022
Himaanshu ShuklaPart 5: Java Thread Interview Questions & Answers (UncaughtExceptionHandler, Synchronization…What happens when an exception occurs in a thread? If an exception is not caught thread will die, else if an uncaught exception handler is…Mar 20, 2022Mar 20, 2022