
Quick Contact
Java Tutorial
- What is Java?
- History of Java
- Hello Java Program
- Features of Java
- Basic Syntax
- Java Setup
- Data Types in Java
- Java Variables
- Operators in Java
- JVM
- Java If-else Statement
- Switch Case Statement
- Java Loops
- Do-While Loop
- Java While Loop
- Continue Statement
- Break Statement in Java
- Constructors in Java
- Oops Concept in Java
- Features of OOPs
- Inheritance
- Exeception handeling
- Aggregation (HAS-A relationship) in Java
- Method Overriding in Java
- Method Overloading
- Java Static Keyword
- Java This Keyword
- Java Final Keyword
- Polymorphism
- Static Binding and Dynamic Binding
- Abstract class in Java
- Access Modifiers in Java
- Difference between abstract class and interface
- Interface in Java
- Garbage Collection in Java
- Java Package
- Encapsulation
- Serialization and Deserialization in Java
- Java Inner Classes
- Java Applets
- Multithreading in Java
- Thread Priorities in Java
- Thread Creation
- Inter Thread Communication
- Wrapper Classes in Java
- Java Input Output
- Java AWT Introduction
- Java Layout Manager
- Java Layout Policy
- Java AWT Events
- Collection Framework
- Collection Framework List Interface
- Swing in Java
- Swing Utility Classes
- Swing Layout Managers
- Java JDBC
- Hibernate Framework Overview – Architecture and Basics
Springboot
- Spring Environment Setup
- Spring Boot CRUD REST API Project using IntelliJ IDEA | Postman | MySQL
- Dockerizing Spring Boot Application | Spring Boot Docker Tutorial
- spring-boot-restapidocumentation with swagger
- Spring Boot HttpClient Overview
- Apache HttpClient POST HTTP Request Example
- Apache HttpClient PUT HTTP Request Example
- Apache HttpClient DELETE HTTP Request Example
- Apache HttpClient HTML Form POST Request Example
- Spring Boot JSP Exampl
- Deploying Spring Boot WAR file with JSP to Tomcat
- Spring Boot Annotations
- Spring Core Annotations
- Spring MVC Annotations with Examples
- Spring Scheduling Annotations
- Spring - Java-based Container Configuration
- Spring Java Based Configuration Example
Hibernate
- Hibernate 5 hello world
- Hibernate- One to One Unidirectional Mapping Annotation Example
- Hibernate - Batch Processing
- Hibernate - Interceptors
- Hibernate 5 - Create, Read, Update and Delete (CRUD) Operations Example
- Hibernate Transaction Management
- Hibernate One to Many Unidirectional Mapping Example
- Hibernate One to Many Bidirectional Mapping Example
- Hibernate Many to Many Annotation Mapping Example
- Hibernate Primary KeyJoin Column
- Hibernate First Level Cache with Example
- Hibernate XML Configuration Example with Maven + Eclipse + MySQL Database
- Hibernate Java Configuration Example
- JPA 2 with Hibernate 5 Bootstrapping Example
- JPA and Hibernate Cascade Types
- Hibernate/JPA - Primary Key Generation
- Hibernate 5 - Enum Type Mapping Example
- Hibernate Component Mapping
- Hibernate Object States – Transient,Persistent and Detached
- Hibernate 5 - Save an Entity Example
- Hibernate 5 - Persist an Entity Example
- Hibernate 5 - saveOrUpdate() Method Example
- Hibernate 5 - get(), load() and byId() Method Examples
- Hibernate 5 - merge() Example
- Hibernate 5 - Delete or Remove an Entity Example
- Hibernate 5 - load() Method Example
- Hibernate Session Interface Methods
- Hibernate Session.clear() Method Example
- Introduction Of Java strutes to Architecture
- Struts 2 - Architecture
- Struts 2 - Configuration Files
- Struts 2 - Actions
- Struts 2 - Interceptors
- Struts 2 - Results & Result Types
- Struts 2 - Value Stack/OGNL
- Struts 2 - File Uploading
- Struts 2 - Database Access
- Struts 2 - Validations Framework
JAVA FX
- JavaFX Tutorial
- Introduction to JavaFX Pane
- JavaFX Popup
- JavaFX group
- JavaFX Controller
- JavaFX Gradient Color
- JavaFXAnchorPane
- JavaFXTabPane
- JavaFX Scene
- JavaFX Stage
- JavaFXWebView
- JavaFX Timeline
- JavaFX Timer
- JavaFX Image
- JavaFX Background
- JavaFX dialog
- JavaFX Font
- JavaFXTextArea
- JavaFXObservableList
- JavaFX GUI
- JavaFX FXML
- JavaFXEventHandler
- JavaFXGradle
- JavafxScrollpane
- JavaFXAPI
Java JDBC
JDBC stands for Java Database Connectivity. It is a tool or application programming interface to establish the connection between the java programming language and standard databases. JDBC involves opening the connection, creating SQL databases, Executing Queries and view to Output.
JDBC Architecture
JDBC Architecture support two tiers and three tiers processing models for database access. It consists of two layers JDBC API and JDBC Drivers. JDBC API provides applications to JDBC manage the connection, and driver API supports the JDBC manager to driver connection. The JDBC API uses a driver manager and database-specific drivers to provide transparent connectivity to heterogeneous databases. The driver manager ensures that the correct driver is used to access each data source. It is also capable of supporting multiple concurrent drivers that are connected to multiple heterogeneous databases.

Creating JDBC Application:
There are the following six steps involved in building a JDBC application:
-
Import the packages-
Requires that you include the packages containing the JDBC classes needed for database programming. Most often, using import java.sql.* will suffice.
-
Register the JDBC driver-
Requires that you initialize a driver to open a communications channel with the database.
-
Open a connection¬-
Requires using the DriverManager.getConnection() method to create a Connection object representing a physical connection with the database.
-
Execute a query-
Requires using an object of type Statement for building and submitting an SQL statement to the database.
-
Extract data from result set-
Requires that you use the appropriate ResultSet.getXXX() method to retrieve the data from the result set.
-
Clean up the environment-
Requires explicitly closing all database resources versus relying on the JVM’s garbage collection.
Types of JDBC Driver
We can use three types of JDBC drivers in our Java programs to connect to a Database.
- JDBC Native API Driver
- JDBC-Net Driver
- JDBC Driver

JDBC Native API Driver
The JDBC-Native API driver uses a Database-specific native library to perform all database activities. It translates JDBC calls into database-specific calls, and the Database native library communicates with the database. We must install database-specific client software to use this type of driver. It is platform-dependent.
JDBC-Net Driver
The JDBC-Net driver is written in pure Java. It needs a server to work with a database. The driver translates the JDBC calls into a network protocol and passes the calls to the server. The server decrypts the network calls to database-specific calls. The JDBC driver running at the client machine is unaware of the technology (or DBMS driver types) that the server will use to perform the database activities. The server can use different types of database drivers to connect to other databases, and it will be transparent to the client. It is a platform-independent driver. The client machine needs to include only the Java classes required to use the driver. There is no additional installation required on the client machine.
JDBC Driver
The JDBC driver is also known as a direct-to-database pure Java driver. It is written in pure Java. It converts the JDBC calls into Database-specific calls and sends the calls directly to the database. It is the best suitable driver type to be used in applets. All you need to do is include the driver JAR/ZIP files with your application or applet. All major Database vendors supply this type of JDBC driver.
Apply now for Advanced Java Training Course