JDBC stands for Java Database Connectivity!

 

<Original login process between front/backend side>   Java JDBC Tutorial   JDBC stands for Java Database Connectivity. JDBC is a Java API to connect and executes the query with the database. It is a part of JavaSE (Java Standard Edition).  JDBC API uses JDBC drivers to connect with the database. There are four types of JDBC drivers:      <Applied JDBC can help login process smoothly between front/backend side and deliver the data from a database of the oracle>    Step 1- DAO) Create a connection on DAO to connect directly database of oracle to Data Assess Object(DAO)        **Create an object of connection to connect between a database and DAO     public connection openConnection() {  connection connection = null;}     **catch (ClassNotFoundException e )   even if an exception case happens, coding will keep running.     Step 2) Declare DOA as a new object in the Auth to apply JDBC so that brings out the database directly to Auth & Taskmanager         Step 3) Method, convertToBool  A method of converToBool Converts a specified value to an equivalent Boolean value.     The data summoned from the database to DAO is a type of number, we need to convert it into a boolean type (True/False), Method "CovertToBool" will be used for it.
<Original login process between front/backend side>


Java JDBC Tutorial

JDBC stands for Java Database Connectivity. JDBC is a Java API to connect and executes the query with the database. It is a part of JavaSE (Java Standard Edition).

JDBC API uses JDBC drivers to connect with the database.


JDBC ๋Š” ์ž๋ฐ”์˜ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์—ฐ๊ฒฐ์„ ์˜๋ฏธํ•œ๋‹ค. ๋‹ค์‹œ ๋งํ•ด JDBC ๋Š” ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์˜ ์ฟผ๋ฆฌ์™€ ๊ด€๋ จ๋œ ์—…๋ฌด๋ฅผ ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ๋Š” API ๋ผ๊ณ  ์ผ์ปฌ์„ ์ˆ˜ ์žˆ์„ ๊ฒƒ์ด๋‹ค. JAVA API ๋Š” JDBC ๋ฅผ ์‚ฌ์šฉํ•ด ๋ฐ์ดํ„ฐ ๋ฒ ์ด์Šค์™€ ์—ฐ๊ฒฐ ํ•  ์ˆ˜ ์žˆ๋‹ค.


To explain tactics way, we can bring two different examples.

The first example is communicating and executing between the front end & back end based on the data collected by only two of the system. However, the second photo (below) can show the different data flow by adding of JDBC.


์กฐ๊ธˆ ๋” ์‰ฌ์šด ์„ค๋ช…์„ ์œ„ํ•ด ๋‘๊ฐ€์ง€ ์˜ˆ์ œ๋ฅผ ๋“ค ์ˆ˜ ์žˆ์„ ๊ฒƒ์ด๋‹ค. ์ฒซ๋ฒˆ์งธ ์˜ˆ์ œ๋Š” ์˜ค์ง ํ”„๋ก ํŠธ, ๋ฐฑ์•ค๋“œ ์‹œ์Šคํ…œ ์•ˆ์—์„œ ์ทจํ•ฉ๋œ ๋ฐ์ดํ„ฐ ๋ฒ ์ด์Šค๋กœ ์‹œ์Šคํ…œ์ด ์šด์˜๋˜๊ณ  ์žˆ๋‹ค. ๋ฐ˜๋ฉด JDBC ๋ฅผ ์ถ”๊ฐ€ํ•จ์œผ๋กœ์„œ ๋‹ค๋ฅธ ๋ฐ์ดํ„ฐ ํ”Œ๋กœ์šฐ๋ฅผ ์„ค๋ช…ํ•˜ ์žˆ๋‹ค.

