What Is the JavaTM Technology?
The Java technology is:
● A programming language
● A development environment
● An application environment
● A deployment environment
The syntax of the Java programming language is similar to C++ syntax.You can use the Java programming language to create all kinds of applications that you could create by using any conventional programming language.
As a development environment, Java technology provides you with a large suite of tools: a compiler, an interpreter, a documentation generator, a class file packaging tool, and so on.
The Java programming language is usually mentioned in the context of the World Wide Web (web) and browsers that are capable of running programs called applets. Applets are programs written in the Java programming language that reside on web servers, are downloaded by a browser to a client’s system, and are run by that browser. Applets are usually small in size to minimize downloadtime and are invoked by a Hypertext Markup Language (HTML) web page.
Java technology applications are standalone programs that do not require a web browser to execute. Typically, they are general-purpose programs that run on any machine where the Java runtime environment (JRE) is installed.
There are two main deployment environments. First, the JRE supplied by the Java 2 Software Development Kit (Java 2 SDK) contains
the complete set of class files for all of the Java technology packages, which includes basic language classes, GUI component classes, an advanced Collections API,and so on. The other main deployment environment is on your web browser. Most commercial browsers supply a Java technology interpreter and runtime environment.
Primary Goals of the Java Technology
Java technology provides the following:
● A language that is easy to program because it:
● Eliminates many pitfalls of other languages, such as pointer arithmetic and memory management that affect the robustness of th code terms
● Is object-oriented to help you visualize the program in real-life
● Enables you to streamline the code
● An interpreted environment resulting in the following benefits:
● Speed of development – Reduces the compile-link-load-test
● Code portability – Enables you to write code that can be run on
● A way for programs to run more than one thread of activity
● A means to change programs dynamically during their runtime life
by enabling them to download code modules
● A means of ensuring security by checking loaded code modules
The Java technology architecture uses the following features to fulfill the previously listed goals:
● The JVM
● Garbage collection
● The JRE
● JVM tool interface cycle multiple operating systems on any certified JVM