Home Java Use-java What is the use of java?

Related Tutorials


Share on Google+Share on Google+

What is the use of java?

Java technology is a high-level programming and a platform independent language. Java is designed to work in the distributed environment on the Internet.

What is the use of java?



Java technology is a high-level programming and a platform independent language. Java is designed to work in the distributed environment on the Internet. Java has a GUI features that  provides you better "look and feel" over the C++  language, moreover it is easier to use than C++ and works on the concept of object-oriented programming model. Java enable us  to play online games, video, audio, chat with people around the world, Banking Application, view 3D image and Shopping Cart. Java find its extensive use in the intranet applications and other e-business solutions that are the grassroots of corporate computing. Java , regarded as the most well described and  planned language  to develop an applications for the Web.

Java is a well known technology which allows you for software designed and written  only once for an  "virtual machine" to run on a different  computers, supports various Operating System like Windows PCs, Macintoshes, and Unix computers. On the web aspect, Java is popular on web servers, used  by many of the largest interactive websites. Java is used to create standalone applications which may run on a single computer or in distributed  network. It is also be used to create a small application program based on applet, which is further used for Web page. Applets make easy and possible to interact with the Web page.

Java  Preferred Over Other Languages

 The Java is a high-level programming language  that can be supported by all of the following features:

Simple Architecture neutral
Object oriented Portable
Distributed High performance
Multithreaded Robust
Dynamic Secure

Java  has  advantages over other languages and environments that make it suitable for just about any programming task.

The advantages of Java are as follows:

  • Java is simple, easy to design , easy to write, and therefore easy to compile, debug, and learn than any other programming languages.
  • Java is object-oriented, that is used to build modular programs and reusable code in other application.
  • Java is platform-independent and flexible in nature. The most significant feature of Java is to run a program easily from one computer system to another. 
  • Java works on distributed environment. It is designed to work on distributed computing , Any network programs in Java is same as sending and receiving data to and from a file.
  • Java is secure. The Java language, compiler, interpreter and runtime environment are  securable .
  • Java is robust. Robust means reliability. Java  emphasis on  checking for possible errors, as Java compilers are able to detect many error problem in program during the execution of respective program code.
  • Java supports multithreaded. Multithreaded is the path of execution for a program to perform several tasks simultaneously within a program. The  java come with the concept of Multithreaded Program. In other languages, operating system-specific procedures have to be called in order to work on multithreading.

Java Technology Works

Java is a high-level programming language and powerful software platform. On full implementation of the Java platform gives you the following features:

  • JDK Tools: The JDK tools provide  compiling, Interpreter, running, monitoring, debugging, and documenting your applications.  The main tools used are the Javac compiler, the java launcher, and the javadoc documentation tool.
  • Application Programming Interface (API): The API provides the core functionality of the Java programming language. It gives a wide collection of useful classes, which is further used in your own applications. It provides basic objects and interface to networking and security, to XML generation and database access, and much more. 
  • Deployment Technologies: The JDK software provides two type of deployment technology such as the Java Web Start software and Java Plug-In software for deploying your applications to end users. 
  • Graphical User Interface Toolkits: The Swing and Java 2D toolkits provide us the feature of  Graphical User Interfaces (GUIs).
  • Integrated Libraries: Integrated with various libraries such as the Java IDL API, JDBC API, Java Naming and Directory Interface TM ("J.N.D.I.") API, Java RMI, and Java Remote Method Invocation over Internet Inter-ORB Protocol Technology (Java RMI-IIOP Technology) enable database to access and changes of remote objects.

Java Technology Changes  Our Life

  • Easy to Start:  Since Java programming language is completely based on  object-oriented language, it's easy very simple and easy to learn, especially for programmers already known with C or C++.
  • Easy to write code: As compared to program metrics (class counts, method counts, and so on) tell us that a program written in the Java programming language can be four times smaller as compare to the same program written in C++.
  • Write better code: The Java programming language encourages good coding practices, and manages automatic garbage collection which  helps you avoid memory leaks. Based on the concept of  object orientation, its Java Beans component architecture, and  wide-range, easily extendible, flexibility and API  can reuse existing, tested code and introduce fewer bugs.
  • Develop programs and Time Safer: The Java programming language is easier and simpler than C++,  as such, manages your development time  upto twice as fast when writing in it. The programs will also require fewer lines of code.
  • Platform Independencies: The program  keep portable and platform independent by avoiding the use of libraries written in other languages. 
  • Write Once and Used in any Java Platform : Any Source code of Program  are written in the Java programming language, that is compiled into machine-independent byte codes and run consistently on any platform of java.
  • Distribute software makes work easy : Using Java Web Start software, users will be able to launch own applications with a single click on mouse. An automatic version check initially  weather users are always up to date with the latest version of your software. If an update is available for it, the Java Web Start software will automatically update their installation.

Java Platform

Platform  is cross-combination of  hardware or software environment in which a program runs. We are already  known with  the most popular platform like Microsoft Windows, Linux, Solaris OS, and Macintoshes OS. The Java platform differs from other platforms, that is only software-only platform which  runs on other hardware-based platforms.

