J2EE: The complete Reference is a comprehensive and best selling guidebook to understand and work with the J2EE platform. Authored by James Keogh, the book assists in the practice and theoretical requirements of amateur and professional programmers alike.
The book has sections covering all of the commercially important applications of J2EE. It begins with explaining the J2EE architecture, its databasing, and Web services. The book lists down best practices for working with JSPs, EJBs, JDBCs, and Java Servlets, listing down ways to build components using these tools. Moreover, it also has the important section on implementing Java Server API and the Java Message Service, helping the reader to assimilate and take advantage of J2EE’s security features. It also has a section on implementing WSDL, or the Web Service Description Language. It is recommended for developers related to both Web and direct J2EE applications, and is a state-of-the-art guide, widely read and used in the industry.
Published by McGraw Hill Education in 2002, J2EE: The complete Reference is available as a 928 page paperback.
Key Features:
It is an essential book to study and master J2EE as a web building platform, ideal for all levels of skills.
It is the most complete guide for J2EE in the market, with a time tested record of accuracy, comprehension, and authenticity.
Author(s): Jim Keogh
Edition: 1
Publisher: Tata McGraw-Hill Education
Year: 2002
Language: English
Pages: 865
Tags: Java, J2ee, complete reference, jim keogh
Table of Contents
PART I - J2EE Basics
Chapter 1 - Java 2 Enterprise Edition Overview
The ABC of Programming Languages
The B and C of Programming Languages
Taking Programming Languages Up a Notch
The Beginning of Java
Java and C++
Java Bytecode
The Advantages of Java
Applets
Built for a Robust Environment
Built-in Reliability
J2EE and J2SE
The Birth of J2EE
Datapases
The Maturing of Java
Java Beans and Java Message Service
Why J2EE
Looking Forward
Chapter 2 - J2EE Multi-Tier Architecture
Distributive Systems
Real-Time Transmission
Software Objects
Web Services
The Tier
Clients, Resources, and Components
Accessing Services
J2EE Multi-Tier Architecture
Client Tier Implementation
Classification of Clients
Web Tier Implementation
Enterprise JavaBeans Tier lmplementation
Enterprise Information Systems Tier Implementation
Challenges
Chapter 3 -J2EE Best Practices
Enterprise Application Strategy
A New Strategy
The Enterprise Application
Clients
Client Presentation
Client Input Validation
Client Control
Duplicate Client Requests
Sessions Management
Client-Side Session State
Server-Side session State
Web Tier and Java server Pages
Presentation and Processing
The Inclusion Strategy
Style Sheets
Simplify Error Handling
Enterprise JavaBeans Tier
Entity to Enterprise JavaBeans Relationship
Efficient Data Exchange
Enterprise Java Beans Performance
Consider Purchasing Enterprise JavaBeans
The Model-View-Controller (MVC
The Myth of Using Inheritance
Interfaces and Inheritance
Composition and Inheritance
Potential Problems with Inheritance
Maintainable Classes
Performance Enhancements
The Power of Interfaces
The Power of Threads
The Power of Notification
Chapter 4 - J2EE Design Patterns and Frameworks
The Pattern Concept
Pattern Catalog
Handle-Fon vard pattern
Translator Pattern
Distributor Pattern
Broadcaster Pattern
Zero Sum Pattern
Status Flag Pattern
Sequencer Pattern
Behavior Separation Pattern
Consolidator Pattern
Simplicity Pattern
Stealth Pattern
PART II - J2EE Databases
Chapter 5 - J2EE Database Concepts
Data
Database
Tables
Database Schema
Identifying Information
Decomposing Attributes to Data
Decomposing by Example
Defining Data
The Art of Choosing a Name
Normalizing Data
The Normalization Process
Grouping Data
Creating Primary Keys
Functional Dependency
Transitive Dependencies
Foreign Key
Referential Integrity
The Art of Indexing
An Index in Motion
Drawbacks Using an Index
Clustered Keys
Derived Keys
Selective Rows
Exact Matches and Partial Matches
Searching for Phonetic Matches
Chapter 6 - JDBC Objects
The Concept of JDBC
JDBC Driver Types
JDBC Packages
A Brief Overview of the JDBC Process
Loading the JDBC Driver
Connect to the DBMS
Create and Execute a SQL Statement
Process Data Returned by the DBMS
Terminate the Connection to the DBMS
Database Connection
The Connection
TimeOut
Associating the JDBC/ODBC Bridge with the Database
Connection Pool
Statement Objects
The Statement Object
PreparedStatement Object
CallableStatement
ResultSet
Reading The ResultSet
Scrollable ResultSet
Updatable ResultSet
Transaction Processing
ResultSet Holdability
RowSets
Auto-Generated keys
Metadata
ResultSet Metadata
Data Types
Exceptions
Quick Reference Guide
Chapter 7 - JDBC and Embedded SQL
Model Programs
Model A Program
Model B Program
Tables
Creating a Table
Dropping a Table
Indexing
Creating an Index
Dropping an Index
Inserting Data into Tables
Inserting a Row
Inserting the Systems Date into a Column
Inserting the System Time into a Column
Inserting a Timestamp into a Column
Selecting Data from a Table
Selecting All Data from a Table
Requesting One Column
Reques ting Multiple Columns
Requesting Rows
Requesting Rows and Columns
AND, OR, and NOT Clauses
Joining Multiple Compound Expressions
Equal and Not Equal Operators
Less Than and Greater Than Operators
Less Than Equal To and Greater Than Equal To
BETWEEN
LIKE
IS NULL Operator
DISTINCT Modifier
IN Modifier
Metadata
Number of Columns in ResultSet
Data Type of a Column
Name of a Column
Column Size
Updating Tables
Updating a Row and Column
Updating Multiple Rows
Deleting Data from a Table
Deleting a Row from a Table
Joining Tables
Joining Two Tables
Parent/ Child Join
Multiple Comparison Join
Multitable Join
Creating a Column Name Qualifier
Creating a Table Alias
Inner and Outer Joins
Calculating Data
Sum
AVG
MIN
MAX
COUNT
Converting All Rows in a Table
Retrieving Multiple Counts
Calculating a Subset of Rows
NULLs and Duplicates
Calculating Without Using Built-In Functions
Grouping and Ordering Data
Group By
Grouping Multiple Columns
Conditional Grouping
Working with NULL Columns
Sorting Data
Sorting Using Derived Data
Subqueries
Creating a Subquery
Conditional Testing
The Existence Test
Membership Test
ANY Test
ALL Test
VIEW
Rules for Using VIEWs
Creating a VIEW
Selecting Columns to Appear in the VIEW
Creating a Horizontal VIEW
Creating a Multitable VIEW
Grouping and Sorting VIEW
Modifying a VIEW
PART III - J2EE Foundation
Chapter 8 - HTML, XML, and XHTML
HTML
Basic Concepts of HTML
The Skeleton of a Web Page
Creating a Form
Tables
XML
Why Use XML
The XML Flow
XML Parsers
Browsers and XML
The Design of an XML Document
Nesting Elements
Processing Instructions
Attributes
Create a Document Type Definition (DTD
Create an XML Schema
Referencing an XML Schema
Create an XSLT
Planning an XML Database Program
Concepts of an XML Database Program
Objectives of an XML Database
Types of XML Database Schemas
XHTML
Chapter 9 - Java and XML
Generating an XML Document
Java Servlet
JavaServer Pages
Parsing XML
Document Object Model (DOM
Simple API for XML (SAX
Quick Reference Guide
Chapter 10 - Java servlets
Java servlets and Common Gateway Interface Programming
Benefits of Using a Java servlet
A Simple Java servlet
Anatomy of a Java servlet
Deployment Descriptor
Reading Data from a Client
Reading HTTP Request Headers
Sending Data to a Client and Writing the HTTP Response Header
Working with Cookies
Tracking Sessions
Quick Reference Guide
Chapter 11 - Java ServerPages
JSP
Installation
JSP Tags
Variables and Objects
Methods
Control Statements
Loops
Tomcat
Request String
Parsing Other Information
User Sessions
Cookies
Session Objects
Quick Reference Guide
Chapter 12 - Enterprise JavaBeans
Enterprise JavaBeans
The EJB Container
EJB Classes
EJB Interfaces
Deployment Descriptors
The Anatomy of a Deployment Descriptor
Environment Elements
Referencing EJB
Reference Other Resources
Sharing Resources
Security Elements
Query Element
Relationship Elements
Assembly Elements
Exclude List Element
Session Java Bean
Stateless vs. Stateful
Creating a Session Java Bean
Entity Java Bean
Container-Managed Persistence
Bean-Managed Persistence
Message-Driven Bean
Behind the Scenes
Creating an MDB
The JAR File
Quick Reference Guide
PART IV - J2EE Interconnectivity
Chapter 13 - Java Mail API
JavaMail
JavaMail API and Java Activation Framework
Protocols
Exceptions
Send Email Message
Retrieving Email Messages
Deleting Email Messages
Replying to and Forwarding an Email Message
Forwarding an Email Message
Sending Attachments
Receiving Attachments
Searching an Email Folder
Quick Reference Guide
Chapter 14 - Java Interface Definition Language and CORBA
The Concept of Object Request Brokerage
Java IDL and CORBA
The IDL Interface
The Client Side
The Server Side
Running the Code
Chapter 15 - Java Remote Method Invocation
Remote Method Invocation Concept
Remote Interface
Passing Objects
The RMI Process
Server Side
Client Side
Quick Reference Guide
Chapter 16 - Java Message Service
Messaging Service
Java Messaging Service
JMS Fundamentals
Flexibility
Components of a JMS Program
Sessions
Acknowledgement Modes
Message Transactions
Message Producer
Message Consumer
Message Listener
Messages
Message Selector
Sending Messages to a Queue
Receiving Messages from a Queue
Compiling and Running Queue Program
Creating a Publisher
Creating a Subscriber
Creating a Message Listener
Compiling and Running the Publisher and Subscriber
Quick Reference Guide
Chapter 17 - Security
J2EE Security Concepts
JVM Security
Security Management
Java API Security
Browser Security
Web Services Security
Web Services Security Classifications
Security Within a Web Services Tier
Programmatic Security
Quick Reference Guide
Chapter 18 - Java Naming and Directory Interface API
Naming and Directories
Java Naming and Directory Interface
Compile and Run the Listing
Retrieving Attributes from an Object Using Directory Services
Naming Operations
Add Binding to a Directory Service
Remove Binding to a Directory Service
Replace Binding to a Directory Service
Renaming a Name in the Directory Service
Quick Reference Guide
PART V - Web Services
Chapter 19 - SOAP
SOAP Basics
SOAP Functionality
The SOAP Message and Delivery Structure
Java API for XML Messaging
The Connection
Create, Send, and Receive a Point-to-Point SOAP Message
Create and Send a SOAP Message Using a Messaging Provider
Creating a SOAP Attachment
Accessing a SOAP Attachment
Quick Reference Guide
Chapter 20 - Universal Description, Discovery and Integration (UDDI)
Inside the Universal Description, Discovery, and Integration
A Look at tModels
UDDI Architecture
UDDI Application Programming Interface
Inquiry Application Programming Interface
Search Qualifiers
Response Messages
Publishing Application Programming Interface
Chapter 21 - Electronic Business XML
Electronic Data Interchange
Electronic Business XML
Extensible Markup Language Arrives
Electronic Business XML Arrives
The Technology of ebXML
The Inner Workings of ebXML
Message Service
Business Processes
CPP
CPA
Quick Reference Guide
Chapter 22 - The Java API for XML Registries (JAXR
Inside JAXR
JAXR Client
The Process
Making a Query
Publishing a Service to an XML Registry
The connect() Method
The publish() Method
Removing a Published Service from an XML Registry
The inquire() Method
The delete() Method
Quick Reference Guide
Chapter 23 - Web Services Description Language (WSDL
Inside WSDL
The WSDL Document
Type Element
Message Element
PortType Element
Binding Element
Port Element
Service Element
WSDL and SOAP
SOAP One-Way Transmission Primitive
SOAP Request-Response Transmission Primitive
SOAP Binding Element
SOAP Operation Element
SOAP Body Element
SOAP Fault Element
SOAP Header Element
SOAP Address Element
WSDL and HTTP Binding
WSDL and MIME Binding
PART VI - Appendixes