14-07-2012, 03:47 PM
Overview of Java
Overview of Java.doc (Size: 280 KB / Downloads: 40)
Introduction:-
Java is an object oriented programming language developed by Sun Microsystems Inc. in 1991. Java was developed for consumer electronic devices but later it was shifted towards Internet. Now Java has become the widely used programming language for the Internet. Java is a platform neutral language (Machine Independent). Program developed by Java can run on any hardware or on any operating system.
History of Java:-
Java was developed by James gosling at Sun Microsystems Inc. in 1991. Initial name of this language was “Oak” but it was renamed in 1995 as “Java”.
Need for Java:-
Java was developed due to the need for a platform neutral language that could be used to create software to be embedded in various consumer electronic devices, such as microwave ovens and remote controls. The program written in C and C++ are compiled for a particular piece of hardware and software and that program will not run on any other hardware or software. So we need C/C++ compilers one for each type of hardware to compile a single program. But compilers are expensive and time-consuming to create. So there is a need for platform neutral language. So that program compiled from that compiler can run on any hardware. This need led to the creation of Java.
Type of applications Java can develop:-
Standalone Applications:-
A standalone application is a program that runs on our local computer under the operating system of that computer just like a C or a C++ program.
Applets:-
An applet is a small program which travel across the Internet and executed by a Java-Compatible web browser, such as Internet Explorer or Netscape Navigator, on the client machine. An applet is actually a tiny Java program, dynamically downloaded across the network.
Web Applications:-
These are the programs which run on Web Server. When we access a web site by specifying the URL (Universal Resource Locator) in a web browser then the web browser sends a request to the web server for a particular Web site. After receiving this request server runs a program and this program is called as Web
Application.
Distributed Applications:-
Java application is divided into small programs which can run on separate machines. The objects used in these programs can communicate with each other.
Introduction of Project
Notepad is a basic text editor that can be used to create simple documents. The most common use for Notepad is to view or edit text (.txt) files, but many users find Notepad a simple tool for creating Web pages. It has been a quest for many programmers to build Notepad using different programming languages. I have built up a basic Notepad program using Java technology. This Notepad supports basic text editing features such as cut, copy, paste, delete etc.
Notepad may be used to edit text with markup, such as HTML. However, because they lack many features (such as syntax highlighting), web developers may favor more specialized editors for this purpose.