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:- • Simplicity• Object-oriented• Platfrom independence• Robust• Secure• Dynamic• Portable• Multithreaded• 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 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 2.4.3 ODBC 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.2.4.4 JDBC 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.JDBC GOAL 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.