Professional Documents
Culture Documents
JDC Notes
JDC Notes
What is API
API stands for Application Programming Interface.
API is a collection of different interfaces, implementation classes or
helper classes. The main objective of the creative API is exchange of
the info. between two software components.
API mainly classified into 2 types 1)Private API 2)Open API
hat is JDBC?
W
JDBC stands for java database connectivity.
JDBC is a technology which can be used to establish the connection
between java and database software.
Incase of JDBC we have to use database API to communicate with
database software which is also known as JDBC API.
hat is Maven?
W
Maven is a Project Management tool specifically dev. for java
application.
By using Maven we can automate the project Management process.
The Maven tool is developed by Apache Software Foundation.
Chetan Ghodekar
JDBC
o with the help of maven developers can easily create project
S
structure.
Superior dependency management i.e. Project will automatic
updating, dependency closure.
Dependency management :- Maven encourages to use a central
repository of jars and other dependencies.
Maven is a build automation tool used primarily for Java projects.
Maven can also be used to build and manage projects written in C#,
Ruby, Scala etc.
Chetan Ghodekar
JDBC
)process resultset -> After the execution of the query database
5
server will return a group of multiple records. Which will be present
inside the result set object.
6)close costly resources -> After JDBC transaction we have to close
all the costly resources present inside the java file.
hat is a placeholder?
W
A SQL prepared statement in JDBC terms is a complete SQL
statement with placeholders for values. The placeholder isthe
question mark and is replaced with a value at run time.
A placeholder is a character, word, or string of characters that
temporarily takes the place of the final data.
Chetan Ghodekar
JDBC
Callable statement is a special purpose statement which can be
A
used to execute stored functions and stored procedures.
Callable statement(I) extends the properties of prepared Statement.
To create a platform by using Callable statements we need to call the
PrepareCall() method.
Chetan Ghodekar