High Level Programming Language Of Java Computer Science Essay

Java engineering is a combination of programming linguistic communication and a platform. This engineering supports the province of art plans helping the games, public-service corporations besides services related to the concern applications. As of 2012, Java was one of the most of import and wanted scheduling linguistic communication, in peculiar for client-server based applications, with more than 10 million users. Java has become the most of import portion of public presentation & A ; operations for tonss of applications and web sites. Without Java being installed, it might non be able to run or run them, as it provides much secure, velocity and efficiency.

The Java scheduling linguistic communication is an reliable and object-oriented high degree linguistic communication. This linguistic communication evolved from a linguistic communication called Oak, which was developed in early 90 ‘s as a manner of communicating involved in amusement contraptions such as video games life & A ; besides in VCR ‘s. Java is besides addressed as taken linguistic communication because of its byte codification, which is created by the digest of beginning codification. This compiled beginning codification is interpreted by JVM and is so converted to a machine dependant codification which is besides called as Native codification.

The High-level scheduling linguistic communication of Java is characterized by all of these following listed cants:


Architecture impersonal

We Will Write a Custom Essay Specifically
For You For Only $13.90/page!

order now

Object oriented



High public presentation






With most programming linguistic communications, you either collate or picture a plan so that you can run it on your computing machine. But, Java is peculiarly designed to cut down the figure of dependences every bit less as possible, during the procedure of execution. The Java scheduling linguistic communication is unusual, wherein a plan is both compiled and taken. With the compiler, first plan is foremost translated into an intermediate linguistic communication called Java byte codes -the platform-independent codifications interpreted by the translator on the Java platform. The translator determines and runs each Java byte codification direction on the computing machine. Compilation happens merely one time ; reading occurs each clip the plan is executed. The undermentioned figure illustrates how this works.

Description: g1

Figure: 3.3.1

Java is an Object oriented Programming construct which guides us to the nucleus thoughts & A ; constructs behind object-oriented scheduling such as: Objects, messages, categories and involvements. A clear image of what are they, why you would desire to compose one and how to compose is described clearly utilizing the interfaces & A ; heritage, which are few among those object-oriented constructs of Java.

You can believe of Java byte codifications as the machine codification instructions for the Java Virtual Machine ( Java VM ) . Every Java translator, whether it ‘s a development tool or a Web browser that can run applets, is an employment of the Java VM. Java byte codifications help do “ write one time, run anyplace ” possible. The plan can be congregated into byte codifications on any platform that has a Java compiler. The byte codifications can so be run on any execution of the Java VM. That means that every bit long as a computing machine has a Java VM, the same plan written in the Java scheduling linguistic communication can run on Windows 2000, a Solaris workstation, or on an iMac.

Description: helloWorld

Figure: 3.3.2

The Java Platform

A platform is the hardware or package environment in which a plan is set to run. The shapers construct applications to fit the existent demands of users. An application may be created to supply service for one user at a clip, many users at one time or even to function users at different locations at any given clip. This platform of Java apprehends the assorted challenges that are by and large faced by the developers and gives out a proposal of assorted picks of different engineerings based on necessity of user ‘s demands. The two of import facets of this Java platform are the Java runtime environment ( JRE ) and the Java Development Kit ( JDK ) . The Java runtime environment when equipped on to a computing machine provides the operating system with the agencies to run the plans of Java, whereas Java Development Kit is the combination of the tools that are being used by a coder making the Java based applications.

The Java platform versions contain extra Java API ‘s for bring forthing assorted types of applications such as Java Standard edition, Java Enterprise Edition & A ; Java Micro Edition. Java standard edition ( Java SE ) helps in making desktop applications & A ; applets. Basically this application is created to function little figure of users at one time. Java endeavor edition ( Java EE ) is mended for complicated applications to do it more suited for both medium and big concern units, and this is designed as waiter based application so as to concentrate on functioning the demands of more figure of users at a clip. Java Micro Edition is implemented on Mobile and entrenched devices such as PDA, Printers, tuner box, Cell phones, etc.

We ‘ve already mentioned some of the most popular platforms like Windows 2000, Linux, Solaris, and MacOS. Most platforms can be characterized as an merger of the operating system and hardware. The Java platform varies from most other platforms in that it ‘s a software-only platform that runs on top of other hardware-based platforms.

The two constituents of Java platform are:

