Java Background
Java Background
LANGUAGE
COMPUTER PROGRAMMING I
HISTORY OF JAVA
The story of Java begins in June 1991, when a small team of engineers at Sun
Microsystems, led by James Gosling, started a project called Green. The goal of the
project was to develop a programming language for consumer electronic devices,
such as smart TVs, set-top boxes, and handheld controllers. These devices needed
a language that was simple, robust, portable, and secure, as they had limited
memory and processing power, and had to communicate with each other over
different networks.
The team initially named the language Greentalk, with the file extension .gt. Later,
they renamed it to Oak, after an oak tree that stood outside Gosling’s office. Oak
was influenced by several other languages, such as C, C++, Smalltalk, Lisp, and
Ada. However, Oak was not designed for the web, which was emerging as a new
platform for distributed computing and information sharing. In 1993, the Green
team demonstrated their technology to Time Warner, who was interested in using
it for interactive TV. However, the cable industry was not ready for such an
advanced system, and the deal fell through. The team then shifted their focus to
the web, which offered a more promising opportunity for their language.
HISTORY OF JAVA
Since its first release in 1995, Java has undergone many changes and
improvements. Sun Microsystems established the Java Community Process (JCP) in
1998 to allow other companies and organizations to participate in the development
and standardization of Java. The JCP oversees the creation and revision of Java
specifications, which define the syntax and semantics of the language, as well as
its libraries and APIs (application programming interfaces).
The first version of Java was JDK (Java Development Kit) 1.0, which provided the
basic features of the language, such as classes, objects, inheritance,
polymorphism, exceptions, threads, and garbage collection. It also included some
core libraries for input/output (I/O), networking, graphics, and user interface
components.
JAVA VERSION
HISTORY
JAVA VERSION:
1.JDK Alpha and Beta12.Java SE 10 (20th Mar
(1995) 2018)
2.JDK 1.0 (23rd Jan 1996) 13.Java SE 11 (September
3.JDK 1.1 (19th Feb 1997) 2018)
4.J2SE 1.2 (8th Dec 1998) 14.Java SE 12 (March
5.J2SE 1.3 (8th May 2000) 2019)
6.J2SE 1.4 (6th Feb 2002) 15.Java SE 13 (September
7.J2SE 5.0 (30th Sep 2004) 2019)
8.Java SE 6 (11th Dec16.Java SE 14 (Mar 2020)
2006) 17.Java SE 15 (September
9.Java SE 7 (28th July 2020)
2011) 18.Java SE 16 (Mar 2021)
10.Java SE 8 (18th Mar19.Java SE 17 (September
JAVA APPLICATION AND JAVA APPLET
Both of these are Java programs, but there is a significant difference
between a Java application and a Java applet. The execution of the Java
application begins with the main() method. On the other hand, the
applet initializes through the init(). It does not use the main() method.
The applications of Java are types of stand-alone programs that directly
perform various general operations for their users. These do not require
any APIs or browsers enabled by Java. Conversely, the applets serve as
small programs that one can easily transmit across the internet. A web
browser that is Java-compatible can execute these applets.
The hardware or the operating system (OS) of the users’ devices do not
affect the Java applets. If the browser of the concerned system has a
properly installed JVM, then it can run easily with the help of these JVMs.
Also, the overall feel and look of the Java applications remain the same
on various OS.
Difference
Between a
Java
Applicatio
n and a
Java
Applet