The first exposure of many people to the Java programming language is in the form of applets, small and secure Java programs that run as part of a World Wide Web page.
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
Though you can do similar things with Macromedia Flash and other technology, Java remains an effective choice for Web-based programming.
Java Web Start, a protocol for downloading and running Java programs, makes it possible to run applications from a Web browser as if they were applets.
In this chapter from the book SAMS Teach Yourself Java 2 in 21 Days, by Rogers Cadenhead and Laura Lemay, you'll learn how to create both kinds of Web-based Java programming as you explore the following topics:
How to create a simple applet and present it on a Web page
How to send information from a Web page to an applet
How to store an applet in a Java archive so that it can be downloaded more quickly by Web browsers
How to create applets by the Java Plug-in, a virtual machine that improves a Web browser's Java support
How to install and run Java applications in a Web browser
How to publish your application's files and run it
Click here to download this free book chapter.