My Account Log in

1 option

Sams teach yourself Java 6 in 21 days / Rogers Cadenhead, Laura Lemay.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Cadenhead, Rogers.
Contributor:
Lemay, Laura.
Language:
English
Subjects (All):
Java (Computer program language).
Physical Description:
1 online resource (xviii, 697 p. ) ill. ; 1 CD-ROM (4 3/4 in.)
Edition:
5th edition
Other Title:
Teach yourself Java 6 in 21 days
Java 6 in 21 days
Place of Publication:
Indianapolis, Ind. : Sams, c2007.
Language Note:
English
System Details:
text file
Summary:
“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 Start applications. No previous programming experience required. By following the 21 carefully organized lessons in this book, anyone can learn the basics of Java programming. Learn at your own pace. You can work through each chapter sequentially to make sure you thoroughly understand all of the concepts and methodologies, or you can focus on specific lessons to learn the techniques that interest you most. Test your knowledge. Each chapter ends with a Workshop section filled with questions, answers, and exercises for further study. There are even certification practice questions. “Sams Teach Yourself Java is one of the best introductions to hands-on Java programming. If you buy one book on Java, this is the one to buy!” —Independent Web Review Completely revised, updated, and expanded to cover the latest features of Java 6 Learn to develop standalone Java applications, web servlets, JavaServer Pages, and Java Web Start applications Easy-to-understand, practical examples clearly illustrate the fundamentals of Java programming Discover how Swing can help you quickly develop programs with a graphical user interface Find out about JDBC database programming, Internet client/server programming, and XML parsing with the open source XOM class library Covers new features of version 6 such as Java DB, the new relational database that is now a built-in part of Java Rogers Cadenhead is a web application developer who has written 22 books on Internet-related topics, including Sams Teach Yourself Java 2 in 24 Hours. He maintains this book’s official website at http://www.java21days.com. Laura Lemay is one of the world’s most popular authors on Web development topics. She is the author of the bestselling Sams Teach Yourself Web Publishing with HTML, as well as Sams Teach Yourself Perl in 21 Days. CD-ROM includes: Source code for the examples developed in the book Java™ SE Development Kit 6 NetBeans™ IDE 5.5 Bonus materials Category: Java Programming Covers: Java 6 Platform Standard Edition User Level: Beginning–Intermediate
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
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
DAY 4: Lists, Logic, and Loops
Arrays
Block Statements
if Conditionals
switch Conditionals
for Loops
while and do Loops
Breaking Out of Loops
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
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
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
WEEK II: The Java Class Library
DAY 8: Data Structures
Moving Beyond Arrays
Java Structures
Generics
DAY 9: Working with Swing
Creating an Application
Working with Components
Lists
DAY 10: Building a Swing Interface
Swing Features
DAY 11: Arranging Components on a User Interface
Basic Interface Layout
Mixing Layout Managers
Card Layout
Grid Bag Layout
DAY 12: Responding to User Input
Event Listeners
Working with Methods
DAY 13: Using Color, Fonts, and Graphics
The Graphics2D Class
Drawing Text
Color
Drawing Lines and Polygons
DAY 14: Developing Swing Applications
Java Web Start
Using Java Web Start
Improving Performance with SwingWorker
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
DAY 16: Serializing and Examining Objects
Object Serialization
Inspecting Classes and Methods with Reflection
DAY 17: Communicating Across the Internet
Networking in Java
The java.nio Package
DAY 18: Accessing Databases with JDBC
Java Database Connectivity.
The JDBC-ODBC Bridge
DAY 19: Reading and Writing RSS Feeds
Using XML
Designing an XML Dialect
Processing XML with Java
Processing XML with XOM
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
DAY 21: Writing Java Servlets and Java Server Pages
Using Servlets
Developing Servlets
JSP
JSP Standard Tag Library
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.
Notes:
Includes index.
Description based on publisher supplied metadata and other sources.
ISBN:
9786612649110
9781282649118
1282649116
9780768674354
0768674352
OCLC:
1027201417

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account