O'Reilly logo

Platinum Edition Using XHTML™, XML, and Java™ 2 by Andrew H. Watt, Mike Morgan, Jim O'Donnell, Eric Ladd

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Security of Compiled Code

The Java compiler checks Java code for security violations. It is a thorough, stringent compiler that enforces the restrictions previously listed. However, it is possible that Java code could be compiled with a "fixed" compiler that allows illegal operations. This is where the Java class loader and bytecode verifier come into play. Various types of security are enforced by the runtime system on compiled code.

Java .class File Structure

Java applets and applications are made up of .class files that are compiled bytecode. All public classes used in a Java applet or application reside in their own separate .class file. They might be transferred over the network a file at a time or bundled into a .zip or .jar file. The ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required