Professional Documents
Culture Documents
BY
A COM211 OVERVIEW PAPER ON THE DIFFERENT KINDS OF DATA SETS THAT ARE
BEING UTILIZED IN FRAMEWORK AND PROGRAMMING IMPROVEMENT, WITH A
FOCUS ON JAVA DATABASE CONNECTIVITY(JDBC), AND ANY REMAINING DBMS
AND DATA SET DRIVERS UPHELD AND UTILIZED BY/IN JAVA.
MARCH 2024
i
TABLE OF CONTENT
1. Introduction______________________________________________________________________________1
3. Literature review________________________________________________________________________2
4. Conclusion________________________________________________________________________________7
5. References________________________________________________________________________________ 7
ii
LIST OF FIGURE
1. Figure 1_____________________________________________________________________________ 1
2. Figure 2______________________________________________________________________________5
iii
LIST OF TABLES
1. Table 1_______________________________________________________________________________________6
2. Table 2_______________________________________________________________________________________6
iv
1. Introduction & Justification
A relational database is a type of database that stores and provides access to data
points that are related to one another. Relational databases are based on the
providing an organized method for storing and retrieving data. This research
specifically looking at how they help maintain data integrity, scalability, and
performance. The article examines Java Database Connectivity (JDBC) and different
DBMS and database drivers that work with Java to give a thorough insight into how
Fig.1
-1-
2. Aims and Objectives
software.
performance of applications.
development.
3. Literature Review
Social data sets have been a foundation of information the board in programming
improvement, giving an organized and effective method for putting away and recover
information (Date, 2003, p. 45). Famous social data set administration frameworks
(RDBMS) like MySQL, PostgreSQL, Prophet, and SQL Server offer vigorous elements for
dealing with complex information designs and connections. These information bases
put together information into tables with predefined outlines, authorizing information
-2-
Java Information base Network (JDBC) is a key innovation that empowers Java
applications to communicate with social data sets consistently (Elmasri and Navathe,
associate with various data set frameworks and execute SQL inquiries. By utilizing
JDBC drivers well defined for every data set, like MySQL Connector/J or PostgreSQL
JDBC Driver, Java applications can speak with the basic data set productively.
The MySQL Connector/J driver, created by the MySQL improvement group, is a well
known decision for incorporating Java applications with MySQL information bases
(MySQL, n.d.). This JDBC driver furnishes enhanced execution and similarity with
MySQL, permitting Java designers to use the full capacities of MySQL in their
applications. With highlights like association pooling and articulation reserving, MySQL
PostgreSQL, an open-source social data set framework, offers the PostgreSQL JDBC
(PostgreSQL, n.d.). This driver empowers Java designers to execute SQL questions,
dependable information access and control. The PostgreSQL JDBC Driver is known for
Prophet, a main supplier of big business information base arrangements, offers the
Prophet JDBC Driver for Java engineers to interface Java applications with Prophet Data
-3-
set (Prophet, n.d.). This driver upholds progressed elements of Prophet Information
base, like high accessibility, security, and adaptability. By utilizing the Prophet JDBC
Driver, Java designers can guarantee consistent incorporation with Prophet Data set
Social information bases offer a few benefits, including information consistency and
2015, p. 78). Engineers can characterize essential keys, unfamiliar keys, and
data sets. Also, social data sets support complex inquiries, exchanges, and ordering
While social data sets succeed in information honesty and organized questioning, they
112). Huge scope applications with high information volumes and exchange rates
As of late, the ascent of NoSQL data sets has given elective answers for explicit use
situations where social information bases may not be the best fit (Elmasri and Navathe,
2016, p. 450). NoSQL information bases like MongoDB, Cassandra, and Redis offer
adaptability, versatility, and high accessibility for dealing with different information
-4-
types and volumes. These data sets are intended to address the restrictions of social
1. MySQL
2. PostgreSQL
3. Oracle Database
4. SQL Server
-5-
3.2. Tables of Relational Data Base System
-6-
4. Conclusion
Social data sets stay a fundamental part of framework and programming improvement,
offering an organized way to deal with information the executives. Java Data set
Availability (JDBC) and upheld DBMS and data set drivers in Java upgrade data set
the qualities of social information bases and tending to expected difficulties, engineers
can assemble productive and solid programming frameworks that meet their
5. References
Addison-Wesley.
3. MySQL. (n.d.). MySQL: The world's most well known open-source data set.
Distributing.
-7-
7. Date, C. J. (2003). Database Systems: An Introduction. Addison-Wesley.
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.Scanner;
try {
-8-
Connection connection =
DriverManager.getConnection("jdbc:sqlite:registration.db");
"first_name TEXT," +
"last_name TEXT," +
"email TEXT," +
"password TEXT," +
"gender TEXT," +
"age INTEGER" +
")";
connection.createStatement().executeUpdate(createTableSQL);
-9-
System.out.print("First Name: ");
System.out.print("Password: ");
System.out.print("Gender: ");
System.out.print("Age: ");
PreparedStatement preparedStatement =
connection.prepareStatement(insertSQL);
- 10 -
preparedStatement.setString(1, firstName);
preparedStatement.setString(2, lastName);
preparedStatement.setString(3, email);
preparedStatement.setString(4, password);
preparedStatement.setString(5, gender);
preparedStatement.setInt(6, age);
preparedStatement.executeUpdate();
connection.close();
} catch (SQLException e) {
e.printStackTrace();
- 11 -