rent-now

Rent More, Save More! Use code: ECRENTAL

5% off 1 book, 7% off 2 books, 10% off 3+ books

9781590591468

Beginning Java Objects: From Concepts to Code

by
  • ISBN13:

    9781590591468

  • ISBN10:

    1590591461

  • Edition: 4th
  • Format: Paperback
  • Copyright: 2003-07-01
  • Publisher: Springer-Verlag New York Inc
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $44.99 Save up to $28.79
  • Digital
    $35.10*
    Add to Cart

    DURATION
    PRICE
    *To support the delivery of the digital material to you, a digital delivery fee of $3.99 will be charged on each digital item.

Summary

Among Java's many attractive features as a programming language, its object-oriented nature is key to creating powerful, reusable code and applications that are easy to maintain and extend. To take advantage of these capabilities, you're going to need not only to master the syntax of the Java language, but also to gain a practical understanding of what objects are all about. Most importantly, you need to know how to structure Java applications from the ground up to make the most of objects. WithBeginning Java Objects: From Concepts to Code, youll master all three.Learning to design objects effectively with Java is the goal ofBeginning Java Objects: From Concepts to Code.Plenty of titles dig into the Java language in massive detail, but this one takes the unique approach of stepping back and looking at fundamental object concepts first. Mastery of Javafrom understanding the basic language features to building complete industrial-strength Java applicationsemerges only after a thorough tour of thinking in objects. Let this book be your guide.

Table of Contents