The Java Virtual Machine ( Java VM )

The Java Application Programming Interface ( Java API )

Java VM is already introduce in old subdivisions as a base for the Java platform and is ported onto assorted hardware-based platforms.

The Java API is a immense assembly of ready-made package constituents that contributes many utile capablenesss, such as graphical user interface ( GUI ) doodads. The Java API is grouped into libraries of related categories and interfaces ; these libraries are known as bundles.

The following subdivision replies, What Can Java Technology Do?

This Section highlights what functionality some of the bundles in the Java API will supply.

The undermentioned figure given below depicts a plan that ‘s running on the Java platform. As the figure shows, the Java API and the practical machine shields the plan from the hardware.

Description: g3

Figure: 3.3.3

Native codification is codification that after the completion of digest, the compiled codification is further processed or run on specific hardware platform. As a platform-independent environment, the Java platform is comparatively slower compared to that of native codification processing. However, smart compilers, well-tuned translators, and just-in-time byte codification compilers combination would execute really near to that of native codification without endangering the portability.

What Can Java Technology Do?

The most common types of plans written in the Java scheduling linguistic communication are applets and applications. If browsed through cyberspace for related informations, it makes it much easier and faithfully familiar with applets context. An applet is a plan that sticks to peculiar type of conventions that allow the Java enabled browser to run the applications faster. However, the Java scheduling linguistic communication is non merely for composing cute, entertaining applets for the Web. The all-purpose, high-ranking Java scheduling linguistic communication is besides a powerful package platform. The generous API can besides be used to compose different types of plans. Bing a strong and most used scheduling linguistic communication in twenty-four hours to twenty-four hours activities, the characteristics gained by execution of Java platform are development tools, Application programming interface ( API ) , deployment engineerings, user interface toolkits & A ; integrating libraries. These characteristics provide all necessary tools needed for compilation, running, monitoring, debugging, and documenting the applications.

API was the cardinal supplier of nucleus functionality which provided a huge bunch of utile categories ready for execution in the user ‘s applications. The nucleus construct of API is highly broad so as to supply the different categories that are really much necessary for creative activity of an applet and the farther categorization of these applets were used to pass on with the applet contexts. It besides helped in supplying the standard mechanism for widening the applications to the terminal users. To do the creative activity of complicated Graphical User Interface more simple, user interface toolkits were used such as Swing & A ; Java toolkits. To hold an easy entree to the database and coaction of distant objects integrating libraries characteristic was used.

An application is a stand-alone plan that runs straight on the Java platform. A particular sort of application known as a “ waiter ” serves and supports clients on a web. Examples of waiters are Web waiters, proxy waiters, mail waiters, and print waiters. Another specialised plan is a “ servlet ” . A servlet can about be thought of, as an applet that runs on the server side. Java Servlets are a prevalent pick for constructing most synergistic web applications, by replacing the usage of CGI books.

Servlets are much similar to applets, where in the lone difference between these two is that they are runtime extensions of applications. Alternatively of working in browsers, the servlets run within Java Web waiters, configuring or orienting the waiter.

How does the API support all these sorts of plans? It does so with bundles of package constituents that provides a huge options for the operation of applications. Every full execution of the Java platform gives you the following characteristics:

The necessities: Objects, strings, togss, Numberss, input and end product, informations constructions, system belongingss, day of the month and clip, and so on.

Applets: The set of conventions used by applets.

Networking: URLs, TCP ( Transmission Control Protocol ) , UDP ( User Data gm Protocol ) sockets, and IP ( Internet Protocol ) addresses.

Internationalization: This helps in composing the plans that can be locally available for all the users worldwide. Programs can automatically accommodate to specific venues and can besides be displayed in the appropriate linguistic communication harmonizing to the user demands.

Security: Both low degree and high degree, including electronic signatures, public and private cardinal direction, entree control, and certifications.

Software constituents: Known as JavaBeans, can stop up into bing constituent architectures.

Object serialisation: This characteristic allows the lightweight continuity and communicating via Remote Method Invocation ( RMI ) .

Java Database Connectivity ( JDBCTM ) : Provides unvarying entree to a broad scope of relational databases.

The Java platform besides has different types of APIs that includes 2D and 3D artworks, handiness, waiters, coaction, telephone, address, life, and more.

