All three classes Executor, ExecutorService, and Executers are part of Java's Executor framework which provides thread pool facilities to Java applications....
Post Top Ad
Reading XML file in java using SAX Parser
Nalin Adhikari
March 22, 2018
0
Reading XML file in java using SAX Parser is little different than reading xml file in Java with DOM parser which we had discussed in last article of...
Synchronized block and method in Java
Nalin Adhikari
March 22, 2018
0
Synchronized block and synchronized methods are two ways to use synchronized keyword in Java and implement mutual exclusion on critical section of code....
Double Checked Locking on Singleton Class in Java
Nalin Adhikari
March 22, 2018
0
Singleton class is quite common among Java developers, but it poses many challenges to junior developers. One of the key challenge they face is how...
Creating a memory leak with Java.
Nalin Adhikari
March 22, 2018
0
Here's a good way to create a true memory leak (objects inaccessible by running code but still stored in memory) in Java:
1. The application creates...
Issue analysis and solved : No mapping found for HTTP request with URI [/WEB-INF/views/home.html] in DispatcherServlet with name 'appServlet'.
Nalin Adhikari
March 22, 2018
0
WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/WEB-INF/views/home.html] in DispatcherServlet with...
Difference between Setter vs Constructor Injection in Spring.
Nalin Adhikari
March 22, 2018
0
Spring Setter vs Constructor Injection
Spring supports two types of dependency Injection, using setter method e.g. setXXX() where XXX is a dependency...