چه کسانی این کتاب را می‌خوانند

دانشجوعلاقه‌مند یادگیری
کتابخوان حرفه‌ایلذت مطالعه
نویسندهالهام‌گیری

Professional Java, JDK 5 Edition

W. Clay Richardson, Donald Avondolio, Joe Vitale, Scot Schrager, Mark W. Mitchell, Jeff Scanlon

قیمت نهایی

۴۹٬۰۰۰ تومان

نسخه اصلی و اورجینال

بلافاصله پس از خرید، فایل کتاب روی دستگاه شما آمادهٔ دانلود است.

تحویل فوری
پرداخت امن
ضمانت فایل
پشتیبانی

مشخصات کتاب

ناشر
Wrox
سال انتشار
۲۰۰۵
فرمت
PDF
زبان
انگلیسی
تعداد صفحات
۲ صفحه
حجم فایل
۱۱٫۴ مگابایت

دربارهٔ کتاب

What is this book about? Professional Java builds upon Ivor Horton's Beginning Java to provide the reader with an understanding of how professionals use Java to develop software solutions.В Pro JavaВ starts with an overview of best methods and tools for developing Java applications.В В It then examines the the more sophisticated and nuanced parts of the Java JDK.В The final and most extensive part of the book shows how to implement these ideas to build real-world applications, using bothВ Java APIs as well as related Java open source tools.В In short, this book provides a comprehensive treatmentВ of the professional Java development process, without losing focus in exhaustive coverage of isolated features and APIs.В Cover 1 Contents 16 Introduction 28 Key Java Language Features and Libraries 36 New Language Features 36 Generics 37 Enhanced for Loop 42 Variable Arguments 44 Boxing/Unboxing Conversions 46 Static Imports 48 Enumerations 50 Meta data 52 Important Java Utility Libraries 61 Java Logging 61 Java Preferences 98 Summary 106 Tools and Techniques for Developing Java Solutions 108 Principles of Quality Software Development 109 Habits of Effective Software Development 110 Communicate 110 Model 110 Be Agile 110 Be Disciplined 111 Trace Your Actions to Need 111 Don’t Be Afraid to Write Code 112 Think of Code as a Design, not a Product 112 Read a LOT! 113 Build Your Process from the Ground Up 113 Manage Your Configuration 113 Unit Test Your Code 114 Continuously Integrate 114 Maintaining Short Iterations 114 Measure What You Accomplished— Indirectly 115 Track Your Issues 116 Development Methodology 117 Waterfall Methodology 117 Unified Process 118 eXtreme Programming 120 Observations on Methodology 121 Practical Development Scenarios 122 Ant 122 Maven 130 JUnit 133 XDoclet 136 JMeter 142 Summary 144 Exploiting Patterns in Java 146 Why Patterns Are Important 147 Keys to Understanding the Java Programming Language 147 Keys to Understanding Tools Used in Java Development 148 Keys to Developing Effective Java Solutions 148 Building Patterns with Design Principles 150 Designing a Single Class 150 Creating an Association between Classes 150 Creating an Interface 152 Creating an Inheritance Loop 152 Important Java Patterns 154 Adapter 154 Model-View-Controller 157 Command 165 Strategy 169 Composite 173 Summary 177 Developing Effective User Interfaces with JFC 178 Layout Managers 179 BorderLayout 179 BoxLayout 186 FlowLayout 196 GridLayout 202 GridBagLayout 212 SpringLayout 218 CardLayout 226 JFrame and JDialog Components 232 Managing Navigation Flows in Swing 249 Applications 249 Summary 256 Persisting Your Application Using Files 258 Application Data 259 Saving Application Data 260 Java Serialization: Persisting Object Graphs 263 Key Classes 264 Serializing Your Objects 264 Giving Your Application a Time-based License Using 270 Serialization 270 Tying Your Serialization Components into the Application 274 Extending and Customizing Serialization 278 When to Use Java Serialization 282 Java Beans Long-Term Serialization: 283 XMLEncoder/Decoder 283 Design Differences 283 Key Classes 285 Serializing Your Java Beans 286 Possible Customization 289 When to Use XMLEncoder/Decoder 290 XML Schema-Based Serialization: 291 Java API for XML Binding (JAXB) 291 Sample XML Document for Your Configuration Object 292 Defining Your XML Format with an XML Schema 294 Generating JAXB Java Classes from Your Schema 298 JAXB API Key Classes 304 Marshalling and Unmarshalling XML Data 304 Using JAXB-Generated Classes in Your Application 306 When to Use JAXB 313 Future Direction of JAXB 2.0 314 Summary 314 Persisting Your Application Using Databases 316 JDBC API Overview 316 Setting Up Your Environment 318 JDBC API Usage in the Real World 318 Understanding the Two-Tier Model 318 Understanding the Three-Tier Model 319 Grasping JDBC API Concepts 320 Managing Connections 321 Understanding Statements 322 Utilizing Result Sets 333 Examining JDBC Advanced Concepts 337 Managing Database Meta Data 337 Utilizing RowSets 343 Connection Pooling 345 Managing Transactions 345 Object to Relational Mapping 347 with Hibernate 347 Exploring Hibernate’s Architecture 347 Developing with Hibernate 350 Summary 362 Developing Web Applications Using the Model 1 Architecture 364 What Is Model 1? Why Use It? 364 JSP 2.0 Overview 366 Integrated Expression Language (EL) 374 JSTL 1.1 Overview 375 Developing Your Web Application Visualizations with JSTL 379 Developing Your Web Application Visualizations 385 with JSP 2.0 385 Summary 399 Developing Web Applications Using the Model 2 Architecture 400 The Problem 400 What Is Model 2? 400 Why Use Model 2? 402 Developing an Application with WebWork 403 What Is Inversion of Control and Why Is It Useful? 404 Architecture 406 Extending the Framework to Support Hibernate 409 Defining Your Domain Model 413 Implementing Your Use Cases with Actions 419 Developing Your Views 422 Configuring Your Application 429 Adapting to Changes 432 Summary 434 Interacting with C/C++ Using Java Native Interface 436 A First Look at Java Native Interface 436 Creating the Java Code 437 Creating the Native Code and Library 438 Executing the Code 440 Java Native Interface 441 Data Types 441 Strings in JNI 441 Arrays in JNI 445 Working with Java Objects in C/C++ 451 Handling Java Exceptions in Native Code 458 Working with Object References in Native Code 460 Advanced Programming Using JNI 464 Developing an E-Mail Client 469 System Design 469 User Interface 470 Summary 479 Communicating between Java Components with RMI and EJB 480 Remote Method Invocation 480 Exploring RMI’s Architecture 481 Developing RMI Applications 483 Examining Remote Object Activations 484 RMIChat Example 488 Enterprise JavaBeans 500 EJB Basics 500 Types of EJBs 501 Examining EJB Containers 502 EJB Loan Calculator Example 503 Summary 510 Communicating between Java Components and Components of Other Platforms 512 Component Communication Scenarios 513 News Reader: Automated Web Browsing 513 A Bank Application: An EJB/J2EE Client 513 A Portal: Integrating Heterogeneous Data Sources and 513 Services 513 Overview of Interprocess Communication 514 and Basic Network Architecture 514 Sockets 515 The Java Socket API 516 Implementing a Protocol 522 Remote Method Invocation 535 Core RPC/RMI Principles 535 Distributed Objects 539 Common Object Request Broker Architecture 540 CORBA Basics 541 RMI-IIOP: Making RMI Compatible with CORBA 545 When to Use CORBA 547 Distributed File System Notifications: 548 An Example CORBA System 548 Web Services 557 Evolution of the World Wide Web 558 Platform Independent RPC 561 Summary 576 Distributed Processing with JMS and JMX 578 Basic Concepts 579 JMS Fundamentals 579 JMX Fundamentals 583 Building a Distributed Application 586 Deciding on the Message Type 587 Understanding the Three-Component Architecture 588 Creating a Component to Process JMS Messages 588 Creating a Component that Directs Messages through the 599 Business Process 599 Creating a Component to Divide Large 601 Tasks for Parallel Processing 601 Deploying the Application 608 Basic Deployment 608 Advanced Deployment 613 Summary 616 Java Security 618 Java Cryptography Architecture and Java 618 Cryptography Extension (JCA/JCE) 618 JCA Design and Architecture 619 Java Cryptography Extension 637 Program Security Using JAAS 647 User Identification 647 Executing Code with Security Checks 648 Authorization 652 Summary 653 Packaging and Deploying Your Java Applications 654 Examining Java CLASSPATHs 654 Investigating the Endorsed Directory 659 Exploring Java Archives 660 Manipulating JAR files 660 Examining the Basic Manifest File 663 Examining Applets and JARs 664 Signing JAR Files 665 Examining the JAR Index Option 669 Creating an Executable JAR 670 Analyzing Applets 671 Basic Anatomy of an Applet 671 Packaging an Applet for Execution 673 Examining Applet Security 674 Exploring Web Applications 674 Examining the WAR Directory Structure 675 Understanding the WAR Deployment Descriptor 675 Packaging Enterprise Java Beans 678 Inspecting Enterprise Archives 679 The EAR Descriptor File 679 Deployment Scenario 680 Jumping into Java Web Start 682 Examining the TicTacToe Example 682 Summarizing Java Web Start 689 Using ANT with Web Archives 689 Installing ANT 689 Building Projects with ANT 690 Summary 694 References 696 SYMBOLS 698 A 698 B Call[Type]MethodA() 700 D 704 E 705 F 707 G 708 I 711 L 717 M 717 N 719 P 720 R 722 T 727 U 728 X 730 Licenses 736 Apache License 736 GNU LESSER GENERAL PUBLIC LICENSE 739 The OpenSymphony Software License, Version 1.1 747 Index 698 Cover......Page 1 Contents......Page 16 Introduction......Page 28 New Language Features......Page 36 Generics......Page 37 Enhanced for Loop......Page 42 Variable Arguments......Page 44 Boxing/Unboxing Conversions......Page 46 Static Imports......Page 48 Enumerations......Page 50 Meta data......Page 52 Java Logging......Page 61 Java Preferences......Page 98 Summary......Page 106 Tools and Techniques for Developing Java Solutions......Page 108 Principles of Quality Software Development......Page 109 Be Agile......Page 110 Trace Your Actions to Need......Page 111 Think of Code as a Design, not a Product......Page 112 Manage Your Configuration......Page 113 Maintaining Short Iterations......Page 114 Measure What You Accomplished— Indirectly......Page 115 Track Your Issues......Page 116 Waterfall Methodology......Page 117 Unified Process......Page 118 eXtreme Programming......Page 120 Observations on Methodology......Page 121 Ant......Page 122 Maven......Page 130 JUnit......Page 133 XDoclet......Page 136 JMeter......Page 142 Summary......Page 144 Exploiting Patterns in Java......Page 146 Keys to Understanding the Java Programming Language......Page 147 Keys to Developing Effective Java Solutions......Page 148 Creating an Association between Classes......Page 150 Creating an Inheritance Loop......Page 152 Adapter......Page 154 Model-View-Controller......Page 157 Command......Page 165 Strategy......Page 169 Composite......Page 173 Summary......Page 177 Developing Effective User Interfaces with JFC......Page 178 BorderLayout......Page 179 BoxLayout......Page 186 FlowLayout......Page 196 GridLayout......Page 202 GridBagLayout......Page 212 SpringLayout......Page 218 CardLayout......Page 226 JFrame and JDialog Components......Page 232 Applications......Page 249 Summary......Page 256 Persisting Your Application Using Files......Page 258 Application Data......Page 259 Saving Application Data......Page 260 Java Serialization: Persisting Object Graphs......Page 263 Serializing Your Objects......Page 264 Serialization......Page 270 Tying Your Serialization Components into the Application......Page 274 Extending and Customizing Serialization......Page 278 When to Use Java Serialization......Page 282 Design Differences......Page 283 Key Classes......Page 285 Serializing Your Java Beans......Page 286 Possible Customization......Page 289 When to Use XMLEncoder/Decoder......Page 290 Java API for XML Binding (JAXB)......Page 291 Sample XML Document for Your Configuration Object......Page 292 Defining Your XML Format with an XML Schema......Page 294 Generating JAXB Java Classes from Your Schema......Page 298 Marshalling and Unmarshalling XML Data......Page 304 Using JAXB-Generated Classes in Your Application......Page 306 When to Use JAXB......Page 313 Summary......Page 314 JDBC API Overview......Page 316 Understanding the Two-Tier Model......Page 318 Understanding the Three-Tier Model......Page 319 Grasping JDBC API Concepts......Page 320 Managing Connections......Page 321 Understanding Statements......Page 322 Utilizing Result Sets......Page 333 Managing Database Meta Data......Page 337 Utilizing RowSets......Page 343 Managing Transactions......Page 345 Exploring Hibernate’s Architecture......Page 347 Developing with Hibernate......Page 350 Summary......Page 362 What Is Model 1? Why Use It?......Page 364 JSP 2.0 Overview......Page 366 Integrated Expression Language (EL)......Page 374 JSTL 1.1 Overview......Page 375 Developing Your Web Application Visualizations with JSTL......Page 379 with JSP 2.0......Page 385 Summary......Page 399 What Is Model 2?......Page 400 Why Use Model 2?......Page 402 Developing an Application with WebWork......Page 403 What Is Inversion of Control and Why Is It Useful?......Page 404 Architecture......Page 406 Extending the Framework to Support Hibernate......Page 409 Defining Your Domain Model......Page 413 Implementing Your Use Cases with Actions......Page 419 Developing Your Views......Page 422 Configuring Your Application......Page 429 Adapting to Changes......Page 432 Summary......Page 434 A First Look at Java Native Interface......Page 436 Creating the Java Code......Page 437 Creating the Native Code and Library......Page 438 Executing the Code......Page 440 Strings in JNI......Page 441 Arrays in JNI......Page 445 Working with Java Objects in C/C++......Page 451 Handling Java Exceptions in Native Code......Page 458 Working with Object References in Native Code......Page 460 Advanced Programming Using JNI......Page 464 System Design......Page 469 User Interface......Page 470 Summary......Page 479 Remote Method Invocation......Page 480 Exploring RMI’s Architecture......Page 481 Developing RMI Applications......Page 483 Examining Remote Object Activations......Page 484 RMIChat Example......Page 488 EJB Basics......Page 500 Types of EJBs......Page 501 Examining EJB Containers......Page 502 EJB Loan Calculator Example......Page 503 Summary......Page 510 Communicating between Java Components and Components of Other Platforms......Page 512 Services......Page 513 and Basic Network Architecture......Page 514 Sockets......Page 515 The Java Socket API......Page 516 Implementing a Protocol......Page 522 Core RPC/RMI Principles......Page 535 Distributed Objects......Page 539 Common Object Request Broker Architecture......Page 540 CORBA Basics......Page 541 RMI-IIOP: Making RMI Compatible with CORBA......Page 545 When to Use CORBA......Page 547 An Example CORBA System......Page 548 Web Services......Page 557 Evolution of the World Wide Web......Page 558 Platform Independent RPC......Page 561 Summary......Page 576 Distributed Processing with JMS and JMX......Page 578 JMS Fundamentals......Page 579 JMX Fundamentals......Page 583 Building a Distributed Application......Page 586 Deciding on the Message Type......Page 587 Creating a Component to Process JMS Messages......Page 588 Business Process......Page 599 Tasks for Parallel Processing......Page 601 Basic Deployment......Page 608 Advanced Deployment......Page 613 Summary......Page 616 Cryptography Extension (JCA/JCE)......Page 618 JCA Design and Architecture......Page 619 Java Cryptography Extension......Page 637 User Identification......Page 647 Executing Code with Security Checks......Page 648 Authorization......Page 652 Summary......Page 653 Examining Java CLASSPATHs......Page 654 Investigating the Endorsed Directory......Page 659 Manipulating JAR files......Page 660 Examining the Basic Manifest File......Page 663 Examining Applets and JARs......Page 664 Signing JAR Files......Page 665 Examining the JAR Index Option......Page 669 Creating an Executable JAR......Page 670 Basic Anatomy of an Applet......Page 671 Packaging an Applet for Execution......Page 673 Exploring Web Applications......Page 674 Understanding the WAR Deployment Descriptor......Page 675 Packaging Enterprise Java Beans......Page 678 The EAR Descriptor File......Page 679 Deployment Scenario......Page 680 Examining the TicTacToe Example......Page 682 Installing ANT......Page 689 Building Projects with ANT......Page 690 Summary......Page 694 References......Page 696 Index......Page 698 B Call[Type]MethodA()......Page 700 D......Page 704 E......Page 705 F......Page 707 G......Page 708 I......Page 711 M......Page 717 N......Page 719 P......Page 720 R......Page 722 T......Page 727 U......Page 728 X......Page 730 Apache License......Page 736 GNU LESSER GENERAL PUBLIC LICENSE......Page 739 The OpenSymphony Software License, Version 1.1......Page 747

