Sams Teach Yourself Java in 24 Hours, Sixth Edition "Covering Java 7 and Android Development" In just 24 lessons of one hour or less, you can learn how to create Java applications. 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 an Android app in Java. 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 environmentWrite your first working program in just minutesControl program decisions and behavior Store and work with information Build straightforward user interfacesCreate interactive web programsUse threading to build more responsive programsRead and write files and XML dataMaster best practices for object-oriented programmingCreate flexible, interoperable web services with JAX-WSUse Java to create an Android app PART Getting Started HOUR 1: Becoming a Programmer HOUR 2: Writing Your First Program HOUR 3: Vacationing in Java HOUR 4: Understanding How Java Programs Work PART Learning the Basics of Programming HOUR 5: Storing and Changing Information in a Program HOUR 6: Using Strings to Communicate HOUR 7: Using Conditional Tests to Make Decisions HOUR 8: Repeating an Action with Loops PART Working with Information in New Ways HOUR 9: Storing Information with Arrays HOUR 10: Creating Your First Object HOUR 11: Describing What Your Object Is Like HOUR 12: Making the Most of Existing Objects PART Programming a Graphical User Interface HOUR 13: Building a Simple User Interface HOUR 14: Laying Out a User Interface HOUR 15: Responding to User Input HOUR 16: Building a Complex User Interface PART Moving into Advanced Topics HOUR 17: Creating Interactive Web Programs HOUR 18: Handling Errors in a Program HOUR 19: Creating a Threaded Program HOUR 20: Reading and Writing Files PART Writing Internet Applications HOUR 21: Reading and Writing XML Data HOUR 22: Creating Web Services with JAX-WS HOUR 23: Creating Java2D Graphics HOUR 24: Writing Android Apps PART Appendixes APPENDIX Using the NetBeans Integrated Development Environment APPENDIX Where to Go from Java Resources APPENDIX This Book's Website APPENDIX Setting Up an Android Development Environment
Rogers Cadenhead is a ServiceNow developer who has created applications in insurance and customer service. He is also the author of more than a dozen books on computer programming and web publishing, including the Sams Teach Yourself Java in 21 Days series, and the chairman of the RSS Advisory Board, the group that publishes the RSS 2.0 specification.
If you are starting out learning Java, then this book is NOT for you. If you have programmed quite a bit in java then this book is NOT for you.
With the introduction above, let me start with the good points about the book: 1. A good amount of effort put in for Swing and AWT related concepts. 2. There are some exercise questions to follow after each chapter. 3. Gives some introduction on Android. This I think is good because as a beginner its appealing to know the adaption of Java language.
Now to the not so good parts: 1. Uses/Encourages the use of NetBeans IDE. Whereas beginners are not encouraged to use IDEs as they never allow you to fail. 2. No chapters on Generics and Collections. Threading covered in terms of Swing which is not the right way to cover it. 3. No try-with-resources feature of Java 7 mentioned in the exception handling section. 4. The chapter on creating Web Services using JAX-WS, parsing XML were not really required. Moreover there has been mention of REST in the JAX-WS chapter where as its using SOAP. 5. No real value added examples to back the content. 6. No good coverage of OOP concepts.
The bottom line is if you are serious about learning Java, then this book is not recommended. The content is simple to understand, but it really doesn't teach Java the right way.
And on a closing note, one can learn a language only when they spend some time learning and trying out the examples and for a language like Java learning about its API is also important.
--- Disclosure: I received a copy of this book from the publisher in exchange for writing this review on behalf of CodeRanch.