Introduction to JAVA Programming

Download Report

Transcript Introduction to JAVA Programming

Introduction to JAVA Programming

What is Java?

Java is a

programming language

developed by

James Gosling

and others at

Sun Microsystems

. it's expressly designed for use in the distributed environment of the Internet. It was designed to have the "look and feel" of the

C++

language, but it is simpler to use than C++ and enforces an

object oriented programming

model.

US: +1-248-436-8449 IND: +91-40-3296-5222 Mail Id : [email protected]

Skype Id : info.vibloo

History of Java

Java history is interesting to know. The history of java starts from

Green Team

. Originally java designed for small, embedded systems in electronic appliances like set-top boxes. Currently, Java is used in internet programming, mobile devices, games, e-business solutions etc.

US: +1-248-436-8449 IND: +91-40-3296-5222 Mail Id : [email protected]

Skype Id : info.vibloo

Java Version History

Evolution Of Java Java SE 9 US: +1-248-436-8449 IND: +91-40-3296-5222 Mail Id : [email protected]

Skype Id : info.vibloo

Java Editions

J2SE Java 2 Standard Edition

Java standard edition is use to develop client-side standalone applications or applets

J2ME Java 2 Micro Edition

Java micro edition is use to develop applications for mobile devices such as cell phones

J2EE Java 2 Enterprise Edition

Java enterprise edition is use to develop server-side applications such as Java servlets and Java Server Pages

US: +1-248-436-8449 IND: +91-40-3296-5222 Mail Id : [email protected]

Skype Id : info.vibloo

Features of Java

Java is Simple Object-Oriented Platform independent Secure Robust Architecture neutral Portable Dynamic Interpreted Multithreaded Distributed US: +1-248-436-8449 IND: +91-40-3296-5222 Mail Id : [email protected]

Skype Id : info.vibloo

Java Life Cycle

Java Programs Normally Undergo Four Phases

Edit

Compile

Load

Execute

Programmer Writes program Compiler creates Byte-codes from program Class loader stores Byte-codes in memory Translate byte codes Into machine language

US: +1-248-436-8449 IND: +91-40-3296-5222 Mail Id : [email protected]

Skype Id : info.vibloo

Difference between JDK, JRE and JVM

Understanding the difference between JDK, JRE and JVM is important in Java

JDK Java Development Kit JRE Java Runtime Environment JVM Java Virtual Machine

JDK is an acronym for Java Development Kit. It physically exists. It contains JRE + development tools.

JRE is used to provide runtime environment. It is the implementation of JVM. It physically exists.

JVM is an abstract machine. It is a specification that provides runtime environment in which java bytecode can be executed.

US: +1-248-436-8449 IND: +91-40-3296-5222 Mail Id : [email protected]

Skype Id : info.vibloo

Java Development Tools

A software that provides an integrated development environment (IDE) for rapidly developing Java programs.

Java Development Tools on Market

• • • NetBeans by Sun JBuilder by Borland Eclipse by IBM

US: +1-248-436-8449 IND: +91-40-3296-5222 Mail Id : [email protected]

Skype Id : info.vibloo