The undermentioned figure depicts what is included in the Java 2 SDK. Description: gs5

Figure: 3.3.4

Java Technology ‘s Impact on User ‘s:

Even though Java engineering can non assure its users the celebrity, luck, or even a occupation, it helps the users to larn the Java scheduling linguistic communication. Java engineering is one of those programming linguistic communications which has broad credence all over the universe, with its immense sum of of import and robust characteristics. Still, it is likely to do the plans better and requires less attempt than other linguistic communications which simplifies the procedure of apprehension and implementing Java engineering without any complications and confusions. Wide assortment of dynamic, wholly secured and safe independent applications can be created by implementing Java, which is the chief ground behind that gradual and rapid addition in the figure of users ; and it is besides believed that Java engineering will assist in making the undermentioned functions/actions more efficaciously:

Get started rapidly: Java being a user friendly programming linguistic communication, it is really easy to compose and understand. As the scheduling does n’t necessitate any arrows or memory to be managed explicitly, extremely secured applications can be used without any breaks. Although the Java scheduling linguistic communication is a powerful object-oriented linguistic communication, it ‘s makes the plan or application easy to larn, particularly for coders already familiar with C or C++ .

Write less codification: Comparisons of plan prosodies ( category counts, method counts, and so on ) suggest that a plan written in the Java scheduling linguistic communication can be four times smaller than the same plan in C++ . Different regulations of OOP ‘s ( Object Oriented Programming ) like heritage, encapsulation, and polymorphism are followed during the processing/ while running the operation which makes Java different from other linguistic communications such C and C++ .

Write better codification: The Java scheduling linguistic communication encourages good cryptography patterns, and its refuse aggregation helps you avoid memory leaks. Its object orientation, its JavaBeans component architecture, and its wide-ranging, easy extendable API Lashkar-e-Taiba you recycle other people ‘s tested codification and present fewer bugs.

Develop plans more rapidly: Your development clip may be every bit much as twice as fast versus composing the same plan in C++ . Why? You write fewer lines of codification and it is a simpler scheduling linguistic communication than C++ .

Avoid platform dependences with 100 % Pure Java: You can maintain your plan portable by avoiding the usage of libraries written in other linguistic communications. The 100 % Pure Java Product Certification Program has a depository of historical procedure manuals, white documents, booklets, and similar stuffs online.

Write one time, run anyplace: Because 100 % Pure Java plans are compiled into machine-independent byte codifications, they run systematically on any Java platform.

Distribute package more easy: You can upgrade applets easy from a cardinal waiter. Applets take advantage of the characteristic of leting new categories to be loaded “ on the fly, ” without recompiling the full plan.


Communicating with distant objects distribute over the web is set through the Java scheduling. It contains all required informations base in its libraries with beginnings such as RMI and CORBA which are really much necessity to develop any web applications. All Primary informations types can be considered as objects utilizing covering categories to do Java a dully Object oriented, wherein category is considered a basic unit of Java and Objects are the entities which follow the paradigms that are defined by category.

Java applications are more dependable in different ways. It helps compile clip look intoing to place at early phases the causes of bugs, run clip checking, eliminated the usage of arrows which can normally do the corruptness of memory or unneeded entree of memory, waste/garbage aggregation direction to liberate the fresh memories automatically, excluding managing to manage the state of affairs at the clip of happening of any mistake and a batch more.

Microsoft Open Database Connectivity ( ODBC ) is a standard scheduling interface for application developers and database systems suppliers. Before ODBC became a “ defacto ” criterion for Windows plans to interface with database systems, coders had to utilize proprietary linguistic communications for each database they wanted to link to. Now, ODBC has made the pick of the database system which is extremely irrelevant from a coding position, which is as it should be. Application developers have much more of import things to worry about than that of which sentence structure is needed to port their plan from one database to another when concern needs that sudden alteration.

Through the ODBC Administrator in Control Panel, one can stipulate the peculiar database that is associated with a information beginning, wherein a ODBC application plan is written to utilize. Think of an ODBC information beginning as a door with a name on it. Each door will take the users to a peculiar database. For illustration, the informations beginning named Gross saless Figures might be a SQL Server database, whereas the Accounts Collectible informations beginning could mention to an Access database. The physical database referred to by a informations beginning can shack anyplace on the LAN.

