Transcript
7/31/2019 Java 1 Introduction Girish
1/14
Introduction to Java
7/31/2019 Java 1 Introduction Girish
2/14
Contents
History
Characteristics of Java
JDK Versions & Editions
The way Java works
Phases of java program
A simple java Application
Summary
7/31/2019 Java 1 Introduction Girish
3/14
Java: History
Developed by James Gosling at Sun Microsystems.
Released the first public implementation as Java 1.0
in 1995.
The language was initially called Oak. It is intended to let application developers "write
once, run anywhere.
7/31/2019 Java 1 Introduction Girish
4/14
James A. Gosling
A Software developer, best
known as the father of the
java programming language
Born : May 19, 1955
Residence : San Francisco
Nationality : Canada
Employer : Google
7/31/2019 Java 1 Introduction Girish
5/14
Java is
Simple
Object oriented
Multi Threaded
Platform independent
Both Compiled and Interpreted
Secure
Distributed
Characteristics
7/31/2019 Java 1 Introduction Girish
6/14
JDK Versions
JDK 1.0 (January 23, 1996) Oak
JDK 1.1 (February 19, 1997)
In this version the major inclusions are AWT, JDBC, RMI.
J2SE 1.2 (December 8, 1998) Playground
The Major inclusion is Swing.
J2SE 1.3 (May 8, 2000) Kestrel
The Key Modification is JNDI.
7/31/2019 Java 1 Introduction Girish
7/14
JDK Versions
J2SE 1.4 (February 6, 2002) Merlin
J2SE 5.0 (September 30, 2004) Tiger
J2SE 6 (December 11, 2006) Mustang
There are 26 updates in J2SE6
J2SE 7 (July 28, 2011) Dolphin
7/31/2019 Java 1 Introduction Girish
8/14
JDK Editions
Java Standard Edition (J2SE):
J2SE can be used to develop client-side standalone
applications or applets.
Java Enterprise Edition (J2EE):
J2EE can be used to develop server-side applications such
as Java Servlets and Java Server Pages. Java Micro Edition (J2ME):
J2ME can be used to develop applications for mobile
devices such as cell phones.
7/31/2019 Java 1 Introduction Girish
9/14
The way java works
The goal is to write one application and have It work on
different devices
7/31/2019 Java 1 Introduction Girish
10/14
Phases of java program
The following figure describes the process of
compiling and executing a Java program
7/31/2019 Java 1 Introduction Girish
11/14
Simple Java Application
//This application program prints Welcome
//to Java!package chapter1;
public class Welcome {
public static void main(String[] args) {System.out.println("Welcome to Java!");
}}
7/31/2019 Java 1 Introduction Girish
12/14
A class with main method
7/31/2019 Java 1 Introduction Girish
13/14
Summary
History
Initially called as Oak by James Gosling.
Characteristics
Simple, Multi threaded, Portable , Secure, Distributed.
JVM An imaginary machine that is implemented by emulating
software on a real machine
provides the hardware platform specifications to which
you compile all Java technology code Phases of java program
Write a program, compile and run.
7/31/2019 Java 1 Introduction Girish
14/14
top related