Saturday, April 24, 2021

How Spring MVC Framework works? How HTTP Request is processed?

One of the frequently asked Spring MVC Interview questions is about explaining the flow of web requests i.e. how an HTTP request is processed from start to end. In other words, explaining the flow of requests in Spring MVC. Since many of my readers ask this question time and again, I thought to summarize the flow of request processing in a short article. It all starts with the client, which sends a request to a specific URL. When that request hits the web container like Tomcat it looks into web.xml and finds the Servlet or Filter which is mapped to that particular URL. It the delegate that Servlet or Filter to process the request. Since Spring MVC is built on top of Servlet, this is also the initial flow of requests in any Spring MVC based Java web application.

Thursday, April 22, 2021

Top 8 Python Libraries for Data Science and Machine Learning - Best of Lot

Hello guys, today I am going to talk about something which is not related to Java but a very interesting technology development that is happening around, and you simply can't afford to miss out on this opportunity. Yes, you guessed it right, I am talking about Machine learning, Artificial Intelligence, and Deep Learning. There is a good chance that you might have already heard about them and even started learning them. You may be either from Python camp or learning R programming for the sake of machine learning. When I started my journey of Machine learning and Data Science, I had to first make a choice about choosing the right programming language as both R and Python were doing great.

Friday, April 16, 2021

Top 10 Java ConcurrentHashMap Interview Questions with Answers [UPDATED]

The ConcurrentHashMap class part of concurrent collections package added on JDK 1.5 which contains utility classes like BlockingQueue, CopyOnWriteArrayList, CopyOnWriteArraySet etc. It is a replacement of synchronized hash-based map implementations e.g. Hashtable and synchronized HashMap. It implements Map and ConcurrentMap (a sub-interface of Map) interface which allows you to store key-value pairs. The class is similar to HashMap or Hashtable but it's more scalable and the right fit for concurrent Java application. Unlike Hashtable which achieves its thread-safety by compromising the scalability, ConcurrentHashMap uses advanced techniques e.g. dividing the map into segments to remain thread-safe and scalable at the same time.

Wednesday, April 14, 2021

Is The Complete Python Developer in 2024: Zero to Mastery by Andrei Neagoie on ZTM Academy worth it?? [Review]

Hello guys, if you want to learn Python in 2024 and looking to join The Complete Python Developer in 2024:Zero to Mastery course by Andrei Neagoie on Udemy or ZTM Academy but are not sure then you have come to the right place. Earlier, we have shared the best Python 3 Courses to join in 2024 and today's article covers a review of one of the best online courses to learn the python programming language in 2024 for absolute beginners with no prior experience needed to start. This is a comprehensive online Python training course with almost 31 hours of content and also one of the most up-to-date courses to learn Python on Udemy and Zero to Mastery Academy.