The Java platform has two components:

  • The Java Virtual Machine(JVM)
  • The Java Application Programming Interface (API)
 The Java Virtual Machine is the root for the Java platform and is integrated into various hardware-based platforms.

The API is a vast collection of various software components that provide you many useful functionality to the application. It is grouped into logical collection  of related classes and interfaces; these logical collection  are known as packages.

The API and Java Virtual Machine insulate the program from  hardware.

Java work on platform-independent environment, the Java platform is bit slower than native code. However, new changes  in compiler and virtual machine  brings performance close to that of native code without posing any threatening to portability security.

All source code is  written in  text files (Notepad Editor) save with the .java extension in the Java programming  language.

The source files are compiled into .class files by the java compiler. A .class file  contains byte codes ? the machine   language of the Java Virtual Machine (JVM). The java launcher tool  runs your application with an instance of the Java Virtual  Machine.

Schematic Flow of Java Software Development Life Cycle

JVM works on different Operating System . The  .class files(bytecode)  capable of running on various Operating System. There are some virtual machines, such as the Java Hotspots virtual machine that boost up your application performance at runtime . This include various tasks such as Efficiency of Programme and recompiling (to native code) which is  frequently used sections of code.

Java JVM, the same application is capable to run on multiple platforms.


If you enjoyed this post then why not add us on Google+? Add us to your Circles

Liked it!  Share this Tutorial

Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: October 13, 2008

Related Tutorials

Ask Questions?    Discuss: What is the use of java?   View All Comments

Post your Comment

Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
April 16, 2011

Pls i want to start JAVA programing training and i don't know where to start and the aspect to focus on.....
May 29, 2011

java technology is high level programing language and platform independent,java is designed to work in distributed environment on the internet uses: this is object oriented programing language 1.this is the user understanding language 2.using video ,audio,games,commericial applications also etc...........
siva kumar
September 15, 2011

Nakul Chandra
September 26, 2011
java core

why we need to java if c, c++ is there why .......
sonika sharma
February 14, 2013

Thanks for sharing this. I was searching it from long time. It's very useful for me. I will share it with my friends also.
February 26, 2013
core java

java is understanding purpose goodlanguage
November 24, 2011

Java is a pure object oriented programming language.
Anshuman Pandey
November 29, 2011
java detail

please tell me detail in java...
sadgi verma
December 21, 2011
basic of java

what is basic of java,how we can work in java as a starter.
December 27, 2011
fire surrounds glasgow

Nice Blog & thanks I am looking from so long for something like this and I found informative stuff in this blog and increase my knowledge little bit. Java is very tough scripting language but this blog helpf me a lot to ease so many queries. Thanks for sharing this helpful information.
April 11, 2012

Thanks for positing such an useful tutorial on the website. Java is never so easy for me before I have gone through the tutorial provided here on the website. These tutorials are very easy to understand, especially for the beginners who have no sour
Rishikant Shah
May 2, 2012

please send me answer of this question .
May 7, 2012

what is the J2ME and what are the futures
May 10, 2012

How to work in Java ?
May 18, 2012

java is oject oriented programing language. but why it;
seham shahatah
May 20, 2012
is java necessary for operating labtop

i have problem with java is it ok to uninstal and reinstal the program? thank you
May 26, 2012
what is the use of in this environment

i want to know about the java
May 28, 2012

it is very use full thank you
Niharika Kumari
June 19, 2012
inform m

(1) Whatz u to java..? (2) what i data abtaction an ata hiing...? (3) what i diffrnce between overloading and parametrised.?
Neela Reddy
June 29, 2012

give answers for any questions
July 4, 2012

why this change c++ to java
July 12, 2012

Java is programming language and object oriented language.This is main platform.Java is two components JVM(Java Virtual Machine),API(Application Programing Interface).Java is easi to learn,This use of came,internet,video,audio,etc.,
July 21, 2012

why not work inheretance in java.
August 24, 2012

I learning
Km mumthaj
December 27, 2012

I want Know about java
December 17, 2012

December 17, 2012
how to use of java in any sectar

what perpose it is used?????????whats the aim?
September 24, 2012

need more about java programming
December 8, 2012
future jobs in java

i want know the future jobs are in java
October 6, 2012
complete java,mobile application development

sir i need complete information of java and mobile application development
Mohit Yadav
November 30, 2012
Thank you

Very informative material is there in this page. This is very helpful for my me. Very very...... Thank You.
April 7, 2013
about java

I want to know how to set a path through netbeans???????
June 27, 2013
what is java aand what are its uses?

I love java
Subhajit Banerjee
June 16, 2013

tell me something about memory leak in java?
July 3, 2013
About Jaava

just very nice to learn jaava
July 24, 2013
different uses of java

what is the different uses and where I can use of java
September 4, 2013

where i can use of java?
August 22, 2013

Great work done. very good information in short.
July 9, 2014

Today i went to interview so very useful in the site
April 8, 2014
About java language

Very usefull information had given. It is very useful.......
July 2, 2014

Very useful information!
July 19, 2014

what purpose it is use..???