Learning Java

Front Cover
"O'Reilly Media, Inc.", 2013 - Java (Computer program language) - 954 pages
"Java is the preferred language for many of today's leading-edge technologies--everything from smartphones and game consoles to robots, massive enterprise systems, and supercomputers. If you're new to Java, the fourth edition of this bestselling guide provides an example-driven introduction to the latest language features and APIs in Java 6 and 7. Advanced Java developers will be able to take a deep dive into areas such as concurrency and JVM enhancements. You'll learn powerful new ways to manage resources and exceptions in your applications, and quickly get up to speed on Java's new concurrency utilities, and APIs for web services and XML. You'll also find an updated tutorial on how to get started with the Eclipse IDE, and a brand-new introduction to database access in Java."--Publisher's description.
 

Contents

Chapter 1 A Modern Language
1
Chapter 2 A First Application
25
Chapter 3 Tools of the Trade
67
Chapter 4 The Java Language
83
Chapter 5 Objects in Java
131
Chapter 6 Relationships Among Classes
161
Chapter 7 Working with Objects and Classes
201
Chapter 8 Generics
223
Chapter 16 Swing
589
Chapter 17 Using Swing Components
627
Chapter 18 More Swing Components
667
Chapter 19 Layout Managers
709
Chapter 20 Drawing with the 2D API
737
Chapter 21 Working with Images and Other Media
771
Chapter 22 JavaBeans
799
Chapter 23 Applets
831

Chapter 9 Threads
259
Chapter 10 Working with Text
315
Chapter 11 Core Utilities
359
Chapter 12 InputOutput Facilities
409
Chapter 13 Network Programming
469
Chapter 14 Programming for the Web
519
Chapter 15 Web Applications and Web Services
535
Chapter 24 XML
849
Appendix A The Eclipse IDE
899
Java Scripting
911
Glossary
917
Index
931
About the Authors
978
Copyright

Other editions - View all

Common terms and phrases

Bibliographic information