Herb Schildt's Java Programming Cookbook

· McGraw Hill Professional
4.0
8 reviews
Ebook
524
Pages

About this ebook

Your Ultimate "How-To" Guide to Java Programming!

Legendary programming author Herb Schildt shares some of his favorite programming techniques in this high-powered Java "cookbook." Organized for quick reference, each recipe shows how to accomplish a practical programming task. A recipe begins with a list of key ingredients (the classes, methods, and interfaces) followed by step-by-step instructions that show how to assemble them into a complete solution. Detailed discussions explain the how and why behind each step, and a full code example puts the recipe into action. Each recipe ends with a list of options and alternatives that suggest ways to adapt the technique to fit a variety of situations. Whether you're a beginner or an experienced pro, you'll find recipes that are sure to satisfy your Java programming appetite!

Topics include:

  • String Handling
  • Regular Expressions
  • File Handling
  • Applets
  • Servlets
  • Swing
  • The Collections Framework
  • Multithreading
  • Formatting Data

Learn how to:

  • Find substrings that match a regular expression
  • Use regular expressions to tokenize a string
  • Compress and decompress data files
  • Create a ZIP file
  • Format time and date
  • Use printf( ) to display formatted data
  • Reverse, rotate, and shuffle a list
  • Use a Comparator with a collection
  • Create a simple Swing application
  • Create a Swing-based applet
  • Create a simple servlet
  • Use a cookie with a servlet
  • Synchronize threads
  • Monitor a thread's state
  • Set and obtain a thread's priority
  • Use JScrollPane to automate scrolling
  • Access a resource using HttpURLConnection
  • Schedule a task for future execution
  • Use reflection to dynamically create an object and call methods
  • Much, much more

Ratings and reviews

4.0
8 reviews
A Google user
October 5, 2008
The chapter on string functions and regular expressions was excellent, and the chapter on Swing may also prove useful. However, Schildt focuses too heavily on things that are better-addressed in Sun's javadocs.
Did you find this helpful?

About the author

Herb Schildt is a leading authority on Java, C, C++, and C#, and is a master Windows programmer. Herb's programming books have sold more than 3.5 million copies worldwide and have been translated into all major foreign languages. He is the author of numerous bestsellers on Java, including Java: The Complete Reference, Java: A Beginner's Guide, and Swing: A Beginner's Guide.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.