<Original login process between front/backend side>   Java JDBC Tutorial   JDBC stands for Java Database Connectivity. JDBC is a Java API to connect and executes the query with the database. It is a part of JavaSE (Java Standard Edition).  JDBC API uses JDBC drivers to connect with the database. There are four types of JDBC drivers:      <Applied JDBC can help login process smoothly between front/backend side and deliver the data from a database of the oracle>    Step 1- DAO) Create a connection on DAO to connect directly database of oracle to Data Assess Object(DAO)        **Create an object of connection to connect between a database and DAO     public connection openConnection() {  connection connection = null;}     **catch (ClassNotFoundException e )   even if an exception case happens, coding will keep running.     Step 2) Declare DOA as a new object in the Auth to apply JDBC so that brings out the database directly to Auth & Taskmanager         Step 3) Method, convertToBool  A method of converToBool Converts a specified value to an equivalent Boolean value.     The data summoned from the database to DAO is a type of number, we need to convert it into a boolean type (True/False), Method "CovertToBool" will be used for it.


<Applied JDBC can help login process smoothly between front/backend side and deliver    directly the data from a database of the oracle>


JDBC ๊ฐ€ ์ ์šฉ๋œ ํ˜•ํƒœ๋Š” ์˜ค๋ผํด๋กœ๋ถ€ํ„ฐ ํ˜ธ์ถœ ๋œ ๋ฐ์ดํ„ฐ๋ฅผ ์ง์ ‘ ํ˜ธ์ถœ ํ•ด ํ”„๋ก ํŠธ, ๋ฐฑ์•ค๋“œ ์‚ฌ์ด์˜ ๋กœ๊ทธ์ธ ํ”„๋กœ์Šค์„ธ์Šค๋ฅผ ์กฐ๊ธˆ๋” ์›ํ™œํ•˜๊ฒŒ ๋„์™€์ค€๋‹ค. 


Step 1- DAO) Create a connection on DAO to connect directly database of oracle to Data Assess Object(DAO)


<Original login process between front/backend side>   Java JDBC Tutorial   JDBC stands for Java Database Connectivity. JDBC is a Java API to connect and executes the query with the database. It is a part of JavaSE (Java Standard Edition).  JDBC API uses JDBC drivers to connect with the database. There are four types of JDBC drivers:      <Applied JDBC can help login process smoothly between front/backend side and deliver the data from a database of the oracle>    Step 1- DAO) Create a connection on DAO to connect directly database of oracle to Data Assess Object(DAO)        **Create an object of connection to connect between a database and DAO     public connection openConnection() {  connection connection = null;}     **catch (ClassNotFoundException e )   even if an exception case happens, coding will keep running.     Step 2) Declare DOA as a new object in the Auth to apply JDBC so that brings out the database directly to Auth & Taskmanager         Step 3) Method, convertToBool  A method of converToBool Converts a specified value to an equivalent Boolean value.     The data summoned from the database to DAO is a type of number, we need to convert it into a boolean type (True/False), Method "CovertToBool" will be used for it.


**Create an object of connection to connect between a database and DAO 
DAO ์™€ database ์‚ฌ์ด์˜ ์—ฐ๊ฒฐ ๊ณ ๋ฆฌ๋ฅผ ๋งŒ๋“œ๋Š” ๊ฐ์ฒด๋ฅผ ์ƒ์„ฑํ•˜๋Š” ๊ณผ์ • 


public connection openConnection() {

connection connection = null;}


**catch (ClassNotFoundException e ) 

even if an exception case happens, coding will keep running. 

์˜ˆ์™ธ๋ฐฉ์ง€ ์žฅ์น˜๋ฅผ ์ถ”๊ฐ€. 


Step 2) Declare DOA as a new object in the Auth to apply JDBC so that brings out the database directly to Auth & Taskmanager  

