Sams teach yourself Java 6 in 21 days

“If you get only one Java book, it should be Sams Teach Yourself Java in 21 Days”   —PC Magazine In just 21 days, you can acquire the knowledge and skills necessary to develop three kinds of programs with Java: applications on your computer, servlets on a web server, and browser-launched Java Web St...

Full description

Bibliographic Details
Main Author: Cadenhead, Rogers (-)
Other Authors: Lemay, Laura
Format: eBook
Language:Inglés
Published: Indianapolis, Ind. : Sams c2007.
Edition:5th edition
Subjects:
See on Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627038806719
Table of Contents:
  • Cover
  • Contents
  • Introduction
  • How This Book Is Organized
  • Who Should Read This Book
  • Conventions Used in This Book
  • WEEK I: The Java Language
  • DAY 1: Getting Started with Java
  • The Java Language
  • Object-Oriented Programming
  • Objects and Classes
  • Attributes and Behavior
  • Organizing Classes and Class Behavior
  • Summary
  • Q&amp
  • A
  • Quiz
  • Exercises
  • DAY 2: The ABCs of Programming
  • Statements and Expressions
  • Variables and Data Types
  • Comments
  • Literals
  • Expressions and Operators
  • String Arithmetic
  • Summary
  • Q&amp
  • A
  • Quiz
  • Exercises
  • DAY 3: Working with Objects
  • Creating New Objects
  • Accessing and Setting Class and Instance Variables
  • Calling Methods
  • References to Objects
  • Casting and Converting Objects and Primitive Types
  • Comparing Object Values and Classes
  • Summary
  • Q&amp
  • A
  • Quiz
  • Exercises
  • DAY 4: Lists, Logic, and Loops
  • Arrays
  • Block Statements
  • if Conditionals
  • switch Conditionals
  • for Loops
  • while and do Loops
  • Breaking Out of Loops
  • Summary
  • Q&amp
  • A
  • Quiz
  • Exercises
  • DAY 5: Creating Classes and Methods
  • Defining Classes
  • Creating Instance and Class Variables
  • Creating Methods
  • Creating Java Applications
  • Java Applications and Command-line Arguments
  • Creating Methods with the Same Name, Different Arguments
  • Constructor Methods
  • Overriding Methods
  • Finalizer Methods
  • Summary
  • Q&amp
  • A
  • Quiz
  • Exercises
  • DAY 6: Packages, Interfaces, and Other Class Features
  • Modifiers
  • Static Variables and Methods
  • Final Classes, Methods, and Variables
  • Abstract Classes and Methods
  • Packages
  • Using Packages
  • Creating Your Own Packages
  • Interfaces
  • Creating and Extending Interfaces
  • Inner Classes
  • Summary
  • Q&amp
  • A
  • Quiz
  • Exercises
  • DAY 7: Exceptions, Assertions, and Threads
  • Exceptions.
  • Managing Exceptions
  • Declaring Methods That Might Throw Exceptions
  • Creating and Throwing Your Own Exceptions
  • When and When Not to Use Exceptions
  • Assertions
  • Threads
  • Summary
  • Q&amp
  • A
  • Quiz
  • Exercises
  • WEEK II: The Java Class Library
  • DAY 8: Data Structures
  • Moving Beyond Arrays
  • Java Structures
  • Generics
  • Summary
  • Q&amp
  • A
  • Quiz
  • Exercises
  • DAY 9: Working with Swing
  • Creating an Application
  • Working with Components
  • Lists
  • Summary
  • Q&amp
  • A
  • Quiz
  • Exercises
  • DAY 10: Building a Swing Interface
  • Swing Features
  • Summary
  • Q&amp
  • A
  • Quiz
  • Exercises
  • DAY 11: Arranging Components on a User Interface
  • Basic Interface Layout
  • Mixing Layout Managers
  • Card Layout
  • Grid Bag Layout
  • Summary
  • Q&amp
  • A
  • Quiz
  • Exercises
  • DAY 12: Responding to User Input
  • Event Listeners
  • Working with Methods
  • Summary
  • Q&amp
  • A
  • Quiz
  • Exercises
  • DAY 13: Using Color, Fonts, and Graphics
  • The Graphics2D Class
  • Drawing Text
  • Color
  • Drawing Lines and Polygons
  • Summary
  • Q&amp
  • A
  • Quiz
  • Exercises
  • DAY 14: Developing Swing Applications
  • Java Web Start
  • Using Java Web Start
  • Improving Performance with SwingWorker
  • Summary
  • Q&amp
  • A
  • Quiz
  • Exercises
  • WEEK III: Java Programming
  • DAY 15: Working with Input and Output
  • Introduction to Streams
  • Byte Streams
  • Filtering a Stream
  • Character Streams
  • Files and Filename Filters
  • Summary
  • Q&amp
  • A
  • Quiz
  • Exercises
  • DAY 16: Serializing and Examining Objects
  • Object Serialization
  • Inspecting Classes and Methods with Reflection
  • Summary
  • Q&amp
  • A
  • Quiz
  • Exercises
  • DAY 17: Communicating Across the Internet
  • Networking in Java
  • The java.nio Package
  • Summary
  • Q&amp
  • A
  • Quiz
  • Exercises
  • DAY 18: Accessing Databases with JDBC
  • Java Database Connectivity.
  • The JDBC-ODBC Bridge
  • Summary
  • Q&amp
  • A
  • Quiz
  • Exercises
  • DAY 19: Reading and Writing RSS Feeds
  • Using XML
  • Designing an XML Dialect
  • Processing XML with Java
  • Processing XML with XOM
  • Summary
  • Q&amp
  • A
  • Quiz
  • Exercises
  • DAY 20: XML Web Services
  • Introduction to XML-RPC
  • Communicating with XML-RPC
  • Choosing an XML-RPC Implementation
  • Using an XML-RPC Web Service
  • Creating an XML-RPC Web Service
  • Summary
  • Q&amp
  • A
  • Quiz
  • Exercises
  • DAY 21: Writing Java Servlets and Java Server Pages
  • Using Servlets
  • Developing Servlets
  • JSP
  • JSP Standard Tag Library
  • Summary
  • Q&amp
  • A
  • Quiz
  • Exercises
  • Appendixes
  • APPENDIX A: Using the Java Development Kit
  • Choosing a Java Development Tool
  • Configuring the Java Development Kit
  • Using a Text Editor
  • Creating a Sample Program.
  • Setting Up the CLASSPATH Variable
  • APPENDIX B: Programming with the Java Development Kit
  • An Overview of the JDK
  • The java Interpreter
  • The javac Compiler
  • The appletviewer Browser
  • The javadoc Documentation Tool
  • The jar Java File Archival Tool
  • The jdb Debugger
  • Using System Properties
  • APPENDIX C: This Book's Website
  • Index
  • Bonus Material on the Companion CD-ROM
  • CD1 Choosing Java
  • CD2 Writing Java Applets
  • CD3 Regular Expressions
  • CD4 Where to Go from Here: Java Resources.