java
JBuilder Java File
an
object-oriented , Web programming language, similar to C++, developed by
Sun MicroSystems . JAVA applications are compiled into
Java bytecode, executable on any java-enabled browser, i.e. browsers which have the "
Java Virtual Machine " Thus, JAVA will run the same on any operating system. JAVA
applications, technically, are stand-alone programs, whereas JAVA
applets (see below) are code snipets, designed to run
within Webpages. JAVA is
NOT Javascript.
+/- of Java
<
World-Wide Web,
language> (After the Indonesian island, a source of
programming fluid) A simple,
object-oriented,
distributed,
interpreted, robust, secure,
architecture-neutral,
portable,
multithreaded, dynamic, buzzword-compliant, general-purpose programming language developed by
Sun Microsystems in 1995(?). Java supports programming for the
Internet in the form of
platform-independent Java "applets".
Java is similar to
C++ without
operator overloading (though it does have
method overloading), without
multiple inheritance, and extensive automatic
coercions. It has automatic
garbage collection.
Java programs can run stand-alone on small computers. The
interpreter and
class support take about 40 kilobytes; adding the standard libraries and
thread support (essentially a self-contained
microkernel) adds an additional 175Kb.
Java extends
C++'s
object-oriented facilities with those of
Objective C for
dynamic method resolution.
Java has an extensive library of routines for
TCP/IP protocols like
HTTP and
FTP. Java applications can access objects across the
Internet via
URLs as easily as on the local
file system.
The Java compiler and
linker both enforce
strong type checking - procedures must be explicitly typed. Java supports the creation of
virus-free, tamper-free systems with
authentication based on
public-key encryption.
The Java compiler generates an
architecture-neutral object file executable on any processor supporting the Java
run-time system. The object code consists of
bytecode instructions designed to be both easy to interpret on any machine and easily translated into
native machine code at load time.
The Java libraries provide portable interfaces. For example, there is an abstract Window class and implementations of it for
Unix,
Microsoft Windows and the
Macintosh. The run-time system is written in
POSIX-compliant
ANSI C. Java applets can be executed as attachments in
World-Wide Web documents using either Sun's
HotJava browser or
Netscape Navigator version 2.0.
Home.
Usenet newsgroup:
news:comp.lang.java.
E-mail:
[email protected].
(1995-12-06)
(c) Copyright 1993 by Denis Howe
An object-oriented language originally developed at Sun by James Gosling (and known by the name "Oak") with the intention of being the successor to
C++ (the project was however originally sold to Sun as an embedded language for use in set-top boxes). After the great Internet explosion of 1993-1994, Java was hacked into a byte-interpreted language and became the focus of a relentless hype campaign by Sun, which touted it as the new language of choice for distributed applications.
Java is indeed a stronger and cleaner design than C++ and has been embraced by many in the hacker community - but it has been a considerable source of frustration to many others, for reasons ranging from uneven support on different Web browser platforms, performance issues, and some notorious deficiencies of some of the standard toolkits (AWT in particular). Microsoft's determined attempts to corrupt the language (which it rightly sees as a threat to its OS monopoly) have not helped. As of 1999, these issues are still in the process of being resolved.
Despite many attractive features and a good design, it is difficult to find people willing to praise Java who have tried to implement a complex, real-world system with it (but to be fair it is early days yet, and no other language has ever been forced to spend its childhood under the limelight the way Java has). On the other hand, Java has already been a big win in academic circles, where it has taken the place of Pascal as the preferred tool for teaching the basics of good programming to the next generation of hackers.