Introductionp. 1
Goals for this Bookp. 1
Why Is Understanding Objects So Critical To Being a Successful OO Programmer?p. 2
Who Is This Book Written For?p. 3
What if You are Interested in Object Modeling, But Not Necessarily in Java Programming?p. 5
How This Book is Organizedp. 5
Part 1p. 5
Part 2p. 5
Part 3p. 5
Conventionsp. 6
Which Version of Java is this Book Based On?p. 6
A Final Thought Before We Get Startedp. 7
Tell Us What You Thinkp. 7
Student Registration System Case Studyp. 8
The ABC's of Objectsp. 11
A Little Taste of Javap. 13
Why Java?p. 14
Java Language Basicsp. 23
Getting 'Hands On' With Javap. 43
Summaryp. 44
Exercisesp. 45
Abstraction and Modelingp. 47
Simplification Through Abstractionp. 47
Generalization Through Abstractionp. 48
Reuse of Abstractionsp. 52
Inherent Challengesp. 53
Summaryp. 55
Exercisesp. 56
Objects and Classesp. 59
What Is an Object?p. 59
Data/State/Attributesp. 60
Behavior/Operations/Methodsp. 61
Classesp. 63
Instantiationp. 64
Encapsulationp. 66
Objects vs. Database Recordsp. 66
Classes as Abstract Data Typesp. 67
Instantiating Objects: A Closer Lookp. 69
Objects as Attributesp. 73
Composite Classesp. 74
Three Distinguishing Features of an Object-Oriented Programming Languagep. 77
Summaryp. 77
Exercisesp. 78
Object Interactionsp. 81
Events Drive Object Collaborationp. 81
Method Signaturesp. 83
Message Passing and Dot Notationp. 87
Accessing Attributes via Dot Notationp. 88
Delegationp. 89
Access to Objectsp. 90
Objects as Clients and Servers/Agentsp. 92
Information Hiding/Visibilityp. 93
Accessor and Modifier Methodsp. 96
Exceptions to the Public/Private Rulep. 99
Encapsulation Revisitedp. 102
Constructorsp. 107
Summaryp. 109
Exercisesp. 110
Relationships Between Objectsp. 113
Associations and Linksp. 113
Rules for Deriving Classes: The 'Do's'p. 130
Rules for Deriving Classes: The 'Don'ts'p. 133
A Few Words About Multiple Inheritancep. 135
Three Distinguishing Features of an Object-Oriented Programming Language, Take 2p. 139
Summaryp. 139
Exercisesp. 140
Collections of Objectsp. 143
What are Collections?p. 143
Inventing Your Own Collection Typesp. 153
Collections as Method Return Typesp. 156
Collections of Supertypesp. 157
Composite Classes, Revisitedp. 158
Summaryp. 160
Exercisesp. 161
Some Final Conceptsp. 163
What is Polymorphism?p. 164
Three Distinguishing Features of an Object-Oriented Programming Languagep. 169
Abstract Classesp. 169
Interfacesp. 175
Static Attributesp. 179
Summaryp. 185
Exercisesp. 186
Object Modelling 101p. 189
The Object Modeling Process in a Nutshellp. 191
The 'Big Picture' Goal of Object Modelingp. 191
Our Object Modeling Process, in a Nutshellp. 194
Summaryp. 197
Exercisesp. 198
Formalizing Requirements through Use Casesp. 201
What are Use Cases?p. 202
Actorsp. 203
Specifying Use Casesp. 207
Matching Up Use Cases with Actorsp. 208
To Diagram or Not to Diagram?p. 209
Summaryp. 210
Exercisesp. 210
Modeling the Static/ Data Aspects of the Systemp. 213
Identifying Appropriate Classesp. 214
Producing a Data Dictionaryp. 225
Determining Associations Between Classesp. 226
Identifying Attributesp. 230
UML Notation: Modeling the Static Aspects of an Abstractionp. 230
Object Diagramsp. 241
Information 'Flows' Along the Association 'Pipeline'p. 244
'Mixing and Matching' Relationship Notationsp. 248
Association Classesp. 250
Our 'Completed' Student Registration System Class Diagramp. 252
Metadatap. 258
Comparing UML and OMT Notationsp. 259
Summaryp. 260
Exercisesp. 261
Modeling the Dynamic/Behavioral Aspects of the Systemp. 263
How Behavior Affects Statep. 264
Eventsp. 266
Scenariosp. 268
Sequence Diagramsp. 272
Using Sequence Diagrams to Determine Methodsp. 277
Collaboration Diagramsp. 279
Revised SRS Class Diagramp. 280
Summaryp. 281
Exercisesp. 282
Wrapping Up Our Modeling Effortsp. 285
Testing Your Modelp. 285
A Shortcoming in our Modelp. 286
Reusing Models: A Word About Design Patternsp. 288
Summaryp. 290
Exercisesp. 291
Translating an Object 'Blueprint' into Java Codep. 293
A Deeper Look At Javap. 295
Setting Up a Java Programming Environmentp. 296
Anatomy of a Java Program, Revisitedp. 297
Anatomy of a Java Classp. 305
Strings as Objectsp. 311
Java Expressions, Revisitedp. 314
Printing to the Screen, Revisitedp. 316
Arrays, Revisitedp. 316
Java Exception Handlingp. 320
Reading Data from the Command Linep. 322
Accepting Keyboard Inputp. 324
Using constructorsp. 326
Using the 'this' Keyword for Object Self-Referencingp. 330
Object Deletion and Garbage Collectionp. 333
Inheritance and Javap. 335
Java's Collection Classesp. 343
The 'final' Keywordp. 353
Abstract Classes and Interfaces, Revisitedp. 356
Object Identitiesp. 358
The toString() Methodp. 364
Inner Classesp. 365
Summaryp. 368
Exercisesp. 370
Transforming Your Model into Java Codep. 375
Suggestions for Getting the Maximum Value out of This and Subsequent Chaptersp. 376
The SRS Class Diagram, Revisitedp. 376
Debugging Tipp. 421
Summaryp. 423
Exercisesp. 424
Rounding Out Your Application, Part 1 - Adding File Persistencep. 427
What is File Persistence?p. 428
CollectionWrapper (Encapsulating Collections; Reading from an ASCII File)p. 436
Summaryp. 468
Exercisesp. 469
Rounding Out Your Application, Part 2 - Adding a Graphical User Interfacep. 471
Java GUIs: a Primerp. 472
Java Event Handlingp. 522
Selecting an Item from a JListp. 538
More Container Types: JDialog and JOptionPanep. 545
One Step Dialogs with JOptionPanep. 550
SRS, Take 3: Adding a GUIp. 553
Summaryp. 597
Exercisesp. 598
Next Stepsp. 601
Jacquie's 'Tried and True' Method for Learning Java Properlyp. 602
Recommended Readingp. 603
Your Comments, Please!p. 604
Appendicesp. 607
Suggestions for Using This Book as a Textbookp. 609
Alternative Case Studiesp. 613
Conference Room Reservation Systemp. 613
Blue Skies Airline Reservation Systemp. 615
Setting Up a Basic Object Modeling/Java Environmentp. 619
Object Modeling Toolsp. 619
The Java Software Developer's Kitp. 619
'Odds and Ends' Tips for Getting Java Workingp. 620
Using the On-Line Java Documentation with Windowsp. 625
Special Tips for Using DOS Under Microsoft Windowsp. 626
SRS Source Codep. 631
Downloading the Example Codep. 631
Note to Experienced C++ Programmersp. 635
How Polymorphism Worksp. 641
Indexp. 651
Table of Contents provided by Ingram. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program