Synopses & Reviews
The best-selling Java tutorial, now updated and expanded for Java 6, the new version of today's #1 programming language
- Teaches Java as a first programming language, through short, simple chapters that can be completed in no more than an hour each
- New online Learning Lab offers video walkthroughs of all examples, detailed quiz answers, starter software, and sample files
- Includes new chapters on creating Facebook widgets and building web services with javax.xml.ws, plus many new examples
In arenas ranging from enterprise development to cellphone games, Java remains one of the world's most popular programming languages. Sams Teach Yourself Java in 24 Hours, 5/e, will help Java beginners gain true mastery over the new Java 6. In this book's straightforward, step-by-step approach, each lesson builds on everything that's come before, helping you learn Java's core features and techniques from the ground up. Friendly, accessible, and conversational, this book offers a practical grounding in the language, without ever becoming overwhelming or intimidating. Coverage includes: learning programming basics; working with data and objects; programming graphical user interfaces; creating interactive web programs; handling errors; writing Internet applications and web services; and much more. This edition's examples have been extensively updated, and there are brand-new chapters on building web services and creating today's popular Facebook widgets. In addition, you now learn Java using NetBeans, Sun's free, easy-to-use integrated development environment - not the more difficult JDK. For the first time, this book is supported with a complete online Learning Lab that offers video walkthroughs of all examples, plus detailed quiz answers, and all the sample software and files you will need. By the time you are finished with this book's lessons, you won't just understand Java: you'll be comfortable using it in real-world projects.
Synopsis
Now updated and expanded for Java 6, this tutorial features extensively updated examples and brand-new chapters on building Web services. It is supported with a complete online Learning Lab that offers video walkthroughs of all examples, plus detailed quiz answers and all the sample software and files users will need.
Synopsis
In just 24 lessons of one hour or less, you can learn how to create Java applications with the free NetBeans visual editing tools.
¿
Using a straightforward, step-by-step approach, popular author Rogers Cadenhead helps you master the skills and technology you need to create desktop and web programs, web services, and even a browser game in Java. Each lesson builds on what you’ve already learned, giving you a solid understanding of the basic concepts and terminology.
- Full-color figures and clear step-by-step instructions visually show you how to program with Java.
- Quizzes and Exercises at the end of each chapter help you test your knowledge.
- Notes, Tips, and Cautions provide related information, advice, and warnings.
Learn how to…
- Set up your Java programming environment
- Write your first working program in just minutes
- Control program decisions and behavior
- Store and work with information
- Build straightforward user interfaces
- Create interactive web programs
- Use threading to build more responsive programs
- Build a browser-based game from start to finish
- Read and write files and XML data
- Master best practices for object-oriented programming
- Create flexible, interoperable web services with JAX-WS
- Integrate graphics into your applications
About the Author
Rogers Cadenhead is a writer, computer programmer, and web developer who has written 21 books on Internet-related topics, including Sams Teach Yourself Java 6 in 21 Days. He maintains the Drudge Retort and other websites that receive more than seven million visits a year. This book’s official website is www.java24hours.com.
Table of Contents
Part I: Getting Started
1: Becoming a Programmer
2: Writing Your First Program
3: Vacationing in Java
4: Understanding How Java Programs Work
Part II: Learning the Basics of Programming
5: Storing and Changing Information in a Program
6: Using Strings to Communicate
7: Using Conditional Tests to Make Decisions
8: Repeating an Action with Loops
Part III: Working with Information in New Ways
9: Storing Information with Arrays
10: Creating Your First Object
11: Describing What Your Object is Like
12: Making the Most of Existing Objects
Part IV: Programming a Graphical User Interface
13: Building a Simple User Interface
14: Laying Out a User Interface
15: Responding to User Input
16: Building a Complex User Interface
Part V: Moving into Advanced Topics
17: Creating Interactive Web Programs
18: Handling Errors in a Program
19: Creating a Threaded Program
20: Reading and Writing Files
Part VI: Writing Internet Applications
21: Reading and Writing XML Data
22: Creating Web Services with JAX-WS
23: Working with Graphics
24: Creating a Facebook Application