Introduction to Java


Introduction to Java


What is java


Java is a object oriented programming language that is used to create softwares, games
websites, buisness aplications, client-server web applictaions, desktop applications.

It is intended to let application developers "write once, run everywhere" meaning that
the java program code that runs on one platform can run on any other platform too
without the recompilation of that code.

Who discovered Java

Java was discovered by James Gosling, Patrick Naughton, Chris Warth, Ed Frank, and
Mike Sheridan at Sun Microsystems in 1991.
This language was initially called "Oak" but was renamed "Java" in 1995.

Need :

There are lot of applications and websites that wont work unless you have java installed.
From laptops to data centres, game controls to sceintific super computers, cell phones
to internet, java is everywhere.

The main advantage of java is that it is platform independent. This is ideal for server side
web programming and the other important advantage is its security.

One more important advantage of java is automatic garbage collection mechanism which
help in avoiding memeory leaks.


Java Features :

Java language has many important features like :

Simple :

Java is simple and easy to understand. If you know the concepts of C\C++ then java is
simple to understand and easy to master.

Object-Oriented :

Java is object-oriented language that help to deal with real world entities called as objects.
The object-oriented approach made complex programs very easy.
Java provides object-oriented features like encapsulation, abstraction, inheritance and data
hiding.

Architecture-Neutral :

Java supports "write once, run everywhere". That is the java programs can run on any
machine with different operating systems and hardware configuration anywhere, anytime.

Robust :

Java is intended for writing programs that are reliable and it eleiminates the conditions that
are error prone.
Java has a pointer model which eliminates the possibility of overriding memory and corrupted data.

Secure :

Java provide a "firewall" between a networked application and your computer.
When you use a java-compatible web browser, you can safely download Java applets without
the fear of viral infection or malicious intent. Java achieves this by confining a java program
to the java execution environment and not allowing it access to other parts of the computer.

Portable :

Java is portable and its byte cord can execute on all major platforms. Once source code is
compiled, a .class extension file is generated which is the byte cord conversion of the source
code. This .class file can be used on any java supported platform without the modification,
unlike other language which requires compiling machine code for each platform.

Multithreaded :

Java supports multithreaded environment in which multiple threads can be run at the same time.
This feature is very useful in making games and multiple chat applications.

Dynamic :

Java programs carry with them substantial amount of run-time type information that is
used to verify and resolve access to objects at run time.

High performance :

Java language is high performance. This is due to the multithreading concept that java
provides.

Different Java Editions :


JSE :

It stands for "Java Standard Edition". It provides tools that you can use to create desktop
applications,server application, and even applets.

JEE :

It stands for "Java Enterprise Edition". It helps in web application service, component model
and enterprise class service oriented architecture (SOA).

JME :

It is Java Micro Edition that is used for the development of software for devices like mobiles,
and game programming.

0 comments:

Post a Comment