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

  • There are Comments. Add yours.

    TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

    REGISTER or login:

    Forgot Password?
    By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
    Sort by: OldestNewest

    Forgot Password?

    No problem! Submit your e-mail address below. We'll send you an email containing your password.

    Your password has been sent to:

    Disclaimer: 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.