Java is a high-level programming language which is rapidly growing advanced technologies in the field of computer and information fields. With the other machine, languages we can either compile or infer a program to run the program on the system, but the profit of using is that it can be both compiled and interpreted. In Java the program is divide into halfway code called the byte codes. This is platform independent code and is deciphered by the interpreter on the Java platform.
It has the following buzzwords:-
• Platfrom independence
• High performance
• Architectural neutral
2.4.2 . JAVA PLATFORM
Generally, platform is defined as the hardware or software environment on which our programs run. Few of the reputed ones are windows 2000, Linux, Solaris and MacOS. It might be considered as a blend of the working framework and equipment. The Java platform is a product stage that keeps running on the highest point of the other equipment based stage The Java platform has two components namely:
• The Java Virtual Machine(JVM)
• The Java Programming Application Interface(Java API)
Java Virtual Machine is the base stage for the Java stage and it is ported into different equipment based stages. Java API is by and large assembled into libraries of classes and interfaces. This classes is otherwise called bundles. The accompanying graph demonstrates the employments of Java stage and how the Java virtual and the Java API protect the program from the equipment
ODBC remains for Open Database Connectivity is a standard programming interface for database specialist co-ops and the application designers. ODBC is the de facto for the windows to get connected or interact with the database system, programmers has to use different programming languages to get connected with the database. Now, the ODBC has made the choice of the database system easier and efficient.
. Application engineers have considerably more vital things to stress over than the language structure that is expected to port their program starting with one database then onto the next when business needs abruptly change.
Through the ODBC Administrator in Control Panel, you can determine the specific database that is related with an information source that an ODBC application program is composed to utilize. Think about an ODBC information source as an entryway with a name on it. Every entryway will lead you to a specific database. For instance, the information source named Sales Figures may be a SQL Server database, while the Accounts Payable information source could allude to an Access database. The physical database alluded to by an information source can live anyplace on the LAN.
Java Database Connectivity or JDBC is produced by Sun Microsystems to build up an autonomous standard database API for Java. A bland SQL database get to instrument is given which thusly gives a predictable interface to assortment of Relational Database Management System (RDMS).Database availability module utilize “module” to keep up the interface consistency. Jumpers for every stage ought to be given to the database and Java to have JDBC bolster. To get a more broad affirmation of JDBC ,Sun build JDBC’s framework as for ODBC.
Barely any product bundles are planned without objectives as a top priority. JDBC is one that, as a result of its numerous objectives, drove the advancement of the API. These objectives, in conjunction with early commentator input, have settled the JDBC class library into a strong structure for building database applications in Java.
The objectives that were set for JDBC are essential. They will give you some knowledge with reference to why certain classes and functionalities carry on the way they do. The eight design goals of JDBC are as follows
• SQL Level API.
• SQL Conformance.
• JDBC must be implemented on the top of common database interface.
• A Java interface is provide which is consistent with the rest of the Java system.
• It should be kept simple.
• Keep the common cases simple.
• Strong, static should be used wherever possible.
Java is also unusual in that each Java program is both compiled and interpreted. With a compile you decipher it into a midway language called Java byte codes the platform-independent code instruction is passed and run on the computer.
Java is moreover remarkable in that each Java program is both collected and deciphered. With a request you influence an understanding of a Java to program into a widely appealing vernacular called Java byte codes the stage independent code rule is passed and continue running on the PC.
JScript (and alternate dialects) can be utilized for both basic assignments, (for example, mouseovers on Web pages) and for more mind boggling errands, (for example, refreshing a database with ASP or running logon contents for Windows NT ).
Windows Script depends on outside “question models” to do a lot of its work. For instance, Internet Explorer’s DOM gives protests, for example, ‘record’ and techniques, for example, ‘compose()’ to empower the scripting of Web pages.