Tuesday, 1 July 2014

Java Platform

The developers develop the applications to suit a particular set of users. The Java Platform realizes the challenges faced by the developers and offers choices of different Java technologies depending on the user's requirements .

Java Platform has two most important components

 -> JDK (Java Development Kit)  It is the set of tools used by a programmer to build the java applications.

 -> JRE (Java Run-time environment) It provides the OS with the means to run java programs



NOTE : JRE is contained within the JDK

JDK

It comes with a collection of tools :

(i). appletviewer : for viewing and testing the java applets on the console

(ii).javac : java compiler

(iii).java : java interpreter

(iv).javap : java dis-assembler ,it disassembles one or more class files. Its output depends on the options used. If no options are used, javap prints out the package, protected, and public fields and methods of the classes passed to it.

(v).javah : it extends C header files

(vi).javadoc :  this is the java documentation tool  generating API documentation in HTML format from Java source code (bytecode).

(vii).jdb : java debugger

Java platform also includes a set pre-compiled classes and methods that form the JSL( Java Standard Library) , also called the API (Application Programming Interface) .

JRE

It facilitates the execution of programs. Its components are :

(i). JVM
(ii).Runtime class libraries
(iii). User Interface Toolkits eg. AWT, Swing
(iv).Deployment Technologies
      -> Java plug-in : enables the execution of the applet on the web browser
      -> Java Web Start : using this one can launch the application directly from the web browser without                    installing it.

API

  It includes hundreds of classes and methods grouped into packages .

(i). Languages Support Package
(ii). Utilities Package
(iii).Input/Output Package
(iv).Networking Pckage
(v). AWT (Abstract Windows Toolkit) Package
(vi).Applet Package

The use of these packages will become evident once we start with the programs.

No comments:

Post a Comment