Tuesday, May 12, 2009

Java Architecture

According to Sun Microsystems the Java architecture comprises of four components.Each of them is defined by Sun Microsystems.


The Components are:-

  • 1.Java Programming Language
  • 2.Java class file format
  • 3.Java Virtual Machine
  • 4.Java (API) Application Programming Interface.
Every Java program uses features of all the four components.They are used in following sequence:-

  1. We write code in Java programming Language.
  2. When we compile the .java file it creates a new file which is called as the class file(also called bytecode).
  3. The .class file(or class file) is executed by the JVM.
  4. When we execute the program the method calls are made through the Java API.The above

Sequence may be represented as following block diagram:-



The JVM and the Java API forms the basic Java runtime system and is must to execute any java program.The specification provided by the Sun Microsystems only lists the components features but this specification lacks the way how these features to be implemented.The implementation is always left to the designers.The JVM is provided by many vendors, mostly it comes along with the Operating System.All the JVM's must have some unique features that is why it is said that "Threads are JVM behaviour dependent".So its important to figure out how your JVM performs internal task of scheduling,memory related issues and other performance matrices.Although the JVM vendors and JVM functioning is a bit different but still all of them follow the Sun Microsystems Specification for Java Architecture.

Links:-
Home
Earn Money Quick

0 comments:

About This Blog

This Blog is all about Java and programming.This blog is written by Vaibhav Pandey .He is a Computer Science Graduate .You can contact the author at javatute@gmail.com for any suggestion or Query.You can also contact the author for advertising on this blog.All the material presented here is the property of author and its reproduction in any form is strictly prohibited.

Disclaimer:-Download links provided here are not of author in any means.These are found over the Internet.
Page copy protected against web site content infringement by Copyscape

  © Blogger templates The Professional Template by Ourblogtemplates.com 2008

Back to TOP