java Continues To Be The Dominant Language For Building Server Applications, And The Latest Update To The Java Platform—jdk 5—boasts Many New Features, Including A Metadata Facility, Generics, Autoboxing, And Improved User Interface Performance. Building Upon Ivor Horton's Beginning Java, This Book Provides Insight Into These Sophisticated Features Of Jdk 5 And Shows You How To Master The More Advanced Aspects Of This Evolving And Complex Language.

beginning With An Overview Of The Best Tools And Techniques For Developing Java Applications, The Expert Author Team Then Discusses How To Use Java To Develop Software Solutions For Common Challenges. Several Real-world Examples Provide You With A Well-rounded Survey Of The Professional Java Development Landscape, Which Will Help You Master Both The Core Java Language As Well As The Intricacies Of Jdk 5.

what You Will Learn From This Book

  • when To Use Java Open Source Tools Such As Ant And Junit
  • techniques To Implement, Save, And Restore Functionality To Your Applications
  • how To Interact With Other Language Libraries Using Java Native Interface
  • ways To Communicate Between Java Components
  • methods To Secure And Deploy Your Java Applications
  • how To Produce A Configurable Process Architecture
  • how To Exploit Common Patterns In Java

who This Book Is For

this Book Is For Java Developers Who Are Looking For An All-purpose Resource, Are Ready For More Advanced Java Solutions And Language Features, And Need A Bit Of Assistance When Tackling New Java Problems That May Be Outside Their Technological Experience.

"This book is for Java developers who are looking for an all-purpose resource, are ready for more advanced Java solutions and language features, and need a bit of assistance when tackling new Java problems that may be outside their technological experience."--BOOK JACKET

قیمت نهایی

۴۹٬۰۰۰ تومان