java seminar

22
Presented By :- DEVENDRA KHAIRWA

Upload: devendrakhairwa

Post on 15-Jul-2015

30 views

Category:

Education


0 download

TRANSCRIPT

Page 1: Java seminar

Presented By :-

DEVENDRA KHAIRWA

Page 2: Java seminar

Programming language is a vocabulary and

set of grammatical rules for instructing a

computer to perform specific tasks.

Types of programming language

1. Procedure-oriented programming language

COBOL, FORTRAN, and C

2. Object oriented programming language

C++, Java, and PHP

Page 3: Java seminar

Procedure-oriented programming language

In procedural programming our code is organized into small "procedures" that use and change our data. So our data move openly around the system from function to function.

Page 4: Java seminar

Object oriented programming language

In Object oriented programming the data and related functions are bundled together into an "object". So that not even any other functions of the same program can use other data and our data will remain safe.

Page 5: Java seminar

Concept of OOPSOOPS Features in brief

The programming in which data is logically represented in the form of a class and

physically represented in the form an object is called as object oriented

programming (OOP). OOP has the following important features.

Page 6: Java seminar

Concept of OOPSOOPS Features in brief

Data Encapsulation : Encapsulation means wrapping up

data and member function (Method) together into a

single unit i.e. class.

Data Abstraction :

Abstraction is the process of hiding out the working

style of an object and showing only the required

information of the object in understandable manner.

Advantage of data abstraction is security.

Page 7: Java seminar

Concept of OOPSOOPS Features in brief

Inheritance : Creating a new class from an existing

class is called as inheritance. Advantage of inheritance

is reusability of the code.

Polymorphism : Polymorphism means having more

than one form. In this different classes can have

different behaviors for the same operation.

Polymorphism can be achieved with the help of

overloading and overriding concepts.

Page 8: Java seminar

Why do we need java ?

Trouble with C/C++ language is that they are not portable

and are not platform independent language.

Emergence of world wide web which demand portable

programs.

Portability and security necessitated the invention of JAVA.

Page 9: Java seminar

History of JAVA

JAVA is general purpose

object oriented programming language developed by James

Gosling and colleagues at Sun Microsystems in the early 1990s

with promise to Write Once Run Anywhere and JVM make it

possible.

Page 10: Java seminar

What is JVM ?

The heart of the Java

platform is the concept

of a "virtual machine“

JVM is a virtual machine

that provides runtime environment where JAVA program

runs.

It makes JAVA platform independent because JVM self work

as platform for all JAVA programs.

Page 11: Java seminar

Editions of JAVA

J2SE(JAVA 2 Standard Edition) –

to develop client-side stand

alone applications or applets.

J2EE(JAVA 2 Enterprise Edition) – to develop server-side applications such as JAVA servlet and JAVA server pages.

J2ME (JAVA 2 Micro Edition) – to develop applications for mobile devices.

Page 12: Java seminar

Advantages of Java

Simple

Object oriented

Architecture –neutral

Portable

Secure

Multithreaded.

Page 13: Java seminar

Some features of JAVA

Automatic type checking

Automatic garbage collection

No directly accessible pointer

to memory

Multi threading

Page 14: Java seminar

Introduction to JDBC

Java Database Connectivity (JDBC) is a Java

Application Programming Interface (API) for

executing SQL statements.

It consists of a set of classes and interfaces

written in Java.

It extends the various features of java, such as

security, platform independence, easy

understanding and usage.

Page 15: Java seminar

The JDBC provides a standard interface for

accessing a database.

Java applications use the JDBC API to

connect with a database through a database

driver.

Page 16: Java seminar

JDBC ARCHITECTURE

Java applications cannot communicate directly with a

database to submit the data & retrieve results of queries.

This is because a database can interpret SQL statements only

and not Java language statements.

Therefore, we need a mechanism to translate Java

statements into SQL statements and vice-versa.

The JDBC architecture provides the mechanism for this kind

of translation.

Page 17: Java seminar

JDBC ARCHITECTURE

Page 18: Java seminar

Device running on JAVA

Set–top boxes

ATM

Printers

Web cams

Games

Car navigation systems

Lottery terminals

Medical devices

Parking payment stations

Page 19: Java seminar

Certification in JAVA

Getting certified is a great way to

invest in your professional

development and to help boost your

career potential.

Sun offers the following certifications for Java technologies:

Java Platform, Standard Edition

(Java SE)

Sun Certified Java Associate

Sun Certified Java Programmer

Sun Certified Java Developer

Page 20: Java seminar

Certification in JAVA

Java Platform, Enterprise Edition

(Java EE)

Sun Certified Web Component Developer

Sun Certified Business Component Developer

Sun Certified Developer for Java Web Services

Sun Certified Enterprise Architect

Java Platform, Micro Edition (Java ME)

Sun Certified Mobile Application Developer

Page 21: Java seminar
Page 22: Java seminar