12
presentation on java 1 Presenting By: Er. Bhagat Singh Sharma Contact no : 8432216444 Email Id : [email protected]

PPT on JAVA

Embed Size (px)

Citation preview

Page 1: PPT  on JAVA

presentation on

java

1

Presenting By:Er. Bhagat Singh Sharma Contact no : 8432216444Email Id : [email protected]

Page 2: PPT  on JAVA

Contents Introduction

Java features

Java Database Connectivity(JDBC)

Servlets in Java

Java Server Pages

About project

2

Page 3: PPT  on JAVA

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

Page 4: PPT  on JAVA

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

Page 5: PPT  on JAVA

JAVA PROGRAM

APPLICATION APPLET

STAND-ALONE DISTRIBUTED

5

Page 6: PPT  on JAVA

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

Page 7: PPT  on JAVA

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

Page 8: PPT  on JAVA

JDBC Components

8

Page 9: PPT  on JAVA

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

Page 10: PPT  on JAVA

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

Page 11: PPT  on JAVA

JSP Processing

11

Page 12: PPT  on JAVA

12

Thanks...

Any Queryies ...?