This essay has been submitted by a student. This is not an example of the work written by our professional essay writers.
As I mentioned earlier, Java is one of the most renowned Object Oriented Programming (OOP) language. The creators generally known as Sun are named actually as James Gosling of Sun Microsystems. It was initially intended for being used on digital mobile equipment and devices which for example are cell phones. But, when they released Java 1.0 in 1996, the major focal point had moved to its utilization with the Internet. It offered much more interactivity for the users by allowing the developers to create animated Pages. Java is famous for its flexibility and lets the programmer create applications which are possible to download, from the internet or a network and then install and use it very safely on most of the Operating systems. It runs on more or less all platforms, provides software mechanism as required, and also consists of built-in security features as I already mentioned. Java has been designed somewhat like C++, but it was done so, that the syntax is much easy to comprehend. Java's virtual machine, which is actually its base software component, permits it to run on most computer platforms. What the java virtual machine accomplishes is to take information from computer and translate it to a form which is interpretable by Java. It is a wonderful tool to produce standalone application. Applets when needed are programmed in a way to be downloaded as separate files to the web browser along with the HTML document, and offer a wide variety of extra features to the Web sites the user opens. The exhibited outcome of applets can be seen to be embedded inside the HTML page for example when we see a banner message scrolling on the sites which is common on Java based web sites. But one thing that needs to be considered here is that the Java code comes as a separate file and not embedded. Java needs to be translated to what we call the "machine language" prior to be running on Web. Essentially, what takes place is that once the programmer writes a program in java and ensures a check for errors, and then hands it to another computer program which modifies the text code into a lower level language. This language is set-up to be seen by the computer as a collection of programs with specific beginning points and end points. Not anything can be added or subtracted to it exclusive of making the program corrupt. Security is one feature that makes Java so popular. Security is known to be inherent in java. The language was intended in a way so that devious developers are not able to make applets which can enter users' computers revealing passwords and other personal things. Java only allows applets to function with the use of a sand box which forces applets to remain in the sandbox's boundary as a result inhibits hacking. This is unique in its safety to an extent that it is used a lot more compared to Microsoft's safety equipment known as Active X. It is built in collaboration between internet users and providers.
850+ million PCs
2.1 billion handheld devices (source: Ovum)
3.5 billion smart cards
Set-top boxes, printers, Web cams, games, medical devices, parking payment stations, and the list go on.
Java has been experienced, developed, comprehended, and established by a devoted group of people. And figuring plus 6.5 million developers, it is the most used. With its flexibility, effectiveness, and portability, it is an asset for the developers and enables them to:
Write software on one platform and use it on other.
produce programs running inside Web browsers
Build up server-side applications for online forums, and also to process HTML forms etc.
unite applications using Java creating greatly customized applications
Write commanding and well-organized applications for cellular devices, remote processors, consumer products to make them economical, and basically any digital equipment.
Java consists of three platforms: Standard Edition (SE), Enterprise Edition (EE), and Micro Edition (ME). Each explain the grouping of a version of the language, including set of standard libraries, and also virtual machine. EE is a parent of SE. Any EE application can suppose SE libraries already exist. Sometime, Java source requires becoming platform-native code which can be executed. This normally requires a process in 2 steps: the developer assembles his own source to what is called Java byte code. Then Java Virtual Machine is used to convert this to subject code which will then be run on a host platform. This last step initially was executed by interpretation-it was done by converting each JVM instruction to more native and familiar instructions. Shortly, just-in-time (JIT) compilers transformed the Java programs from JVM byte code to native code. This happened when the program began. Currently, exist multiple approaches for this. Hotspot compilers also by Sun, initialize by inferring code and profiling it within the runtime. They also compile and optimize portions found to be critical to the operation of the program. "Mixed Mode Interpreter" work the same way and were given by IBM's JVMs. These moves evade initial performance, but ensure the performance pulls in over time because there is an optimization of code sections a little later. Java can be enabled in different ways. When Microsoft Explorer is used it can be done by selecting from the Tools menu the Internet Options tab and then selecting the Security tab and moving to Custom Level option, scrolling down to Microsoft VM and selecting a security level. Then press Enter. When using Microsoft Explorer 3.0 one needs to go a bit differently by choosing from View menu the select Option. Then, selecting the Security option and making sure that the Enable Java Programs option is ticked. ActiveX Scripts should also have been run by checking its box as well. Click OK. With Mozilla 1.X you need to go to the Edit menu and there look for Preferences tab. Choose Advanced category option and make sure that Enable Java option has also been selected and made active here.
Nevertheless to distinguish among two very improved programs there are some likeness and disparity which should be glanced at to appreciate what these two in fact are.
Capabilities of both of them can be used to boost the abilities of the Web pages.
Both can run and perform well on the host machines which mean that the device where the browser is running may not necessarily be a server where the page came from. This is in contrast to "CGI programs" - programs which run on the server and use the CGI to communicate with the client. Java can also be used to write CGI programs, and as better Java server packages become available, this use is becoming more popular.
Because both of them can run on the client, they can be of use instead of some CGI programs to decrease load on servers.
On the contrary, Java, is as it is thought to be is a general purpose programming language used all over the world. One of the important uses of java is also for the creation of the Web pages, but obviously it is used for many other major applications other than the internet these days and is very popular for its flexibility of platform.
Java is being an OOP language is strongly-typed and complex and thus proves to be a very powerful language. Also, it easily stands upright in comparison and competition to other available object-oriented languages for example C++. Quite of the syntax of java is also like to C++, but as we analyzed earlier also, Java is much easier to be trained with and use than C++.
Java was designed keeping in mind, security as one of the major issues and was given the highest priority. The security mechanism that has been incorporated in Java has been created in Java Virtual Machine which runs the Java programs and also the java applets.
Another key dissimilarity is the way in which the language is presented or visible to the end user. Java must be compiled into what we call a "machine language" earlier than it can be used on the Web for different purposes. Fundamentally what takes place is that subsequent to the programmer writing the program and checking it for errors, and handing it over to a different computer program which will change the text code to a smaller language for the systems interpretation.
Work cited (Reference)
"What Is Java - O'Reilly Media." ONJava.com: The Independent Source for Enterprise Java -- Java Development, Open and Emerging Enterp. Web. 23 Apr. 2010. <http://onjava.com/pub/a/onjava/2006/03/08/what-is-java.html?page=3>.
"Learn about Java Technology." Java.com: Java + You. Web. 23 Apr. 2010. <http://www.java.com/en/about/>.
Leahy, Paul. "What Is Java?" Learn Java - Tutorials, Tips, Help, and Resources for Learning Java. Web. 23 Apr. 2010. <http://java.about.com/od/gettingstarted/a/whatisjava.htm>.