وبلاگ بلیان

Learning Java (Java Series)

معرفی کتاب «Learning Java (Java Series)» نوشتهٔ Jonathan Knudsen, Patrick Niemeyer، منتشرشده توسط نشر O'Reilly Media در سال 2000. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است. «Learning Java (Java Series)» در دستهٔ بدون دسته‌بندی قرار دارد.

Part of O'Reilly's definitive set of Java documentation, Learning Java introduces the basics of Java, the object-oriented programming language for networked applications from Sun Microsystems. This book provides a broad survey of the Java 2 Standard Edition and contains everything you need to know to get up to speed quickly. It covers the essentials of hot topics like Swing and JFC; describes new tools for signing applets and other Java classes; and shows you how to write networked clients and servers, servlets, JavaBeans, and state-of-the-art user interfaces.Java started out as a tool for creating animated Web pages, but it's proved to be much more. Java is now used for everything from sophisticated Web clients to mission-critical enterprise applications. In the future, Java will become the basis for a new generation of distributed software that runs on devices ranging from cell phones to supercomputers. In the practical, hands-on approach characteristic of O'Reilly, Learning Java will show you why Java is now the language of choice for building the next generation of computer software.Includes CD-ROM containing the complete Java 2 SDK, version 1.3, as well as examples and code from the book.Part of O'Reilly's definitive set of Java documentation, Learning Java covers: * History and principles of Java * How to write simple applets and applications * How to integrate applets into the World Wide Web * Java Fundamental Class (JFC) and Swing Libraries * Using threads * Using arrays * Network programming with sockets * Remote Method Invocation * Servlets * Signing applets * Creating a security policy" Table of Contents 1 Preface 5 Chapter 1. Yet Another Language? 9 1.1 Enter Java 9 1.2 A Virtual Machine 11 1.3 Java Compared with Other Languages 13 1.4 Safety of Design 15 1.5 Safety of Implementation 19 1.6 Application and User-Level Security 23 1.7 Java and the World Wide Web 24 1.8 Java as a General Application Language 26 1.9 A Java Road Map 27 Chapter 2. A First Application 31 2.1 HelloJava1 31 2.2 HelloJava2: The Sequel 39 2.3 HelloJava3: The Button Strikes! 46 2.4 HelloJava4: Netscape's Revenge 54 Chapter 3. Tools of the Trade 61 3.1 The Java Interpreter 61 3.2 Policy Files 63 3.3 The Class Path 66 3.4 The Java Compiler 67 3.5 Java Archive (JAR) Files 69 Chapter 4. The Java Language 74 4.1 Text Encoding 74 4.2 Comments 74 4.3 Types 76 4.4 Statements and Expressions 80 4.5 Exceptions 88 4.6 Arrays 96 Chapter 5. Objects in Java 103 5.1 Classes 103 5.2 Methods 108 5.3 Object Creation 114 5.4 Object Destruction 118 Chapter 6. Relationships Among Classes 120 6.1 Subclassing and Inheritance 120 6.2 Interfaces 131 6.3 Packages and Compilation Units 135 6.4 Visibility of Variables and Methods 138 6.5 Arrays and the Class Hierarchy 140 6.6 Inner Classes 142 Chapter 7. Working with Objects and Classes 150 7.1 The Object Class 150 7.2 The Class Class 154 7.3 Reflection 156 Chapter 8. Threads 164 8.1 Introducing Threads 164 8.2 Threads in Applets 170 8.3 Synchronization 173 8.4 Scheduling and Priority 181 8.5 Thread Groups 184 Chapter 9. Basic Utility Classes 186 9.1 Strings 188 9.2 Math Utilities 196 9.3 Dates 200 9.4 Timers 203 9.5 Collections 204 9.6 Properties 215 9.7 The Security Manager 219 9.8 Internationalization 221 Chapter 10. Input/Output Facilities 228 10.1 Streams 229 10.2 Files 240 10.3 Serialization 249 10.4 Data Compression 251 Chapter 11. Network Programming with Sockets 256 11.1 Sockets 257 11.2 Datagram Sockets 269 11.3 Simple Serialized Object Protocols 273 11.4 Remote Method Invocation (RMI) 277 Chapter 12. Programming for the Web 289 12.1 Uniform Resource Locators (URLs) 289 12.2 The URL Class 290 12.3 Web Browsers and Handlers 293 12.4 Talking to CGI Programs and Servlets 294 12.5 Implementing Servlets 299 Chapter 13. Swing 311 13.1 Components 313 13.2 Containers 320 13.3 Events 326 13.4 Event Summary 331 13.5 Multithreading in Swing 339 Chapter 14. Using Swing Components 341 14.1 Buttons and Labels 341 14.2 Checkboxes and Radio Buttons 343 14.3 Lists and Combo Boxes 346 14.4 Borders 348 14.5 Menus 351 14.6 The PopupMenu Class 354 14.7 The JScrollPane Class 356 14.8 The JSplitPane Class 359 14.9 The JTabbedPane Class 360 14.10 Scrollbars and Sliders 362 14.11 Dialogs 364 Chapter 15. More Swing Components 370 15.1 Text Components 370 15.2 Trees 380 15.3 Tables 384 15.4 Desktops 392 15.5 Pluggable Look-and-Feel 394 15.6 Creating Custom Components 396 Chapter 16. Layout Managers 401 16.1 FlowLayout 402 16.2 GridLayout 403 16.3 BorderLayout 404 16.4 BoxLayout 406 16.5 CardLayout 408 16.6 GridBagLayout 409 16.7 Nonstandard Layout Managers 423 16.8 Absolute Positioning 423 Chapter 17. Drawing with the 2D API 425 17.1 The Big Picture 425 17.2 The Rendering Pipeline 426 17.3 A Quick Tour of Java 2D 428 17.4 Filling Shapes 434 17.5 Stroking Shape Outlines 436 17.6 Using Fonts 436 17.7 Displaying Images 441 17.8 Using Drawing Techniques 444 Chapter 18. Working with Images and Other Media 455 18.1 Implementing an ImageObserver 455 18.2 Using a MediaTracker 458 18.3 Producing Image Data 460 18.4 Filtering Image Data 469 18.5 Working with Audio 474 18.6 Working with Movies 475 Chapter 19. Java Beans 477 19.1 What's a Bean? 477 19.2 Building Beans 485 19.3 Hand-Coding with Beans 497 19.4 Putting Reflection to Work 499 19.5 BeanContext and BeanContextServices 502 19.6 The Java Activation Framework 505 19.7 Enterprise JavaBeans 506 Chapter 20. Applets 508 20.1 The JApplet Class 508 20.2 The Tag 515 20.3 Using the Java Plug-in 520 20.4 Using Digital Signatures 522 Chapter 21. Glossary 531 Appendix A. Content and Protocol Handlers 547 A.1 Writing a Content Handler 547 A.2 Writing a Protocol Handler 552 Appendix B. BeanShell: Simple Java Scripting 562 B.1 Running BeanShell 562 B.2 Java Statements and Expressions 562 B.3 BeanShell Commands 563 B.4 Scripted Methods and Objects 564 B.5 Learning More . . . 564 Colophon 565 Java Learning Java Part of O'Reilly's definitive set of Java documentation, Learning Java introduces the basics of Java, the object-oriented programming language for networked applications from Sun Microsystems. This book provides a broad survey of the Java 2 Standard Edition and contains everything necessary to get up to speed quickly. It covers the essentials of hot topics like Swing and JFC; describes new tools for signing applets and other Java classes; and shows how to write networked clients and servers, servlets, JavaBeans, and state-of-the-art user interfaces. Java started out as a tool for creating animated web pages, but it's proven to be much more. Java is now used for everything from sophisticated web clients to mission-critical enterprise applications. In the future, Java will become the basis for a new generation of distributed software that runs on devices ranging from cell phones to supercomputers. In the practical, hands-on approach characteristic of O'Reilly, Learning Java demonstrates why Java is now the language of choice for building the next generation of computer software. Includes a CD-ROM containing the example code and JBuilder for Windows and Solaris. Learning Java covers: History and principles of Java How to write simple applets and applications How to integrate applets into the World Wide Web Java Fundamental Class (JFC) and Swing Libraries Using threads Using arrays Network programming with sockets Remote Method Invocation Servlets Signing applets Creating a security policy

Whether you're just migrating to Java or working steadily in the forefront of Java development, "Learning Java" gives a clear, systematic overview of the Java 2 Standard Edition. It covers the essentials of hot topics like Swing and JFC; describes new tools for signing applets; and shows you how to write networked clients and servers, servlets, JavaBeans, and state-of-the-art user interfaces.

Booknews

A book/CD-ROM package on Java 2 SDK 1.3, the latest release, reflecting the software's changing focus on improved GUI programming tools, the emergence of servlets as an alternative to applets, and the advent of APIs for multimedia and image processing. The accompanying CD-ROM contains some 100 example programs, plus Java programming environments, including compiler and class libraries. Niemeyer is involved with development of client/server systems and communications software. Knudson has written several computer books, and writes a monthly online column on Java. Annotation c. Book News, Inc., Portland, OR (booknews.com)

"Learning Java is a thorough update to O'Reilly & Associates' Exploring Java, 2nd Edition. The text now reflects Java 2 SDK 1.3, the latest release from Sun Microsystems. The authors have adjusted the book's focus to match Java's changing focus: improved GUI programming tools, the emergence of servlets as an alternative to applets, the advent of APIs for multimedia and image processing, and more."--Jacket
دانلود کتاب Learning Java (Java Series)