JAVA is a Programming language introduced by Sun Microsystems in November 1995.Java is a platform independent language and works on the principle “Write Once, Run Everywhere, Any Time, and Forever”
APM Welcome, APM North West Network Conference, Synergies Across Sectors
PPT on JAVA
1. presentation
on
java
Presenting By:
Er. Bhagat Singh Sharma
Contact no : 8432216444
Email Id : bhagatsinghit@gmail.com
1
2. Contents
Introduction
Java features
Java Database Connectivity(JDBC)
Servlets in Java
Java Server Pages
About project
2
3. 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
4. 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
6. 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
7. JDBC
JDBC is the JAVA API that provides the facility to
connect 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
9. 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
10. 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