Review Question Answers
Programming Exercise Solutions
Solutions to even-numbered exercises are provided to students. Instructors receive solutions to all exercises. Download
- Download from one compressed file.
- You may also download individual files. To download Exercise2_2 in Chapter 2, use www.cs.armstrong.edu/liang/intro7e/evennumberedexercise/Exercise2_2.java.
- You can run all exercises by downloading
exercise7e.zip
and use the command java -cp exercise7e.zip Exercisei_j
to run Exercisei_j. For example, to run
Exercise2_1, use
java -cp exercise7e.zip Exercise2_1
- Download solutions for UML diagrams for Chapters 7-12.
Download Source Code for Examples in the Book
All the examples (Java files, HTML files, image and audio files) in the book can be downloaded: Download
- Download from one compressed file.
- Some instructors have asked for organizing files by chapters. Click here to download it.
- You may also download individual Java source files. To download Welcome.java in Listing 1.1 in Chapter 1, use www.cs.armstrong.edu/liang/intro7e/book/Welcome.java.
- You may also download individual image files. To download us.gif used in Listing 13.8 in Chapter 13, use www.cs.armstrong.edu/liang/intro7e/book/image/us.gif.
- You can run all example by downloading
book7e.zip
and use the command java -cp book7e.zip ClassName
to run the program. For example, to run
Listing 1.1, Welcome.java, use
java -cp book7e.zip Welcome
Run Servlets, JSP, JSF, and Web Services in Chapters 39-42
You can run all the servlet, JSP, JSF, and Web Services examples and exercises online. Click here to start.
Download Software
Please consult with your instructors to select appropriate software. To compile and run all the examples in the book, all you need is JDK 1.5 or higher.
- JDK (http://java.sun.com/javase/downloads/index.jsp).
- NetBeans (www.netbeans.org).
- Eclipse (www.eclipse.org).
- JBuilder (Turbo JBuilder, based on Eclipse) (www.borland.com/products/downloads/download_jbuilder.html).
- TextPad (www.textpad.com).
- JCreator LE (www.jcreator.com).
- JEdit (www.jedit.org).
- JGrasp (www.jgrasp.org).
- BlueJ (www.bluej.org).
- DrJava (drjava.sourceforge.net).
- Compression Software: FilZip (http://www.filzip.com) and WinZip (www.winzip.com)
- MySQL (www.mysql.com).
- MySQL JDBC Driver (www.cs.armstrong.edu/liang/intro7e/book/lib/mysqljdbc.jar).
- Orcale JDBC Driver for use with JDK 1.4 or higher (www.cs.armstrong.edu/liang/intro7e/book/lib/ojdbc14.jar).
- Tomcat (www.apache.org).

