Multiplatform Executable Content

Now that you've seen how Java-enabled Web sites appear to the user, think about the requirements of such executable content. When you write a Java-based Web page, you want the code to work on the user's remote computer no matter what kind of computer the remote user uses.

Whereas most language compilers such as Visual C++ turn programs into a machine-dependent executable program, Java development tools do not go quite that far. All Java compilers compile your Java code into a special machine- independent module called bytecode Your Java-enabled Web browsing software translates this compiled bytecode into instructions that your computer can execute.

No computer can really read bytecode, but each computer's Java-enabled ...

Get Absolute Beginner's Guide to Programming, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.