06-03-2013, 12:08 PM
Java is Object Oriented
Java is Object.doc (Size: 69 KB / Downloads: 16)
History of Java
Sun Micro Systems began a project for software to run TV and VCR sets -i.e., Interactive TV & VCR. A team of Software Engineers led by James Gosling others laid specifications for this project in January 1991. By September 1992 the basic system was drafted. These interactive sets were called Set-top boxes. The hardware was called *7,O/S was names Green and the programming language called OAK.
Later the language was renamed Java, as OAK was already registered. Meanwhile in 1993, the development of MOSAIC (Browser) led to the widespread use of WWW. Gosling realized by chance that Java was well suited for the Web because it was secure and most importantly architecture neutral. In September 1994 a browser called Hot Java was developed entirely in Java on May 23rd 1995 Java was formally released. Seeing the immense potential software companies began to license the technology to develop their products in Java. The Java Development Kit 1.0 was released on January 23rd 1996. Sun’s game plan is to popularize Java. Java is freely distributed on the Internet.
What Java is all about?
Java is Object Oriented
Java is truly an Object Oriented language, since technology is best suited for distributed client/server systems on the Net. It fully incorporates the concept of reusable component software. With the exception of primitive data types, every thing in Java is an object. Even the primitive types can be encapsulated within objects of necessary. Four fundamental aspects of object oriented technology are well supported in JAVA.
Features of Java:
Java is out and out an OOP language. Unlike C++, it enforces the programmers top adheres to OOP.
Java is portable and architecture neutral
Write once and run anywhere is the slogan for Java. That is Java programs once compiled can be executed on any machine that is Java enabled.
Java is distributed
Java is for the Internet, which is distributed in its approach. Of all the transformations that Java promises pivotal to the infotech industry as this distributed nature of Java. Its aim is to phase shift the way computing is being done today. The software packages that have just-in-case features crammed in will become redundant.
Just as Java supports distributed and tiny specific applications called applets which will spawn the Web of computer, the post Java user simply would download an applet of his choice and have it on his system for the duration till the applet completes it’s job it is expected to do.
Java Architecture
Java architecture provides a portable, robust, high performing environment for development. Java provides portability by compiling the bytecodes for the Java Virtual Machine, which are then interpreted on each platform by the run-time environment. Java also provides stringent compile and run-time checking, and automatic memory management in order to ensure solid code. Strong security features protect system against ill-behaved programs. Java is a dynamic system, able to load code when needed from a machine in the same room or across the planet.
Compilation of code
When you compile the code, the Java compiler creates machine code (called byte-code) for a hypothetical machine called Java Virtual Machine (JVM). The JVM is supposed to execute the byte-code. The JVM is supposed to execute the bytecode. The JVM is created for overcoming the issue of portability. The code is written and compiled for one machine and interpreted on all other machines. This machine is called Java Virtual Machine.