Cover image for J2EE : the complete reference
Title:
J2EE : the complete reference
Author:
Keogh, James.
Personal Author:
Publication Information:
Berkeley, Calif. : McGraw Hill/Osborne, [2002]

©2002
Physical Description:
xxvii, 874 pages : illustrations ; 24 cm
Language:
English
ISBN:
9780072224726
Format :
Book

Available:*

Library
Call Number
Material Type
Home Location
Status
Item Holds
Searching...
QA76.73.J38 K46 2002 Adult Non-Fiction Central Closed Stacks
Searching...

On Order

Summary

Summary

Organized by component type, this title offers guidance on the market and addresses J2EE's collection of APIs. It contains J2EE best practices; and, coverage of Java databases, Java interconnectivity, and Web services.


Table of Contents

Acknowledgmentsp. xxiii
Introductionp. xxv
Part I J2EE Basics
1 Java 2 Enterprise Edition Overviewp. 3
The ABC of Programming Languagesp. 4
Taking Programming Languages Up a Notchp. 7
The Beginning of Javap. 8
Java Bytecodep. 11
The Advantages of Javap. 12
J2EE and J2SEp. 15
Looking Forwardp. 21
2 J2EE Multi-Tier Architecturep. 23
Distributive Systemsp. 24
The Tierp. 27
J2EE Multi-Tier Architecturep. 30
Client Tier Implementationp. 32
Web Tier Implementationp. 34
Enterprise JavaBeans Tier Implementationp. 35
Enterprise Information Systems Tier Implementationp. 36
Challengesp. 37
3 J2EE Best Practicesp. 39
Enterprise Application Strategyp. 40
The Enterprise Applicationp. 42
Clientsp. 43
Sessions Managementp. 50
Web Tier and JavaServer Pagesp. 54
Enterprise JavaBeans Tierp. 58
The Myth of Using Inheritancep. 62
Maintainable Classesp. 65
Performance Enhancementsp. 66
The Power of Interfacesp. 67
The Power of Threadsp. 68
The Power of Notificationp. 70
4 J2EE Design Patterns and Frameworksp. 73
The Pattern Conceptp. 74
Pattern Catalogp. 75
Part II J2EE Databases
5 J2EE Database Conceptsp. 97
Datap. 98
Databasep. 98
Database Schemap. 99
The Art of Indexingp. 116
6 JDBC Objectsp. 123
The Concept of JDBCp. 124
JDBC Driver Typesp. 125
JDBC Packagesp. 126
A Brief Overview of the JDBC Processp. 126
Database Connectionp. 130
Associating the JDBC/ODBC Bridge with the Databasep. 133
Statement Objectsp. 135
ResultSetp. 141
Transaction Processingp. 151
Metadatap. 157
Data Typesp. 158
Exceptionsp. 160
Quick Reference Guidep. 160
7 JDBC and Embedded SQLp. 183
Model Programsp. 184
Tablesp. 189
Indexingp. 192
Inserting Data into Tablesp. 195
Selecting Data from a Tablep. 197
Metadatap. 212
Updating Tablesp. 214
Deleting Data from a Tablep. 220
Joining Tablesp. 221
Calculating Datap. 234
Grouping and Ordering Datap. 241
Subqueriesp. 249
VIEWp. 255
Part III J2EE Foundation
8 HTML, XML, and XHTMLp. 265
HTMLp. 266
XMLp. 283
XHTMLp. 314
9 Java and XMLp. 315
Generating an XML Documentp. 316
Parsing XMLp. 319
Quick Reference Guidep. 330
10 Java servletsp. 347
Java servlets and Common Gateway Interface Programmingp. 348
A Simple Java servletp. 350
Anatomy of a Java servletp. 352
Reading Data from a Clientp. 354
Reading HTTP Request Headersp. 355
Sending Data to a Client and Writing the HTTP Response Headerp. 359
Working with Cookiesp. 364
Tracking Sessionsp. 367
Quick Reference Guidep. 369
11 Java ServerPagesp. 379
JSPp. 380
JSP Tagsp. 381
Tomcatp. 389
Request Stringp. 390
User Sessionsp. 392
Cookiesp. 392
Session Objectsp. 394
Quick Reference Guidep. 396
12 Enterprise JavaBeansp. 405
Enterprise JavaBeansp. 406
Deployment Descriptorsp. 409
Session Java Beanp. 431
Entity Java Beanp. 434
Message-Driven Beanp. 440
The JAR Filep. 443
Quick Reference Guidep. 444
Part IV J2EE Interconnectivity
13 JavaMail APIp. 449
JavaMailp. 450
Protocolsp. 451
Exceptionsp. 451
Send Email Messagep. 452
Retrieving Email Messagesp. 453
Deleting Email Messagesp. 455
Replying to and Forwarding an Email Messagep. 456
Forwarding an Email Messagep. 458
Receiving Attachmentsp. 462
Searching an Email Folderp. 463
Quick Reference Guidep. 464
14 Java Interface Definition Language and CORBAp. 477
The Concept of Object Request Brokeragep. 478
Java IDL and CORBAp. 478
The IDL Interfacep. 479
The Client Sidep. 480
The Server Sidep. 482
Running the Codep. 484
15 Java Remote Method Invocationp. 485
Remote Method Invocation Conceptp. 486
Server Sidep. 487
Client Sidep. 489
Quick Reference Guidep. 491
16 Java Message Servicep. 497
Messaging Servicep. 498
Java Messaging Servicep. 499
JMS Fundamentalsp. 499
Components of a JMS Programp. 500
Messagesp. 506
Message Selectorp. 508
Sending Messages to a Queuep. 509
Receiving Messages from a Queuep. 511
Compiling and Running Queue Programsp. 512
Creating a Publisherp. 514
Creating a Subscriberp. 516
Compiling and Running the Publisher and Subscriberp. 518
Quick Reference Guidep. 520
17 Securityp. 525
J2EE Security Conceptsp. 526
JVM Securityp. 527
Security Managementp. 527
Java API Securityp. 528
Browser Securityp. 529
Web Services Securityp. 529
Quick Reference Guidep. 532
18 Java Naming and Directory Interface APIp. 553
Naming and Directoriesp. 554
Java Naming and Directory Interfacep. 555
Naming Operationsp. 558
Quick Reference Guidep. 564
Part V Web Services
19 SOAPp. 575
SOAP Basicsp. 576
Java API for XML Messagingp. 578
Create, Send, and Receive a Point-to-Point SOAP Messagep. 580
Create and Send a SOAP Message Using a Messaging Providerp. 582
Creating a SOAP Attachmentp. 585
Quick Reference Guidep. 586
20 Universal Description, Discovery, and Integration (UDDI)p. 597
Inside the Universal Description, Discovery, and Integrationp. 598
UDDI Application Programming Interfacep. 602
Inquiry Application Programming Interfacep. 602
Publishing Application Programming Interfacep. 614
21 Electronic Business XMLp. 625
Electronic Data Interchangep. 626
Electronic Business XMLp. 627
The Technology of ebXMLp. 629
The Inner Workings of ebXMLp. 631
Quick Reference Guidep. 644
22 The Java API for XML Registries (JAXR)p. 653
Inside JAXRp. 654
JAXR Clientp. 654
Publishing a Service to an XML Registryp. 660
Removing a Published Service from an XML Registryp. 666
Quick Reference Guidep. 672
23 Web Services Description Language (WSDL)p. 683
Inside WSDLp. 684
WSDL and SOAPp. 691
WSDL and HTTP Bindingp. 696
WSDL and MIME Bindingp. 699
Part VI Appendixes
A HTTP Referencesp. 703
HTTP Request Headersp. 704
MIME Typesp. 704
HTTP 1.1 Status Codesp. 706
HTTP 1.1 Response Headersp. 708
Java Servlet Requestp. 710
B Cookie Referencesp. 713
Cookie Attributesp. 714
Java Cookiep. 714
C Enterprise JavaBeans Referencesp. 717
Enterprise JavaBeans Subelements for the [left angle bracket]ejb-jar[right angle bracket] Elementp. 718
Enterprise JavaBeans Subelements for [left angle bracket]session[right angle bracket] and [left angle bracket]entity[right angle bracket] Subelementsp. 719
Enterprise JavaBeans Subelements for [left angle bracket]session[right angle bracket], [left angle bracket]entity[right angle bracket] sub?- [left angle bracket]message-driven[right angle bracket] Elementsp. 721
Enterprise JavaBeans Subelements for [left angle bracket]session[right angle bracket], [left angle bracket]entity[right angle bracket] Subelements for the [left angle bracket]message-driven[right angle bracket] Element Transactionp. 723
Enterprise JavaBeans Session Beanp. 723
Enterprise JavaBeans Entity Beanp. 724
Enterprise JavaBeans Message-Driven Beanp. 725
Enterprise JavaBeans Homep. 725
Enterprise JavaBeans Metadatap. 725
D JavaMail Referencesp. 727
JavaMail 1.3 Specificationsp. 728
JavaMail Multipart Data Sourcep. 729
JavaMail Partp. 730
JavaMail MIME Body Partp. 731
JavaMail MIME Messagep. 734
JavaMail MIME Multipartp. 739
JavaMail Searchp. 739
E Java Interface Definition Language and CORBAp. 743
Mapping IDL to Javap. 744
F Java Remote Method Invocationp. 745
Java Remote Method Invocation Namingp. 746
Java Remote Method Invocation Registryp. 747
Java Remote Method Invocation Locate Registryp. 747
Java Remote Method Invocation Remote Referencingp. 748
Java Remote Method Invocation Client Socketsp. 748
Java Remote Method Invocation Failure Handlerp. 748
Java Remote Method Invocation Server Socketsp. 749
Java Remote Method Invocation Server Referencesp. 749
Java Remote Method Invocation Remote Objectp. 749
Java Remote Method Invocation Remote Serverp. 750
Java Remote Method Invocation Class Loaderp. 750
Java Remote Method Invocation Socketsp. 751
G Java Message Servicep. 753
Java Message Service Messagep. 754
Java Message Service Queuep. 756
Java Message Service Queue Senderp. 757
Java Message Service Topic Publisherp. 757
Java Message Service Topic Subscriberp. 758
H Java Securityp. 759
Java Security Domain Combinerp. 760
Java Security Guardp. 761
Java Security Keyp. 761
Java Security Principalp. 767
Java Security Privilegep. 767
Java Security Access Controlp. 768
Java Security Algorithm Parameterp. 769
Java Security Permissionsp. 772
Java Security Code Sourcep. 775
Java Security Streamsp. 775
Java Security Messagep. 776
Java Security Domain Protectionp. 778
Java Security Providerp. 778
Java Security Secure Class Loaderp. 779
Java Security Randomizerp. 779
Java Security Signaturep. 780
I Java Naming and Directory Interfacep. 783
Java Naming and Directory Contextp. 784
Java Naming and Directory Namingp. 786
Java Naming and Directory Attributesp. 787
Java Naming and Directory Directory Contextp. 789
J Simple Object Access Protocolp. 793
Simple Object Access Protocol Detailp. 794
Simple Object Access Protocol Namep. 795
Simple Object Access Protocol Nodep. 795
Simple Object Access Protocol Bodyp. 796
Simple Object Access Protocol Constantsp. 796
Simple Object Access Protocol Elementp. 797
Simple Object Access Protocol Envelopep. 798
Simple Object Access Protocol Faultp. 799
Simple Object Access Protocol Headerp. 800
Simple Object Access Protocol Textp. 800
Simple Object Access Protocol Attachmentp. 801
Simple Object Access Protocol Messagep. 802
Simple Object Access Protocol MIME Headerp. 804
Simple Object Access Protocol Connectionp. 805
Simple Object Access Protocol Partp. 805
K Universal Description, Discovery, and Integrationp. 807
Universal Description, Discovery, and Integration SOAP Errorsp. 808
Universal Description, Discovery, and Integration Search Qualifier Valuesp. 810
Universal Description, Discovery, and Integration Response Messagesp. 811
Universal Description, Discovery, and Integration Values for the completionStatus Argumentp. 813
L Electronic Business XMLp. 815
Electronic Business XML Business Processes Element and UML Class Conversion Table
Electronic Business XML Business Process Elementsp. 817
M The Java API for XML Registriesp. 823
Java API for XML Registries Public XML Registriesp. 824
Java API for XML Registries Responsesp. 824
Java API for XML Registries Business Life Cycle Managerp. 825
Java API for XML Registries Queryp. 828
Java API for XML Registries Profilep. 831
Java API for XML Registries Cataloguep. 832
Java API for XML Registries Connectionp. 832
Java API for XML Registries Responsep. 833
Java API for XML Registries Servicep. 833
Indexp. 835