![]() Sun sued and won both damages (some $20 million dollars) and a court order enforcing the terms of the license from Sun. This resulted in a legal dispute with Microsoft after Sun claimed that the Microsoft implementation did not support the RMI and JNI interfaces and had added platform-specific features of their own. ![]() Sun's license for Java insists that all implementations be "compatible". There are also implementations of Java compilers that compile to native object code, such as GCJ, removing the intermediate bytecode stage, but the output of these compilers can only be run on a single architecture. Further, standardized libraries are provided to allow access to features of the host machines (such as graphics, threading and networking) in unified ways. The code is then run on a virtual machine (VM), a program written in native code on the host hardware that translates generic Java bytecode into usable code on the hardware. This is achieved by most compilers by compiling the Java language code "halfway" to bytecode-simplified machine instructions specific to the Java platform. One should be able to write a program once and run it anywhere. The second characteristic, platform independence, means that programs written in the Java language must run similarly on diverse hardware. The Look and Feel of a Java GUI is independent of the platform it is running on The intent is to make large software projects easier to manage, thus improving quality and reducing the number of failed projects. This separation into coherent objects provides a more stable foundation for a software system's design. The principle is to separate the things that change from the things that stay the same often, a change to some data structure requires a corresponding change to the code that operates on that data, or vice versa. An object can be thought of as a self-contained bundle of behavior (code) and state (data). ![]() Thus, data and code are combined into entities called objects. The first characteristic, object orientation ("OO"), refers to a method of programming and language design.Īlthough there are many interpretations of OO, one primary distinguishing idea is to design software so that the various types of data it manipulates are combined together with their relevant operations. Language characteristics Object orientation It should be designed to execute code from remote sources securely.Įspecially for the latter part, however sometimes extensions are required, like Corba or OSGi.It should contain built-in support for using computer networks.It should allow the same program to be executed on multiple computer platforms.It should use the object-oriented programming methodology.There were four primary goals in the creation of the Java language: After first being made public in 1994, it achieved prominence following the announcement at 1995's SunWorld that Netscape would be including support for it in their Navigator browser. ![]() Java was developed in 1991 by James Gosling and other Sun engineers, as part of the Green Project. 12.7 Java portals, magazines and content sites.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |