Rahul's Blog

Introduction to Java Technology

Posted on: January 5, 2011

I am writing this post for giving just a small introduction of Java programming language.

Java:

Java is a programming language originally developed by James Gosling at Sun Microsystems (which is now a subsidiary of Oracle Corporation) and released in 1995 as a core component of Sun Microsystems’ Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities. Java applications are typically compiled to byte code (class file) that can run on any Java Virtual Machine (JVM) regardless of computer architecture. Java is a general-purpose, concurrent, class-based, object-oriented language that is specifically designed to have as few implementation dependencies as possible. It is intended to let application developers “write once, run anywhere”. Java is currently one of the most popular programming languages in use, and is widely used from application software to web applications.

The Java technology is both a programming language and a platform. The Java programming language is a high level language that can be characterized by all the following buzzwords:

  • Simple
  • Object oriented
  • Distributed
  • Multithreaded
  • Dynamic
  • Portable
  • High Performance
  • Robust
  • Secure

Java Platform:

A platform is a software or hardware environment where a program runs. The most popular platforms like Microsoft Windows, Linux, Solaris OS and Mac OS. Most platform can be described as the combination of the operating system and underlying hardware. The Java platform differs from most other platform in that its a software platform that runs on top of other hardware based platforms.

The Java platform has two components:

  • Java Virtual Machine
  • Java Application Programming Interface (API)

In the Java programming language, all source code is first written in plain text files ending with the .java extension. Those source files are then compiled into .classfiles by the javac compiler. A .class file does not contain code that is native to your processor; it instead contains bytecodes — the machine language of the Java Virtual Machine1 (Java VM). The java launcher tool then runs your application with an instance of the Java Virtual Machine.

Because the Java VM is available on many different operating systems, the same .class files are capable of running on Microsoft Windows, the Solaris TM Operating System (Solaris OS), Linux, or Mac OS.

The API is a large collection of ready-made software components that provide many useful capabilities. It is grouped into libraries of related classes and interfaces; these libraries are known as packages.

As a platform-independent environment, the Java platform can be a bit slower than native code. However, advances in compiler and virtual machine technologies are bringing performance close to that of native code without threatening portability.

 

Leave a comment

Categories:

January 2011
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930
31  

My Blog Stats

  • 5,999 hits