0% found this document useful (0 votes)
2 views3 pages

What Is Java

Java is a high-level, robust, secure, and object-oriented programming language developed by James Gosling and his team at Sun Microsystems in 1991, with the key principle of 'Write once, run anywhere'. It supports various types of applications including standalone, web, enterprise, and mobile applications, and utilizes its own runtime environment (JRE) and API. Java eliminates pointers and multiple inheritance for security purposes and is widely used across numerous devices and platforms.

Uploaded by

mbfchennaibpu
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views3 pages

What Is Java

Java is a high-level, robust, secure, and object-oriented programming language developed by James Gosling and his team at Sun Microsystems in 1991, with the key principle of 'Write once, run anywhere'. It supports various types of applications including standalone, web, enterprise, and mobile applications, and utilizes its own runtime environment (JRE) and API. Java eliminates pointers and multiple inheritance for security purposes and is widely used across numerous devices and platforms.

Uploaded by

mbfchennaibpu
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

What is Java

Java is a programming language and a platform.

Java is a high level, robust, secured and object-oriented programming language.

Platform: Any hardware or software environment in which a program runs, is known as a


platform. Since Java has its own runtime environment (JRE) and API, it is called platform.

In 1991 Java was developed by James Gosling and team in Sun microsystem and first
version released in 18 months duration. Primary motivation of java is Platform
independed and its theme is “Write once Run anywhere”.

Features are

Pure OOPS

Security

Robust

Architectural Neutral ( Platform Independed)

JDK1.1 , 1.2 , 1.3 , 1.4 , …………..1.8 was released (Java Development Kit)

It is used to compile java source code by using JVM Java Virtual Machine. It is used to
convert byte code to executable code and also it has Just in time (JIT) compiler.

If we create a java file and compile it, then it will create a class file. And java file and
class file names should be same. Then only java file will execute the program.

Java has eliminate Pointers and Multiple inheritance , because of security purpose.

Java has two types of Programs:

1. Application
2. Applet

Packages

Lang Package (Default package)


Applet Package

AWT Package

IO Package

SQL Package

Java Example
Let's have a quick look at java programming example. A detailed description of hello Java
example is given in next page.

1. class Simple{
2. public static void main(String args[]){
3. [Link]("Hello Java");
4. }
5. }
Test it Now

Where it is used
According to Sun, 3 billion devices run java. There are many devices where Java is currently
used. Some of them are as follows:

1. Desktop Applications such as acrobat reader, media player, antivirus etc.

2. Web Applications such as [Link], [Link] etc.

3. Enterprise Applications such as banking applications.

4. Mobile

5. Embedded System

6. Smart Card

7. Robotics

8. Games etc.

Types of Java Applications


There are mainly 4 types of applications that can be created using java programming:

1) Standalone Application
Standalone applications are also known as desktop applications or window-based
applications. These are traditional software that we need to install on every machine.
Example of standalone applications are: Media player, antivirus etc. AWT and Swing are
used in java for creating standalone applications.

2) Web Application
An application that runs on the server side and creates dynamic page, is called web
application. Currently, Servlet, JSP, Struts, Spring, Hibernate, JSF etc. technologies are used
for creating web applications in java.

3) Enterprise Application
An application that is distributed in nature, such as banking applications etc. is called
enterprise application. It has the advantage of high level security, load balancing and
clustering. In java, EJB is used for creating enterprise applications.

4) Mobile Application
An application that is created for mobile devices. Currently Android and Java ME are used for
creating mobile applications.

You might also like