W. Clay Richardson, Donald Avondolio, Joe Vitale, Scot Schrager, Mark W. Mitchell, Jeff Scanlon9780764574863, 0764574868
Table of contents :
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
Reviews
There are no reviews yet.