Intro+Project+3+SSE554

=Introduction=

Java is a programming language in the tradition of C and C++. However, Java differs from other programming languages in a couple of significant ways. One of the main reasons Java is so popular is its platform independence, which means simply that Java programs can be run on many different types of computers. A Java program runs on any computer with a Java Runtime Environment, also known as a JRE, installed. A JRE is available for almost every type of computer you can think of, from PCs running any version of Windows, Macintosh computers, Unix or Linux computers, huge mainframe computers, and even cell phones.

Before Java, other programming languages promised platform independence by providing compatible compilers for different platforms.The idea was that you could compile different versions of the programs for each platform. Unfortunately, this idea never really worked. The compilers were never completely identical on each platform — each had its own little nuances. As a result, you had to maintain a different version of your program for each platform you wanted to support.

Java’s platform independence isn’t based on providing compatible compilers for different platforms. Instead, Java is based on the concept of a virtual machine. The Java Runtime Environment is an emulator that creates a Java Virtual Machine environment that can execute Java programs. The Java compiler doesn’t translate Java into the machine language of the computer the program is run on. Instead, the compiler translates Java into the machine language of the Java Virtual Machine, which is called bytecode. Then the Java Runtime Environment runs the bytecode in the JVM. Because of the JVM, you can execute a Java program on any computer that has a Java Runtime Environment installed, without recompiling the program. That’s how Java provides platform independence. The programs you write run just as well on a PC running any version of Windows, a Macintosh, Unix or Linux, or any other computer with a JRE installed.

With Java you can create a lot of different applications. In this project, we will demonstrate some advanced Java features such as : XML, Javabeans Components, Database Programming, and Advanced Swing.

Main **INTRODUCTION**  XML


 * Chapters **