| |
| |
Acknowledgments | |
| |
| |
Introduction | |
| |
| |
Applets | |
| |
| |
Web Page Enhancements | |
| |
| |
An Animated Text Banner | |
| |
| |
Using AnimateText | |
| |
| |
Understanding AnimateText | |
| |
| |
A Fading Text Banner | |
| |
| |
Using FadeText | |
| |
| |
Understanding FadeText | |
| |
| |
A Rainbow-Colored Animated Ruler | |
| |
| |
Using RainbowRuler | |
| |
| |
Understanding RainbowRuler | |
| |
| |
An Image Button | |
| |
| |
Using ImageButton | |
| |
| |
Understanding ImageButton | |
| |
| |
A Drop-Down Menu | |
| |
| |
Using DropDownMenu | |
| |
| |
Understanding DropDownMenu | |
| |
| |
A Scrolling LED Ticker | |
| |
| |
Using LEDTicker | |
| |
| |
Understanding LEDTicker | |
| |
| |
Business and Finance | |
| |
| |
An Advertisement Banner | |
| |
| |
Using Billboard | |
| |
| |
Understanding Billboard | |
| |
| |
A Calculator | |
| |
| |
Using Calculator | |
| |
| |
Understanding Calculator | |
| |
| |
A Mortgage Calculator | |
| |
| |
Using USMortgage | |
| |
| |
Understanding USMortgage | |
| |
| |
A Currency Converter | |
| |
| |
Using CurrencyConvert | |
| |
| |
Understanding CurrencyConvert | |
| |
| |
A Calendar | |
| |
| |
Using Calendar | |
| |
| |
Understanding Calendar | |
| |
| |
A Business Chart Maker | |
| |
| |
Using BusinessChart | |
| |
| |
Understanding BusinessChart | |
| |
| |
Networking and Communications | |
| |
| |
Internet Services and Applets | |
| |
| |
Security Restrictions on Applets | |
| |
| |
Client/Server Communications | |
| |
| |
Well-Known Ports | |
| |
| |
Client/Server Protocols | |
| |
| |
RFCs | |
| |
| |
Displaying the Host Name in a Welcome Message | |
| |
| |
Using GetHostName | |
| |
| |
Understanding GetHostName | |
| |
| |
Sending Mail from a Web Page | |
| |
| |
Using SMTPmail | |
| |
| |
Understanding SMTPmail | |
| |
| |
Using FTP to Download and Upload Files | |
| |
| |
Using FTPapplet | |
| |
| |
Understanding FTPapplet | |
| |
| |
Creating a TELNET Terminal Emulation | |
| |
| |
Using Telnet | |
| |
| |
Understanding Telnet | |
| |
| |
Multimedia | |
| |
| |
Playing a Sound Clip When a Web Page Loads | |
| |
| |
Using SndPlay | |
| |
| |
Understanding SndPlay | |
| |
| |
Animating Sprites over a Background | |
| |
| |
Using AnimateSprites | |
| |
| |
Understanding AnimateSprites | |
| |
| |
Displaying a Three-Dimensional Object | |
| |
| |
Using Viewer3D | |
| |
| |
Understanding Viewer3D | |
| |
| |
Playing an MPEG-1 Video | |
| |
| |
Using MPEG_Play | |
| |
| |
Understanding MPEG_Play | |
| |
| |
Games | |
| |
| |
Tic-Tac-Toe | |
| |
| |
Playing TicTacToe | |
| |
| |
Understanding TicTacToe | |
| |
| |
Minesweeper | |
| |
| |
Playing Minesweeper | |
| |
| |
Understanding Minesweeper | |
| |
| |
Tetris | |
| |
| |
Playing Tetris | |
| |
| |
Understanding Tetris | |
| |
| |
Missile Commando II | |
| |
| |
Playing Missile Commando II | |
| |
| |
Understanding Missile Commando II | |
| |
| |
Tools and Utilities | |
| |
| |
A Clock | |
| |
| |
Using Clock2 | |
| |
| |
Understanding Clock2 | |
| |
| |
An Applet That Counts Site Visitors | |
| |
| |
Using VisitCount | |
| |
| |
Understanding VisitCount | |
| |
| |
An HTML Color Selector | |
| |
| |
Using HTMLColor | |
| |
| |
Understanding HTMLColor | |
| |
| |
A Web Site Search Engine | |
| |
| |
Using HomePageSearch | |
| |
| |
Understanding HomePageSearch | |
| |
| |
JavaBeans | |
| |
| |
Visible Java Beans | |
| |
| |
The Bean Development Kit | |
| |
| |
Installing the BDK | |
| |
| |
Using the BeanBox | |
| |
| |
The JavaBeans Component Model | |
| |
| |
Understanding Java Bean Characteristics | |
| |
| |
Understanding Java Bean Structure | |
| |
| |
A Bean That Displays a Rainbow-Colored Ruler | |
| |
| |
Using the RainbowRuler Bean | |
| |
| |
Understanding the RainbowRuler Bean | |
| |
| |
A Calendar Bean | |
| |
| |
Using the CalendarJ Bean | |
| |
| |
Understanding the CalendarJ Bean | |
| |
| |
Invisible Java Beans | |
| |
| |
A Timer Bean | |
| |
| |
Using the TimerJ Bean | |
| |
| |
Understanding the TimerJ Bean | |
| |
| |
A Spell-Checker Bean | |
| |
| |
Using the Speller Bean | |
| |
| |
Understanding the Speller Bean | |
| |
| |
Java Applications | |
| |
| |
GUI Applications | |
| |
| |
An Overview of Swing | |
| |
| |
The SwingSet Demo | |
| |
| |
Java Foundation Classes and Swing | |
| |
| |
Swing Classes | |
| |
| |
The Model-View-Controller Architecture and Swing | |
| |
| |
Swing Programming Tips | |
| |
| |
A Calendar Application | |
| |
| |
Using ViewCal | |
| |
| |
Understanding ViewCal | |
| |
| |
A Text Viewer | |
| |
| |
Using TextView | |
| |
| |
Understanding TextView | |
| |
| |
Command-Line Applications | |
| |
| |
Numbering Lines in a Text File | |
| |
| |
Using lnum | |
| |
| |
Understanding lnum | |
| |
| |
Displaying the Java System Properties | |
| |
| |
Using jprop | |
| |
| |
Understanding jprop | |
| |
| |
Getting a Remote Date and Time | |
| |
| |
Using rdate | |
| |
| |
Understanding rdate | |
| |
| |
Generating a Random Sequence | |
| |
| |
Using rseq | |
| |
| |
Understanding rseq | |
| |
| |
Client/Server Applications | |
| |
| |
An Overview of Client/Server Programming | |
| |
| |
Socket-Based Client/Server Communications | |
| |
| |
Java Remote Method Invocation | |
| |
| |
Java and CORBA | |
| |
| |
A POP3 Client | |
| |
| |
Using jPOP3 | |
| |
| |
Understanding jPOP3 | |
| |
| |
A Java Client/Server Chat Application | |
| |
| |
Using jChatServer and jChatClient | |
| |
| |
Understanding jChatServer | |
| |
| |
Understanding jChatClient | |
| |
| |
Database Applications | |
| |
| |
An Overview of Database Programming | |
| |
| |
The Relational Model | |
| |
| |
A Taste of SQL | |
| |
| |
What Is JDBC? | |
| |
| |
JDBC Programming | |
| |
| |
An Alternate Database and JDBC Driver for UNIX | |
| |
| |
Maintaining a Community Calendar | |
| |
| |
Using comcal | |
| |
| |
Understanding comcal | |
| |
| |
Servlets | |
| |
| |
Java Servlets | |
| |
| |
An Overview of Java Servlets | |
| |
| |
The Role of Java Servlets | |
| |
| |
What You Need to Develop Servlets | |
| |
| |
Sun's Java Web Server | |
| |
| |
The Apache HTTP Server and Apache JServ | |
| |
| |
How HTML Forms Relate to Servlets | |
| |
| |
A Servlet That Reads an HTML Form | |
| |
| |
A Visit Counter Servlet | |
| |
| |
Using VCount | |
| |
| |
Understanding VCount | |
| |
| |
A Wrapper for Your Home Page | |
| |
| |
Using wrapper | |
| |
| |
Understanding wrapper | |
| |
| |
A Feedback Servlet | |
| |
| |
Using Feedback | |
| |
| |
Understanding Feedback | |
| |
| |
Three-Tiered Web Applications | |
| |
| |
An Overview of the Three-Tiered Web Application Architecture | |
| |
| |
Problems with Two-Tiered Client/Server Applications | |
| |
| |
The Emergence of the Three-Tiered Web Application Architecture | |
| |
| |
Web Application Servers | |
| |
| |
Enterprise JavaBeans | |
| |
| |
A Simple Web Application for Database Access | |
| |
| |
Trying Out dbaccess | |
| |
| |
Understanding dbaccess | |
| |
| |
Java Resources | |
| |
| |
Index | |