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 may be considered as a combination of the operating system and hardware. 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 platform for the Java platform and it is ported into various hardware-based platforms. Java API is generally grouped into libraries of classes and interfaces. This classes is also known as packages. The following diagram shows the uses of Java platform and how the Java virtual and the Java API insulate the program from the hardware
ODBC stands for Open Database Connectivity is a standard programming interface for database service providers and the application developers. 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 translate a it into a midway language called Java byte codes the platform-independent code instruction is passed and run on the computer.
Java is additionally unordinary in that every Java program is both assembled and translated. With an order you make an interpretation of a Java program into a middle of the road dialect called Java byte codes the stage autonomous code guideline is passed and keep 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.