ParallelExecutionCode ParallelExecutionCode Using the SingleTon Design Pattern and also with help of Java's ThreadLocal Class Refer the following youtube video to know more on the same: https://www.youtube.com/watch?v=Sa0SyNmfc6Y