INTRODUCTION TO JAVA
INTRODUCTION
Java is a programming language that has many features. Java has been
developed by a team led by James Gosling. The language was initially called
‘Oak’. It is a general purpose Object Oriented Programming language. Java
became a popular language for internet because of its features.
HISTORY OF JAVA
In 1995, Java was first launched by Sun Microsystems. Java has been
through many development phases and gone through regular upgrading. On
November 13 of 2006, Sun released much of its java virtual machines [JVM]
as “free and open sources software” [FOSS], under the term of GNU General
Public Licence [GPL]. The making of JVM core code was finished on 8th May
2007 and made available are free / open – source software. In 2010, Oracle
acquired Sun Microsystems. The latest version of Java is Version-8 that has
come out in 2014 and last updated in March 2017.
FEATURES OF JAVA
Java features are also known as Java Buzz Words.
1. Platform Independent :A platform ia a hardware or software based in
which a program runs. Programs written in Java can be executed any
other platform. There are two types of platforms:
Software based
Hardware based
Java platforms differ from other platforms.
Java is a software based platform that runs on hardware based
platform. It has two components:
Run Time Environment [RTE]
Application Programming Interface [API]
, Java code is compiled by the compiler and converted into byte codes. These
byte codes are platform independent.
2. Portable: The features of Platform Independence makes a Java
program portable and follow the concept “Write Once Run Anywhere
[WORA]”.
3. Object –Oriented: In java we organize data as a combination of
different types of objects that incorporate.
4. Simple: Java is very simple .According to Sun Microsystems. Java
language is simple because it is based on C++.
5. Secure: Java is secure. It runs on its own virtual machine .Java
package contains:
Class loader- This adds security by separating the local files
from the network software.
Byte code verifier-This checks the code fragments for illegal
codes.
Security manager – This determines what resources a class can
access , such as reading and writing to a local disk .Some
security can also be provided . Through Secure Socket Layer
[SSL], Java authentication and authorization service [JAAS] and
cryptography.
6. Robust: Robust means strong. Java uses a strong memory
management. There is an automatic garbage collection in java
package. This has exception handling and type checking mechanism.
All these make java robust.
7. High performance: Java is faster than all the other programming
language.
8. Distributed: We can create distributed applications in Java. Java uses
RMI [Remote Method Invocation] and EJB [Enterprise java beans]. We
can access files by calling the methods or functions from any machine
with the help of interest.
9. WORA [write once and run anywhere]: Java program needs to be
written once and it can be run on any platform without making any
INTRODUCTION
Java is a programming language that has many features. Java has been
developed by a team led by James Gosling. The language was initially called
‘Oak’. It is a general purpose Object Oriented Programming language. Java
became a popular language for internet because of its features.
HISTORY OF JAVA
In 1995, Java was first launched by Sun Microsystems. Java has been
through many development phases and gone through regular upgrading. On
November 13 of 2006, Sun released much of its java virtual machines [JVM]
as “free and open sources software” [FOSS], under the term of GNU General
Public Licence [GPL]. The making of JVM core code was finished on 8th May
2007 and made available are free / open – source software. In 2010, Oracle
acquired Sun Microsystems. The latest version of Java is Version-8 that has
come out in 2014 and last updated in March 2017.
FEATURES OF JAVA
Java features are also known as Java Buzz Words.
1. Platform Independent :A platform ia a hardware or software based in
which a program runs. Programs written in Java can be executed any
other platform. There are two types of platforms:
Software based
Hardware based
Java platforms differ from other platforms.
Java is a software based platform that runs on hardware based
platform. It has two components:
Run Time Environment [RTE]
Application Programming Interface [API]
, Java code is compiled by the compiler and converted into byte codes. These
byte codes are platform independent.
2. Portable: The features of Platform Independence makes a Java
program portable and follow the concept “Write Once Run Anywhere
[WORA]”.
3. Object –Oriented: In java we organize data as a combination of
different types of objects that incorporate.
4. Simple: Java is very simple .According to Sun Microsystems. Java
language is simple because it is based on C++.
5. Secure: Java is secure. It runs on its own virtual machine .Java
package contains:
Class loader- This adds security by separating the local files
from the network software.
Byte code verifier-This checks the code fragments for illegal
codes.
Security manager – This determines what resources a class can
access , such as reading and writing to a local disk .Some
security can also be provided . Through Secure Socket Layer
[SSL], Java authentication and authorization service [JAAS] and
cryptography.
6. Robust: Robust means strong. Java uses a strong memory
management. There is an automatic garbage collection in java
package. This has exception handling and type checking mechanism.
All these make java robust.
7. High performance: Java is faster than all the other programming
language.
8. Distributed: We can create distributed applications in Java. Java uses
RMI [Remote Method Invocation] and EJB [Enterprise java beans]. We
can access files by calling the methods or functions from any machine
with the help of interest.
9. WORA [write once and run anywhere]: Java program needs to be
written once and it can be run on any platform without making any