ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaha_5.4.0.1/platform.htm

96 lines
6.2 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="concept" />
<meta name="DC.Title" content="Java platform" />
<meta name="abstract" content="The Java platform is the environment for developing and managing Java applets and applications. It consists of three primary components: the Java language, the Java packages, and the Java virtual machine." />
<meta name="description" content="The Java platform is the environment for developing and managing Java applets and applications. It consists of three primary components: the Java language, the Java packages, and the Java virtual machine." />
<meta name="DC.Relation" scheme="URI" content="whatitis.htm" />
<meta name="DC.Relation" scheme="URI" content="appsappl.htm" />
<meta name="DC.Relation" scheme="URI" content="javavirm.htm" />
<meta name="DC.Relation" scheme="URI" content="jarfile.htm" />
<meta name="DC.Relation" scheme="URI" content="threads.htm" />
<meta name="DC.Relation" scheme="URI" content="sunjdk.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="platform" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Java platform</title>
</head>
<body id="platform"><a name="platform"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Java platform</h1>
<div><p>The Java™ platform is the environment for developing and
managing Java applets and applications. It consists of three
primary components: the Java language, the Java packages,
and the Java virtual machine.</p>
<p>The Java language and packages are similar to C++ and its
class libraries. The Java packages contain classes, which are
available in any compliant Java implementation. The application programming
interface (API) should be the same on any system that supports Java.</p>
<p>Java differs
from a traditional language, like C++, in the way it compiles and runs. In
a traditional programming environment, you write and compile source code of
a program into object code for a specific hardware and operating system. The
object code binds to other object code modules to create a running program.
The code is specific for a particular set of computer hardware and does not
run on other systems without being changed. This figure illustrates the traditional
language deployment environment.</p>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="appsappl.htm">Java applets and applications</a></strong><br />
An applet is a Java program designed to be included in
an HTML Web document. You can write your Java applet and include it in an HTML page,
much in the same way an image is included. When you use a Java-enabled browser
to view an HTML page that contains an applet, the applet's code is transferred
to your system and is run by the browser's Java virtual machine.</li>
<li class="ulchildlink"><strong><a href="javavirm.htm">Java virtual machine</a></strong><br />
The Java virtual machine is a runtime environment that you
can add into a web browser or any operating system, such as IBM<sup>®</sup> <span class="keyword">i5/OS™</span>.
The Java virtual
machine runs instructions that a Java compiler generates. It consists of
a bytecode interpreter and runtime that allow Java class files to run on any platform,
regardless of the platform on which they were originally developed.</li>
<li class="ulchildlink"><strong><a href="jarfile.htm">Java JAR and class files</a></strong><br />
A Java ARchive (JAR) file is a file format that combines
many files into one. The Java environment differs from other programming
environments in that the Java compiler does not generate machine
code for a hardware-specific instruction set. Instead, the Java compiler
converts Java source code into Java virtual machine instructions, which Java class
files store. You can use JAR files to store class files. The class file does
not target a specific hardware platform, but instead targets the Java virtual
machine architecture.</li>
<li class="ulchildlink"><strong><a href="threads.htm">Java threads</a></strong><br />
A thread is a single independent stream that runs within a program. Java is
a multithreaded programming language, so more than one thread may be running
within the Java virtual machine at one time. Java threads
provide a way for a Java program to perform multiple tasks at
the same time. A thread is essentially a flow of control in a program.</li>
<li class="ulchildlink"><strong><a href="sunjdk.htm">Sun Microsystems, Inc. Java Development Kit</a></strong><br />
The Java Development Kit (JDK) is software that is distributed
by Sun Microsystems, Inc. for Java developers. It includes the Java interpreter, Java classes,
and Java development
tools: compiler, debugger, disassembler, appletviewer, stub file generator,
and documentation generator.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="whatitis.htm" title="Java compatibleIBM Developer Kit for Java is optimized for use in an iSeries server environment. It uses the compatibility of Java programming and user interfaces, so you can develop your own applications for the iSeries server.">IBM Developer Kit for Java</a></div>
</div>
</div>
</body>
</html>