A small program or application, a common example being a Java program that is attached to an HTML document.
Articles on KurzweilAI.net that refer to AppletEthics for Machines By J. Storrs Hall
Microbivores: Artificial Mechanical Phagocytes By Robert A. Freitas Jr.
Stop everything...IT'S TECHNO-HORROR! By George Gilder and
Chapter 5: The Personal Fabricator By Neil Gershenfeld