A short program written in the Java Programming Language that is attached to a Web page and executed by a Web browser.