The ODBC system files are non installed on users system by Windows 95. Rather, they are installed when the user setup a separate database application, such as SQL Server Client or Visual Basic 4.0. When the ODBC icon is installed in Control Panel, it uses a file called ODBCINST.DLL. It is besides possible to carry on the user ‘s ODBC information beginnings through a stand-alone plan called ODBCADM.EXE. There will be a 16-bit and a 32-bit version of this plan and each of them are maintained as a separate list of ODBC informations beginnings. From a programming position, the beauty of ODBC is that the application can ever be written to utilize the same set of map calls to interface with any informations beginning, irrespective of the database seller. The beginning codification of the application does n’t alter whether it negotiates to Oracle or SQL Server.

The lone two illustrations that can be used at this point are as follows. There are ODBC drivers available for assorted twelve popular database systems. Even Excel spreadsheets and plain text files can be changed over into different informations beginnings. The operating system implicates the Registry information written by ODBC Administrator to find which low-level ODBC drivers are needed to speak to the informations beginning ( such as the interface to Oracle or SQL Server ) . The burden of the ODBC drivers is crystalline to the ODBC application plan. In a client/server environment, the ODBC API even controls many of the web issues for the application coder.

The advantages of this strategy are assorted, this make the users to believe that there must be some gimmick. The lone disadvantage of ODBC is that it is n’t every bit efficient as speaking straight to the native database interface. ODBC has had assorted disparagers make the charge that it is excessively slow. Microsoft has ever proved that the critical factor in public presentation is the quality of the driver package that is used. In our low sentiment, this is true. The handiness of good ODBC drivers has improved a great trade late. And anyhow, the unfavorable judgment about public presentation is slightly correspondent to those who said that compilers would ne’er fit the velocity of pure assembly linguistic communication.

Possibly non, but the compiler ( or ODBC ) gives users that chance to compose cleansing agent plans, which means the users can complete their scheduling Oklahoman. This faster digest of plan or application makes the computing machines get faster every twelvemonth.

Java Database Connectivity ( JDBC )

JDBC is a Java-based information entree engineering from Sun Microsystems. . In an achievement to put an independent database criterion API for Java ; Sun Microsystems developed Java Database Connectivity, or JDBC. This engineering is an API for Java programming linguistic communication that characterizes how a user gets entree to the database. This connectivity offers assorted methods for disputing and updating the information into the users ‘ database. Aside from being easy to compose, utilizing the JDBC API, it is robust, secure, and automatically downloadable. Besides, JDBC automatically appreciates these benefits of Java, by virtuousness of being written in Java.

JDBC is determined towards relational databases, and this span of JDBC – ODBC accredits the connexion to any other ODBC accessible informations beginning in the existent JVM host atmosphere. JDBC provides a comprehensive SQL database entree mechanism that offers a reliable interface to a assortment of RDBMSs. This consistent interface is gained through the usage of “ plug-in ” database connectivity faculties, or drivers. If a database seller chooses to hold JDBC support, he or she must supply the driver for each platform that the database and Java can utilize to run the application.

To derive a wider credence of JDBC, Sun based JDBC ‘s model on ODBC. As you discovered earlier in this chapter, ODBC has widespread support on a assortment of platforms. Establishing JDBC on ODBC will let sellers to convey JDBC drivers to market much faster than developing a wholly new connectivity solution.

JDBC was announced in March of 1996. It was released for a 90 twenty-four hours public reappraisal that ended June 8, 1996. Because of user input, the concluding JDBC v1.0 specification was released shortly after. The balance of this subdivision will cover adequate information about JDBC for you to cognize what it is approximately and how to utilize it efficaciously. This is by no agencies a complete overview of JDBC. That would make full an full book.

JDBC concedes multiple applications to be and to be used by the same application. To back up this, API allows a mechanism for dynamically make fulling the dependable Java bundles, followed by registering them with the driver director of JDBC. Driver director acts as a connexion mill for developing different connexions of JDBC.

There are different sets of drivers for JDBC, which are client-side arrangers, which is already equipped on to client system, and non on the waiter. These drivers so convert the petitions from Java plans to a elaborate protocol that can be easy understood by Data-Base direction system ( DBMS ) . These drivers of JDBC are farther classified into commercial and free drivers that are easy applicable for most of the relational database waiters. The drivers normally fall into one among these types:

Type 1 – which calls the native codification of locally available ODBC driver.