Upload
er-bhagat-sharma
View
189
Download
0
Tags:
Embed Size (px)
Citation preview
presentation on
java
1
Presenting By:Er. Bhagat Singh Sharma Contact no : 8432216444Email Id : [email protected]
Contents Introduction
Java features
Java Database Connectivity(JDBC)
Servlets in Java
Java Server Pages
About project
2
WHAT JAVA IS ?
1. Programming language introduced by Sun Microsystems in November 1995.
2. Java is a platform independent language and works on the principle “Write Once, Run Everywhere, Any Time, and Forever”
3
Features Of Java
1. Object-Oriented Language-no coding outside of class.
2. Platform independent Language-use code on any os.
3. Used To Build Programs That Can Work On The Internet.
4. Used To Program Consumer Devices And
Accessories Such As Cellular-Phones.
5. Secure-due to byte code.4
JAVA PROGRAM
APPLICATION APPLET
STAND-ALONE DISTRIBUTED
5
1) Java application is further divided into two parts:
a) Stand-alone:- In it, we can access the resource
localy and we can’t share the resources as the system
is not available on the network.
b) Distributed:- In it, we can access the resources
within a limited area.
2) An applet is a java program which is used to access
the resources remotely .To execute an applet we need
a software WEB-BROWSER so that we can interact
with a network over a communication path.
6
JDBC
JDBC is the JAVA API that provides the facility toconnect the JAVA APPLICATION with the Database .
The JDBC classes are contained in the Java package
java.sql and javax.sql package.
JDBC drivers are available for most DBMS products:
http://java.sun.com/products/jdbc
7
JDBC Components
8
JAVA SERVLETS
A servlet acts as an intermediary between the client and the server.
As servlet modules run on the server, they can receive and respond to requests made by the client.
Servlets are generally used to create Dynamic HTML pages .
9
JAVA SERVER PAGES Servlets and JSP both are complimentary API’s both
providing a means of generating dynamic web client .
JSP contains a mixture of HTML , JAVA-Script , Jsp Elements .
JSP is the easiest way to write Servlet .
Jsp pages are translated into servlets ,then servlets are compiled and at request time this compiled Servlet is executed.
10
JSP Processing
11
12
Thanks...
Any Queryies ...?