<Original login process between front/backend side>   Java JDBC Tutorial   JDBC stands for Java Database Connectivity. JDBC is a Java API to connect and executes the query with the database. It is a part of JavaSE (Java Standard Edition).  JDBC API uses JDBC drivers to connect with the database. There are four types of JDBC drivers:      <Applied JDBC can help login process smoothly between front/backend side and deliver the data from a database of the oracle>    Step 1- DAO) Create a connection on DAO to connect directly database of oracle to Data Assess Object(DAO)        **Create an object of connection to connect between a database and DAO     public connection openConnection() {  connection connection = null;}     **catch (ClassNotFoundException e )   even if an exception case happens, coding will keep running.     Step 2) Declare DOA as a new object in the Auth to apply JDBC so that brings out the database directly to Auth & Taskmanager         Step 3) Method, convertToBool  A method of converToBool Converts a specified value to an equivalent Boolean value.     The data summoned from the database to DAO is a type of number, we need to convert it into a boolean type (True/False), Method "CovertToBool" will be used for it.


Step 3) Method, convertToBool

A method of converToBool Converts a specified value to an equivalent Boolean value.

<Original login process between front/backend side>   Java JDBC Tutorial   JDBC stands for Java Database Connectivity. JDBC is a Java API to connect and executes the query with the database. It is a part of JavaSE (Java Standard Edition).  JDBC API uses JDBC drivers to connect with the database. There are four types of JDBC drivers:      <Applied JDBC can help login process smoothly between front/backend side and deliver the data from a database of the oracle>    Step 1- DAO) Create a connection on DAO to connect directly database of oracle to Data Assess Object(DAO)        **Create an object of connection to connect between a database and DAO     public connection openConnection() {  connection connection = null;}     **catch (ClassNotFoundException e )   even if an exception case happens, coding will keep running.     Step 2) Declare DOA as a new object in the Auth to apply JDBC so that brings out the database directly to Auth & Taskmanager         Step 3) Method, convertToBool  A method of converToBool Converts a specified value to an equivalent Boolean value.     The data summoned from the database to DAO is a type of number, we need to convert it into a boolean type (True/False), Method "CovertToBool" will be used for it.

The data summoned from the database to DAO is a type of number, we need to convert it into a boolean type (True/False), Method "CovertToBool" will be used for it. 
<Original login process between front/backend side>   Java JDBC Tutorial   JDBC stands for Java Database Connectivity. JDBC is a Java API to connect and executes the query with the database. It is a part of JavaSE (Java Standard Edition).  JDBC API uses JDBC drivers to connect with the database. There are four types of JDBC drivers:      <Applied JDBC can help login process smoothly between front/backend side and deliver the data from a database of the oracle>    Step 1- DAO) Create a connection on DAO to connect directly database of oracle to Data Assess Object(DAO)        **Create an object of connection to connect between a database and DAO     public connection openConnection() {  connection connection = null;}     **catch (ClassNotFoundException e )   even if an exception case happens, coding will keep running.     Step 2) Declare DOA as a new object in the Auth to apply JDBC so that brings out the database directly to Auth & Taskmanager         Step 3) Method, convertToBool  A method of converToBool Converts a specified value to an equivalent Boolean value.     The data summoned from the database to DAO is a type of number, we need to convert it into a boolean type (True/False), Method "CovertToBool" will be used for it.

<Original login process between front/backend side>   Java JDBC Tutorial   JDBC stands for Java Database Connectivity. JDBC is a Java API to connect and executes the query with the database. It is a part of JavaSE (Java Standard Edition).  JDBC API uses JDBC drivers to connect with the database. There are four types of JDBC drivers:      <Applied JDBC can help login process smoothly between front/backend side and deliver the data from a database of the oracle>    Step 1- DAO) Create a connection on DAO to connect directly database of oracle to Data Assess Object(DAO)        **Create an object of connection to connect between a database and DAO     public connection openConnection() {  connection connection = null;}     **catch (ClassNotFoundException e )   even if an exception case happens, coding will keep running.     Step 2) Declare DOA as a new object in the Auth to apply JDBC so that brings out the database directly to Auth & Taskmanager         Step 3) Method, convertToBool  A method of converToBool Converts a specified value to an equivalent Boolean value.     The data summoned from the database to DAO is a type of number, we need to convert it into a boolean type (True/False), Method "CovertToBool" will be used for it.


Comments

Popular Posts