There is a simple way to prevent busy-waiting in Java. We can just put the current thread to sleep for given amount of time...
Java language provides some basic Atomic operations. These operations can be used to make sure that concurrent threads always see the same value...
To prevent a Deadlock from occurring at least one requirement for a deadlock has to be removed...
Livelock is a scenario in which two or more block each other by responding to an action caused by another thread...
CDC was created to help ETL scenarios by providing support for incremental data load. It uses an asynchronous...
ROLLUP clause is used to do aggregate operation on multiple levels in a hierarchy. If we want to sum on different...
Using CTE improves the readability and enables easy maintenance of complex queries...
CTE is the abbreviation for Common Table Expression. A CTE is an expression that can be thought of as a temporary...
In Java we can get InterruptedException from sleep() or join() methods. Throwing InterruptedException is way to...
Java does not guarantee that Thread.sleep() will cause the thread to sleep for exactly N number of milliseconds...
We can use Collections.sort method to sort the elements of a List in natural order. To use this method, we have to make...
Java does not allow creation of array with generics as elements. ..
ApplicationContext in Spring can be implemented in one of the following three ways...
Inversion of Control (IOC) principle is the base of Spring framework. It supports dependency injection in an application...
Spring application can be configured by an XML file. This file contains information of classes and how these classes...
Spring-webmvc module is also known as Web-servlet module. It is based on Web Model View Controller pattern...
To upload a file by JSP we can use <input type=”file”> in the Form data being passed from HTML...
There is a built-in request object in a JSP that provides methods to read Form data. Some of the methods are as follows...
In simplest form we can write logger statements or System.out.println() statements to write messages to log files...
Some of the main differences between include Directive and include Action are as follows...