Friday, September 24, 2010

Introduction of JAVA

Java is a programming language developed by James Gosling from Sun Microsystems in 1991. The first public version of Java (Java 1.0) was released 1995. Over time several various version of Java were available which improved and enhanced the language and it libraries as well as classes.
From the Java programming language the Java platform evolved. The Java platform allows that Code is written in other languages then the Java programming language and still runs on the Java virtual machine.

Characteristics of Java

Java has the following properties
  • Platform independentJava program do in general not access directly system resources but use the Java virtual machine as abstraction. This makes Java programs highly portable. A Java program which is standard complaint and follows certain rules can run unmodified all several platforms, e.g. Windows or Linux.
  • Object-orientated programming languageExcept the primitive data types, all elements in Java are objects
  • Strongly-typed programming language Java is strongly-typed, e.g. types of the elements must be pre-defined and conversion to other objects is relatively restricted.
  • Interpreted and compiled language Java source code is transfered into byte-code which does not depend on the target platform. This byte-code will be interpreted by the Java Virtual machine (JVM). The JVM contains a so called Hotspot-Compiler which translates critical byte-code into native code.
  • Automatic memory managementJava manages the memory allocation and de-allocation for creating new objects. The program does not have direct access to the memory. The so-called garbage collector deletes automatically object to which no active pointer exists.
  • Java is case sensitiveThe Java syntax is similar to C++. Java is case sensitive, e.g. the variables myValue and myvalue will be treated as different variables.

Tuesday, September 7, 2010

Few essential tips before begin with java

Learning the Java platform is an exciting journey. There is so much you can do with Java technologie but one biggest problem is that what you want to do and where to start is the first problem you need to sort out. The journey of learning Java platform should be fun, clear, and exciting one.


Before learning you need to consider the following points first
  • Choosing the tool
For learning java their are various tools are available like


javac The compiler for the Java programming language.
java The launcher for Java applications. In this release, a single launcher is used both for development and deployment.

The old deployment launcher, jre , is no longer provided.
javadoc API documentation generator
apt Annotation processing tool.
appletviewer Run and debug applets without a web browser.
jar Create and manage Java Archive (JAR) files.
jdb The Java Debugger.
javah C header and stub generator. Used to write native methods.
javap Class file disassembler
extcheck Utility to detect Jar conflicts.

First of all you will decide which tool to start for learning java .This is depending upon what you currently know about the tool. After reading about the tools, you will find out resources to learn about the technologies, and the details of the Java programming language.
The tools express the relationships between objects and how to make those objects interact and do things. Yet, each tool has been designed with a certain audience in mind.
  • Java Standard Edition (Java SE)
For learning the any tool you need the Java Standard Edition (Java SE) .Once you installed the Java SE on your computer, you are ready to learn the various tools that you want to learn.


Many of you, yet, may know some programming like C and C++ , or another programming language, or maybe you don’t know nothing of the programming language but you want to learn the programming language.


Download JAVA SE


After installing the Java SE , you'll also need to learn the basics of the Java programming language. Your best resource for this is The Java Tutorial.


After reading this article your all basic doubts will be sort out.