admin

admin

Syncronization and Concurrency Utilities

Synchronization When two or more threads need access to a shared resource, they need some way to ensure that the resource will be used by only one thread at a time. The process by which this is achieved is called synchronization.  Thread Communication…

Multithreading and Concurrency

Multithreaded Programming Multithreaded Fundamentals Process vs Thread Thread States The Thread Class and Runnable Interface Java’s multithreading system is built upon the Thread class, its methods, and its companion interface, Runnable. Thread encapsulates a thread of execution. Since you can’t directly refer to the…

Java Database Connectivity (JDBC)

Introduction Purpose of JDBC Components of JDBC Architecture of JDBC Types of JDBC Architecture (2-tier and 3-tier) What is API? JDBC Drivers The JDBC drivers can be downloaded from here Example Note: Make sure to download and add the…