Owl Teach Yourself Java 2 in 24 Hours, Third Edition
HOME / FEEDBACK / ORDER THE BOOK / OTHER BOOKS / PREVIOUS HOUR / NEXT HOUR / THANKS
ROGERS CADENHEAD

Hour 20: Reading and Writing Files

Notes and Corrections

  • None.

Source Files

Reader Questions

  • Question: Can you suggest any good books to expand into basic Java/database interactions with either Oracle or Microsoft SQL? Also, would this be done with JDBC?
    Answer: Java software can access relational databases with either Java Database Connectivity (JDBC) or the JDBC-ODBC Bridge. The same techniques are required in either case -- your Java class loads a database driver and uses it to connect to the database and make queries.
    Sams Teach Yourself Java 2 in 21 Days, Fourth Edition, a more advanced book I coauthored with Laura Lemay, devotes a chapter to JDBC and JDBC-ODBC.
    Since you mentioned Oracle, you ought to take a look at Oracle and Java Development by Bulusu Lakshman, also offered by Sams Publishing. Edit

Activities

  • Solution 1: IdFiles.java and IdFiles.class. Before running this application, put one or more MP3 files in the same folder. All of them will be renamed using the ID3 information in the each file, if it exists. Edit
  • Solution 2: This exercise is facetious, but if you'd like to buy the album, The Colour and the Shape by the Foo Fighters is sold on Amazon.com. Edit
  • Solution 3: ReadJava.java and ReadJava.class. Edit
   
HOME / FEEDBACK / ORDER THE BOOK / OTHER BOOKS / PREVIOUS HOUR / NEXT HOUR / THANKS

Search terms used to find this page: Java programming, teach yourself, 24 hours, how to, learn, Sams, Macmillan, Java2, JDK1.4, Java 1.4, JDK 1.4, SDK1.4, Java 2 SDK 1.4, SDK 1.4, Java 2 version 1.4, Java 2 SDK, Java SDK, Rogers Cadenhead, tutorial, hands-on, source code, code, javac, java, appletviewer, help, learning, applet, application, Java Plug-in, plugin, Swing, GUI, interface, Java2D, IO, Java Web Start, games, novice, beginner, neophyte, rookie

Valid HTML 4.01!

Valid CSS!