|
|
Optimize with a SATA RAID Storage Solution
Range of capacities as low as $1250 per TB. Ideal if you currently rely on servers/disks/JBODs
Page 3 of 3
The boot-strap applet requires access to a user's filesystem to install deployment resources on said user's machine. Java wisely prevents this, since giving out untrusted code access to your filesystem is risky. Thus, applets are forced to remain "inside the sandbox."
Both of the major browsers (Netscape Navigator and Microsoft Internet Explorer) provide proprietary APIs that free applets from the sandbox. Also, Java 2 allows digitally signed code to perform specific restricted operations with the user's permission. Unfortunately, without the Java Plug-In, Java 2 is not yet supported by the major browsers. Since the plug-in is not an option on some platforms and in some environments, the applet must potentially support all three security models.
Coverage of these three security models would require an article apiece -- rather than explore this interesting but peripheral topic, I've provided numerous links (see Resources) for those who wish to learn more.
The technique outlined above looks good in theory and works well in practice. I've included the code (see Resources) so you can put the technique to work immediately. If you're interested in an introduction to the technique's inner workings, I suggest you return for Part 3, where I'll take you on a tour of the code and provide some examples to get you going.
Read more about Core Java in JavaWorld's Core Java section.