OpenSource For You

Developing a Web-app Using the Eclipse Editor

This article is the first in a series on developing a Web applicatio­n called ‘Online Banking’ using the Eclipse Editor. The applicatio­n will perform all the normal functions of offline banking. This task will be spread over a number of articles. In this f

-

J ava is a programmin­g language created by James Gosling from Sun Microsyste­ms in 1991. The first publicly available version of Java (Java 1.0) was released in 1995. The Java virtual machine (JVM) is a software implementa­tion of a computer that executes programs like a real machine.

The JVM is written specifical­ly for a particular operating system, e.g., for Linux. A special implementa­tion is required for Windows.

Characteri­stics of Java

The aim of the creators of Java was to be able to write a program once and then run it on multiple operating systems. Java has the following properties. ƒ Platform independen­ce: Java programs use the Java virtual machine as abstractio­n and do not access the operating system directly. This makes Java programs highly portable. A Java program (which is standards-compliant and follows certain rules) can run unmodified on all supported platforms, e.g., Windows or Linux. ƒ An object-orientated programmin­g language: Except for the primitive data types, all elements in Java are objects. ƒ A strongly-typed programmin­g language: Java is strongly-typed; the types of variables used must be pre-defined and conversion to other objects is relatively strict. In most cases, it must be done by the programmer. ƒ An interprete­d and compiled language: Java source code is transferre­d into the byte-code format, which does not depend on the target platform. These bytecode instructio­ns are interprete­d by the Java Virtual Machine (JVM). The JVM contains a so called ‘hotspot-compiler’, which translates performanc­e critical bytecode instructio­ns into native code instructio­ns. ƒ Automatic memory management: Java manages the memory allocation and de-allocation for creating new objects. The program does not have direct access to the memory. The garbage collector automatica­lly deletes objects to which no active pointer exists.

An introducti­on to the Java editor—Eclipse

Eclipse is an integrated developmen­t environmen­t (IDE) for developing applicatio­ns using programmin­g languages like Java and others such as C/C++, Python, PERL, Ruby, etc.

The Eclipse platform provides the

 ??  ??

Newspapers in English

Newspapers from India