Copyrighted Material
Total Page:16
File Type:pdf, Size:1020Kb
20_777106 bindex.qxp 11/28/06 10:49 PM Page 715 Index Index SYMBOLS AND A abstraction, 126 NUMERICS access 2-byte Unicode strings, 433 to databases, 311 200 (HTTP response code), 532 to fields, 442–445 403 (HTTP response code), 532 in JNI, 442–445 404 (HTTP response code), 532 access control, 585–586 500 (HTTP response code), 532 accessor methods, 104 @AroundInvoke annotation, 481, 484 Action classes. See also specific types, e.g.: XWork @AttributeOverride annotation, 490 Action @Column annotation, 479 IoC and, 401 @deprecated annotation, 27 in WebWork, 399 @Discriminator annotation, 488 of XWork, 399, 412–415 @EJB annotation, 490 ActionListener interface, 163, 205, 217–218 @Entity annotation, 487 actionPerformed method, 163, 205, 213 @Id annotation, 478 Adapter pattern @Interceptors annotation, 481 using, 126 @MappedSuperclass annotation, 489 Adaptee interface in, 133 @OneToMany annotation, 478 Adapter interface in, 133 @overrides annotation, 27 Client interface in, 132 @PersistenceContext annotation, 487 discussed, 131–132 @PersistenceContexts annotation, 487 Target interface in, 132 @PersistenceUnit annotation, 487 addActionListener method, 205 @PersistenceUnits COPYRIGHTED MATERIAL annotation, 487 addFolder method, 466 @Remote annotation, 483 adding data @Resource annotation, 380–381 in EJB database, 476, 477 @Stateless annotation, 497 in EntityManager API, 477–478 @TransactionAtrribute marking, 508 in Hibernate, 412 @TransactionManagement annotation, 508 to Model 2 system, 417–419 @Transient annotation, 512 web application visualization for, 416 XWork Action for, 413–414 20_777106 bindex.qxp 11/28/06 10:49 PM Page 716 addMouseListener method addMouseListener method, 183 AnnotationValue method, 29, 30 addTableData method, 185 Ant (Apache) addTree method, 185 development scenarios with, 94–101 AdjustmentListener, 234 discussed, 93–94, 125 advanced programming, 455–460 Hibernate build file for, 408–409 Agent layer, 601 installing, 709–710 Aggregate, 621 in JMeter, 118 agility, 81–82 Maven 2 and, 106 AJAX (Asynchronous JavaScript and XML), 381–384 project building with, 710–713 AJAXTags library, 382–384 TestNG and, 108, 109 algorithm(s) Web ARchive use with, 709–713 in JCA, 640–641 Apache Ant. See Ant management of, 640–641 Apache Axis, 538 algorithm method, 635 Apache Derby. See Derby AlgorithmParameter object, 640 Apache TCPMon. See TCPMon AlgorithmParameterGenerator engine class, API (Application Program Interface). See also specific 627, 640, 641 types, e.g.: Java API for XML Binding AlgorithmParameterSpec interface, 640 for Hibernate, 340–341 ALL logging level, 38 in Java programming, 124 Ambler, Scott, 81 for Service Oriented Architecture, 600 AnnotatedElement interface, 31–32 applet(s) annotation(s) discussed, 691–692 @deprecated, 27 in JAR, 685 @overrides, 27 packaging, for execution, 693–694 custom, 27 security analysis for, 694 defined, 26 structure of, 692–693 discussed, 292 APPLET tags, 693 doclet API for, 28–29 appletviewer command, 693 functions of, 292–293 Application Component, 401 for Java classes, 290–292 application data in JDBC 4.0, 333–334 for configuration, 239–241 in metadata, 26–27 discussed, 237–239 in Query interface, 333 saving, 239 for resource injection in EJB, 487 application development (Model 2), 396 at runtime, 31 Application Program Interface (API). See also specific source-level, 27 types, e.g.: Java API for XML Binding usage of, 293–295 for Hibernate, 340–341 XML schema and, 301–302 in Java programming, 124 XmlAccessorType, 296–297 for Service Oriented Architecture, 600 XmlAttribute, 297 applicationScope implicit object, 366 XmlElement, 297 @AroundInvoke annotation, 481, 484 XmlElementWrapper, 297–298 array(s) XmlJavaTypeAdapter, 298–300 functions of, 437–442 XmlRootElement, 295 of generic types, 14 XmlTransient, 300–301 in JNI, 436–442 XmlType, 295–296 length property of, 18 AnnotationDesc.ElementValuePair method, 29 native code for, 438, 440 AnnotationTypeDoc method, 29 of objects, 436, 437 AnnotationTypeElementDoc method, 29 716 20_777106 bindex.qxp 11/28/06 10:49 PM Page 717 canImport method Index of primitive types, 436, 437–442 binding, 568 usage of, 436–437 body (SOAP), 570 ArrayList class, 7, 8 BorderFactory class, 186 assertions, in JMeter, 119 BorderLayout manager, 158–164 assignment conversion, 21 BorderLayoutPanel, 159–160 asterisk, 60, 61 bound type parameters, 12–13, 299 ASyncHandler, 583 boundary meta-characters, 62–63 asynchronous invocation, 581, 583–584 bounded type variables, 12–14 Asynchronous JavaScript and XML (AJAX), 381–384 bounds, 12–13 @AttributeOverride annotation, 490 boxing conversions authentication context for, 21 checks for, 668 defined, 7, 19 on client, 588–589 discussed, 19–20 codes for, 665 with generics, 21 configuration for, 670 BoxLayout manager, 164–172 credentials for, 669 browsing data defined, 666 in Hibernate, 412 execution of, 668 in Model 2 system, 416, 419–422 HTTP, 586–588, 588–589 web application visualization for, 416 in JCE, 665–673, 667–672 XWork Action for, 412–413 LoginContext for, 671–672 Buest, Cedric, 106 of messages, 665–666 buf byte array, 629 principals in, 668–669 buffers, direct byte, 456 with security checks, 668 bugs (defect), 80, 87–88 on server, 586–588 building, with design patterns, 127–131 of subject, 670 building process, 84 of user identity, 667 bundling, resource, 44 authorization business tier (J2EE), 93 defined, 666 ButtonGroup component, 161 in JCE, 672–673 buttonPanel, 226–227 autocommitting, 5 ButtonText variable, 160 Axis (Apache), 538 bytecode, 7, 8 bytes array, 641 B back-end C passing data to, 494–495 C (programming language) queries in, 505 data types, 432 bank applications Java objects in, 442–449 communication for, 520 strings in, 432 EJBs for, 520 variable arguments in, 18 Java EE for, 520 Call Level Interface, X/Open SQL (CLI), 312 Basic Profile (WS-I), 567–568 Call method, 448 batch updates callable statements (JDBC 4.0), 318, 324–326 using PreparedStatement, 327–328 CallMethod functions, 445–447 using Statement object, 326–327 CallNonVirtual functions, 447, 448 using statements, 326–328 CallNonVirtual method, 448 BatchUpdateException, 326–327 CallNonVirtualVoid function, 449 bean classes, 482 CallVoidMethod, 448, 449, 470 Beck, Kent, 91 canImport method, 221–222 717 20_777106 bindex.qxp 11/28/06 10:49 PM Page 718 Canonicalization class Canonicalization class, 644–645 classpaths, 675–680 CardLayout manager, 202–207 clazz, 457 Cartesian join, 353 clean target, 111–112 cascade property, 350 clearFolderList method, 466 case implementation, 412–415 cleartext (plaintext), 656 CDO (Collaborative Data Objects), 460 CLI (X/Open SQL Call Level Interface), 312 CenterPanel, 138 client certificate(s) HTTP authentication on, 588–589 for digital signature verification, 632 for JMS, 613–614 in JCA, 654–656 for MBeans, 607–609 management of, 654–656 remote, 607–609 trusted, 638 for Web Services, 580–589 type parameters for, 656 writing, 580–589 certificate path, 654 client layer Certificate Revocation List (CRL), 626, 654, 656 in three-tier model, 314 CertificateFactory engine class, 627, 654–655 in two-tier model, 313 CertPathBuilder engine class, 627, 655 client programming, 524–525 CertPathValidator engine class, 627, 654, 655 client tier (J2EE), 93 CertStore engine class closing, result sets, 332 defined, 627 CloudScape, 3 discussed, 654–656 CMP (Container-Managed Persistence), 496–497 Chain of Responsibility pattern, 173–175, 177 CMT. See under Contact Management Tool ChainingInterceptor, 400 code(s) ChangeListener, 135 for authentication, 665 character classes executing, 431–432 in meta-characters, 63 Java, 428–429 in regular expressions, 63 for JNI, 428–429, 431–432 checkall function, 386, 389 code phase (Waterfall methodology), 88 checks, authentication, 668 code reuse ChildLogger, 58, 60 in JSP 2.0, 361–362 cipher, 656 with .tag files, 361–362 Cipher engine class with .tagx files, 361–362 data encryption/decryption with, 658 CodeTag annotation, 27 in JCE, 656–665 coding key wrapping/unwrapping in, 658–662 in Extreme Programming, 91 sealing objects in, 663–665 during software development, 83 CipherInputStream class, 659–662 cohesion, high, 126 CipherOutputStream class, 659–662 Collaborative Data Objects (CDO), 460 CLASS policy, 26 collection classes, 7 ClassCircularityError, 459 collection mapping, 348–350 classes CollectTask,96 defining, 407–408 color definition, 274, 300 in generics, 14 Colors enum,24 in Hibernate, 407–408 @Column annotation, 479 in Java Serialization API, 242–243 Command interface, 142–143, 162, 164, 211–213 JAXB, 280–281 Command pattern, 142–146, 190, 203 for XML Digital Signatures, 643–645 CommandManager interface, 142, 143 ClassFormatError, 459 Common Object Request Broker Architecture (CORBA) Class.forName method, 676–677 using, 553–554 classes in, 558 718 20_777106 bindex.qxp 11/28/06 10:49 PM Page 719 coupling, low Index for communication, 547–563 config target, 116 COS Naming for, 550–551 configuration discussed, 547–548 application data for, 239–241 for distributed file system notifications (example), for authentication, 670 554–563 in Hibernate, 339–340, 409–410 IDL of, 548–550 of Hibernate, 409–410 Internet InterORB Protocol for, 551 internal data changes in, 266–268 in JDK, 547 in JMeter, 119 Object Request Broker in, 550 loading, 248–249 RMI compatibility with, 551 management of, 84–85 RMI-IIOP for, 551–553 in Model 2 architecture, 422–424 Common Object Service (COS) Naming, 550–551, reading, from disk, 246 559–560 saving, 248 communication verification and validation for,