Previous | Next | Trail Map | Getting Started | The Java Phenomenon


What Can Java Do?

Probably the most well-known Java programs are Java applets. An applet is a Java program that adheres to certain conventions that allow it to run within a Java-enabled browser. At the beginning of this trail is an applet that displays an animation of Java's mascot, Duke, waving at you.

However, Java is not just for writing cute, entertaining applets for the World Wide Web ("Web"). Java is a general-purpose, high-level programming language and a powerful software platform. Using the generous Java API, you can write many types of programs.

The most common types of programs are probably applets and applications, where a Java application is a standalone program that runs directly on the Java platform. A special kind of application known as a server serves and supports clients on a network. Examples of servers include Web servers, proxy servers, mail servers, print servers, and boot servers. Another specialized program is a servlet. Servlets are similar to applets in that they are runtime extensions of applications. Instead of working in browsers, though, servlets run within Java servers, configuring or tailoring the server.

How does the Java API support all of these kinds of programs? With packages of software components that provide a wide range of functionality. The core API is the API included in every full implementation of the Java platform. The core API gives you the following features:

Java not only has a core API, but also standard extensions. The standard extensions define APIs for 3D, servers, collaboration, telephony, speech, animation, and more. See Touring the Java Packages for a more complete list of the core API and standard extensions, along with information on where to find out about each area of the API.

This book covers the Java language and parts of the core API that we expect beginning to intermediate Java programmers to use most frequently. If you need additional information not found in this book, you can explore the online tutorial for additional coverage, located at this URL:

http://java.sun.com/docs/books/tutorial/index.html


Previous | Next | Trail Map | Getting Started | The Java Phenomenon