Chapter 14: Writing Java applets and Java Web Start applications
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.
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.
This was first published in July 2004
Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.