Unit 5 Notes On Ajp 22517 Part 1
Unit 5 Notes On Ajp 22517 Part 1
Three-tier Architecture:
In the three-tier model, commands are sent to a "middle tier" of services, which then
sends the commands to the data source. The data source processes the commands and sends
the results back to the middle tier, which then sends them to the user. Advantage o this
architecture is that it simplifies the deployment of applications.
Lecture Notes On Advanced Java Programming (AJP-22517) Under MSBTE I-SCHEME Prepared By Prof. S.M. Inwate
Lecture Notes On Advanced Java Programming (AJP-22517) Under MSBTE I-SCHEME Prepared By Prof. S.M. Inwate
3. Display the hierarchy of all classes and interfaces provided by JDBC API.
Explanation -
Lecture Notes On Advanced Java Programming (AJP-22517) Under MSBTE I-SCHEME Prepared By Prof. S.M. Inwate
String password = "Admin@123";
Connection con = DriverManager.getConnection(url, username, password);
// Create a statement
Statement stmt = con.createStatement();
// Execute a query
ResultSet rs = stmt.executeQuery("SELECT * FROM students");
Lecture Notes On Advanced Java Programming (AJP-22517) Under MSBTE I-SCHEME Prepared By Prof. S.M. Inwate