Struts 2 JDBC Integration

JDBC stands for Java Database Connectivity, it is the database API written in java which is a standard Java API for database-independent connectivity between the Java programming language and a wide range of databases needs to be access by the java APIs. It plays the important role of the communicator and transactions manager the java.

We are taking a simple login example here to explain that how the JDBC helps to connect to the database. We need to create a dynamic web project in our Eclipse IDE.