Professional Documents
Culture Documents
EME Technologies
Contents
History of Java What is Java? Java Platforms Java Virtual Machine (JVM) Java Development Kit (JDK) Benefits and Features of Java
EME Technologies
Java Introduction
Originally created for consumer electronics (TV, VCR, Freeze, Washing Machine, Mobile Phone). Java - CPU Independent language Internet and Web was just emerging, so Sun turned it into a language of Internet Programming. It allows you to publish a webpage with Java code in it.
EME Technologies
Objectives
Discuss a brief history of Java Define Java Differentiate Java Platforms J2EE J2SE J2ME Describe the Java Virtual Machine (JVM ) Explain the contents of the Java Development Kit (JDK) Describe benefits and features of Java
EME Technologies
EME Technologies
James Gosling
James Gosling is generally credited as the inventor of the Java programming language He was the first designer of Java and implemented its original compiler and virtual machine He is also known as the Father of Java He is currently the Chief Technical Officer of Sun Microsystems
EME Technologies
EME Technologies
Java is Everywhere!
7
What is Java?
A multi-platform, network-centric, object-oriented programming language
Multi-platform It can run on almost any computer platform Network-centric Designed with network in mind the network is the computer Designed for building applications for the Internet Object-oriented It incorporates object-oriented programming model
EME Technologies
EME Technologies
JDK JRE
MyProgram.java Java API Java Virtual Machine Hardware - Based Platform
EME Technologies
10
} }
Compiler
Java Program
Compiler
Interpreter
Interpreter
Interpreter
Hello World!
Hello World!
Hello World!
EME Technologies
Win32
Solaris
MacOS
12
Java Milestones
Year 1990 Development Sun decided to developed special software that could be used for electronic devices. A project called Green Project created and head by James Gosling. Explored possibility of using C++, with some updates announced a new language named Oak The team demonstrated the application of their new language to control a list of home appliances using a hand held device.
1991 1992
The World Wide Web appeared on the Internet and transformed the text-based interface to a graphical rich environment. The team developed Web applets (time programs) that could run on all types of computers connected to the Internet. EME Technologies
1993
Java Milestones
Year 1994 Development The team developed a new Web browsed called Hot Java to locate and run Applets. HotJava gained instance success. Oak was renamed to Java, as it did not survive legal registration. Many companies such as Netscape and Microsoft announced their support for Java Java established itself it self as both 1. the language for Internet programming 2. a general purpose OO language. A class libraries, Community effort and standardization, Enterprise Java, Clustering, etc..
1995
1996
1997-
EME Technologies
C++
Java
EME Technologies
No Typedefs, Defines, or Preprocessor No Global Variables No Goto statements No Pointers No Unsafe Structures No Multiple Inheritance No Operator Overloading
EME Technologies
Network-centric
Can work with resources across a network and multi-tier architectures
Object-oriented
A Java program models a set of objects interacting with each other
Robust
Strong type checking Exception handling mechanism Automatic memory management
Multithreaded
A Java application can run several different processes called threads simultaneously
Security
Can download remote code over a network and run it in a secure environment Security levels and restrictions are highly configurable
EME Technologies
17
Key Points
Java is multi-platform, network-centric, object-oriented programming language. James Gosling is the inventor of Java. There are three platforms of Java: J2SE, J2EE, J2ME. JDK is a set of tools for developing Java applications. JVM interprets Java programs and allows them to run on any platform. Java is portable, robust, multithreaded, and secured.
EME Technologies
18
EME Technologies
19