Tuesday, June 30, 2009

Java technology architecture


The java technology architecture uses the following feautres:


  • The JVM

  • Garbage collection

  • The JRE

  • JVM tool interface



  • The JVM



(abbreviation for Java virtual machine).The java virtual machine specifications define JVM as


An imaginary machine that is implemented by emulating it in a softwareon a real machine.Code for the JVM is stored in .class file,which contains code for atmost one public class.


The java virtual machine specification provides the hardware platform specifications to which you compile all java technology code.This specification enables the java software to be platform independant because the compilation is done for the generic machine,known as JVM.You can emulate the generic machine in software to run on various existing Systems or implement it in the hardware.


The compliler tajes the java application source code and generates bytecodes.Bytecodes are machine code instructions from the JVM. Every java technology interpreter ,regardless of whether it is a Java technology development tool or a web browser that can run applets, has an implementation of JVM.

Primary goals of Java Tecnology

--> Eliminates many pitfalls of other languages,such as pointersarithematic and memory management that affect the robustness of the code
--> Is object oriented to help you visualize the program in real-life terms

-->Enables you to streamline the code

-->An interpreted enviornment resulting in the following benefits:
--Speed of development:Reduces the compile -link-load test cycle
--Code portability:Enables you to write code that can run on multiple operating systems on any certified JVM
-->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 to code modules
--> A means of ensuring security by checking the loaded code modules


What is Java Technology

The java Technology is :

--> A programming language

The sytax of java programming language is similar to C++ syntax.You can use java programming language to create all kinds of applications whether it be related to a microwave, your ipod or your cell phones


--> A development enviornment
As an development enviornment ,java technology provides you with a large suit of tools, compiler, an interpreter,a documentation generator,a class file packaging tool and so on.
Java programming language is mentioned in the context of the World Wide Web(www) and browsers that are that are capable of running programs called applets.

Applets-- They are the programs written in the java programing language that reside on web servers and downloaded by a browser to a client system and are run by that browser .Applets are usually small in size to minimize download time and inovked by HTML web page

--> An application enviornment
Java technology applications are standalone programs that do not require a web browser to execute.Typically they are general purpose programs to run on any machines where the Java Runtime enviornment (JRE) is installed
--> A deployment enviornment
There are two main deployment enviornment.
1--> JRE
This is supplied by java 2 software development kit(Java 2 SDK) which contains the complete set of class files for all the java technology packages ,which include basic language classes,GUI component clases and so on.

2-->Other Main is in your web browser
most commercial browsers supply a Java technology interpreter and runtime enviornment

Unable to understand Java .Learn it the easy way

Hey people if you are reading this then i feel that either you guys are unable to Understand java or want to learn something more about it.Whether it be an ametuar or professional everybody's welcomed here and share their thoughts.Probably i have created this blog because i have some knowledge about it and want to share it with you guys..also i want to learn things that i dont know.