|
|
xiii | |
Preface |
|
xvii | |
Contents of This Book |
|
xvii | |
On-Line Resources |
|
xviii | |
Conventions Used in This Book |
|
xx | |
Acknowledgements |
|
xx | |
Server Installation and Configuration |
|
1 | (231) |
|
Installing WebLogic Server Software |
|
|
2 | (7) |
|
Installing on NT/Win2K Machines |
|
|
2 | (4) |
|
Installing on SunOS Machines |
|
|
6 | (2) |
|
|
8 | (1) |
|
Enabling EJB 2.0 Capability in WebLogic |
|
|
9 | (1) |
|
Verifying Installation using WebLogic Examples |
|
|
10 | (12) |
|
Reviewing the Examples Domain |
|
|
10 | (1) |
|
Booting the Examples Domain |
|
|
11 | (1) |
|
Opening the WebLogic Management Console |
|
|
12 | (1) |
|
Changing the Logging Severity Threshold |
|
|
13 | (1) |
|
Configuring the JDBC Connection Pools |
|
|
14 | (3) |
|
Building and Deploying the EJB20 Examples |
|
|
17 | (3) |
|
Testing the EJB20 Examples |
|
|
20 | (2) |
|
Building the Workbook Database |
|
|
22 | (9) |
|
Option #1 -- Build Empty Database, Add Tables During Exercises |
|
|
23 | (5) |
|
Option #2 -- Build Empty Database, Create All Tables at Start |
|
|
28 | (3) |
|
Option #3 -- Download Complete Cloudscape Database |
|
|
31 | (1) |
|
Configuring EJBBook Domain for EJB Exercises |
|
|
31 | (13) |
|
Creating an Empty EJBBook Domain |
|
|
31 | (2) |
|
Configuring EJBBook Domain |
|
|
33 | (7) |
|
Configuring TitanApp Application in EJBBook Domain |
|
|
40 | (4) |
|
Exercise Code Setup and Configuration |
|
|
44 | (3) |
|
|
47 | (20) |
|
|
48 | (13) |
|
Download and Build the Example Programs |
|
|
48 | (1) |
|
Create the Required Database Objects |
|
|
49 | (1) |
|
Examine the WebLogic-Specific Files/Components |
|
|
49 | (4) |
|
Deploy the EJB Components to WebLogic |
|
|
53 | (3) |
|
Examine and Run the Client Applications |
|
|
56 | (3) |
|
Examine and Run the Client JSP Pages |
|
|
59 | (2) |
|
|
61 | (6) |
|
Download and Build the Example Programs |
|
|
61 | (1) |
|
Create the Required Database Objects |
|
|
61 | (1) |
|
Examine the WebLogic-Specific Files/Components |
|
|
61 | (2) |
|
Deploy the EJB Components to WebLogic |
|
|
63 | (1) |
|
Examine and Run the Client Applications |
|
|
64 | (2) |
|
Examine and Run the Client JSP Pages |
|
|
66 | (1) |
|
|
67 | (10) |
|
The Remote Component Interfaces |
|
|
68 | (2) |
|
Download and Build the Example Programs |
|
|
68 | (1) |
|
Create the Required Database Objects |
|
|
68 | (1) |
|
Examine the WebLogic-Specific Files/Components |
|
|
68 | (1) |
|
Deploy the EJB Components to WebLogic |
|
|
68 | (1) |
|
Examine and Run the Client Applications |
|
|
68 | (1) |
|
Examine and Run the Client JSP Pages |
|
|
69 | (1) |
|
The EJBObject, Handle, and Primary Key |
|
|
70 | (3) |
|
Download and Build the Example Programs |
|
|
70 | (1) |
|
Create the Required Database Objects |
|
|
70 | (1) |
|
Examine the WebLogic-Specific Files/Components |
|
|
70 | (1) |
|
Deploy the EJB Components to WebLogic |
|
|
70 | (1) |
|
Examine and Run the Client Applications |
|
|
70 | (2) |
|
Examine and Run the Client JSP Pages |
|
|
72 | (1) |
|
The Local Component Interfaces |
|
|
73 | (4) |
|
Download and Build the Example Programs |
|
|
73 | (1) |
|
Create the Required Database Objects |
|
|
73 | (1) |
|
Examine the Standard EJB Descriptor File |
|
|
73 | (1) |
|
Examine the WebLogic-Specific Files/Components |
|
|
74 | (1) |
|
Deploy the EJB Components to WebLogic |
|
|
75 | (1) |
|
Examine and Run the Client Applications |
|
|
75 | (1) |
|
Examine and Run the Client JSP Pages |
|
|
76 | (1) |
|
|
77 | (24) |
|
Basic Persistence in CMP 2.0 |
|
|
78 | (5) |
|
Download and Build the Example Programs |
|
|
78 | (1) |
|
Create the Required Database Objects |
|
|
78 | (1) |
|
Examine the Standard EJB Descriptor File |
|
|
79 | (1) |
|
Examine the WebLogic-Specific Files/Components |
|
|
80 | (1) |
|
Deploy the EJB Components to WebLogic |
|
|
80 | (1) |
|
Examine and Run the Client Applications |
|
|
80 | (2) |
|
Examine and Run the Client JSP Pages |
|
|
82 | (1) |
|
Dependent Value Classes in CMP 2.0 |
|
|
83 | (5) |
|
Download and Build the Example Programs |
|
|
83 | (2) |
|
Create the Required Database Objects |
|
|
85 | (1) |
|
Examine the Standard EJB Descriptor File |
|
|
85 | (1) |
|
Examine the WebLogic-Specific Files/Components |
|
|
85 | (1) |
|
Deploy the EJB Components to WebLogic |
|
|
85 | (1) |
|
Examine and Run the Client Applications |
|
|
85 | (1) |
|
Examine and Run the Client JSP Pages |
|
|
86 | (2) |
|
A Simple Relationship in CMP 2.0 |
|
|
88 | (13) |
|
Download and Build the Example Programs |
|
|
88 | (4) |
|
Create the Required Database Objects |
|
|
92 | (2) |
|
Examine the Standard EJB Descriptor File |
|
|
94 | (1) |
|
Examine the WebLogic-Specific Files/Components |
|
|
95 | (2) |
|
Deploy the EJB Components to WebLogic |
|
|
97 | (1) |
|
Examine and Run the Client Applications |
|
|
97 | (2) |
|
Examine and Run the Client JSP Pages |
|
|
99 | (2) |
|
|
101 | (38) |
|
Entity Relationships in CMP 2.0: Part 1 |
|
|
102 | (14) |
|
Download and Build the Example Programs |
|
|
102 | (1) |
|
Create the Required Database Objects |
|
|
103 | (1) |
|
Examine the Standard EJB Descriptor File |
|
|
104 | (4) |
|
Examine the WebLogic-Specific Files/Components |
|
|
108 | (2) |
|
Deploy the EJB Components to WebLogic |
|
|
110 | (1) |
|
Examine and Run the Client JSP Pages |
|
|
110 | (6) |
|
Entity Relationships in CMP 2.0: Part 2 |
|
|
116 | (20) |
|
Download and Build the Example Programs |
|
|
116 | (1) |
|
Create the Required Database Objects |
|
|
116 | (1) |
|
Examine the Standard EJB Descriptor File |
|
|
117 | (5) |
|
Examine the WebLogic-Specific Files/Components |
|
|
122 | (4) |
|
Deploy the EJB Components to WebLogic |
|
|
126 | (1) |
|
Examine and Run the Client JSP Pages |
|
|
126 | (9) |
|
Optional Additional Tasks |
|
|
135 | (1) |
|
Cascade Deletes in CMP 2.0 |
|
|
136 | (3) |
|
Download and Build the Example Programs |
|
|
136 | (1) |
|
Create the Required Database Objects |
|
|
136 | (1) |
|
Examine the Standard EJB Descriptor File |
|
|
136 | (1) |
|
Examine the WebLogic-Specific Files/Components |
|
|
137 | (1) |
|
Deploy the EJB Components to WebLogic |
|
|
137 | (1) |
|
Examine and Run the Client JSP Pages |
|
|
137 | (2) |
|
|
139 | (24) |
|
|
140 | (12) |
|
Download and Build the Example Programs |
|
|
140 | (1) |
|
Create the Required Database Objects |
|
|
140 | (1) |
|
Examine the Standard EJB Descriptor File |
|
|
140 | (7) |
|
Examine the WebLogic-Specific Files/Components |
|
|
147 | (1) |
|
Deploy the EJB Components to WebLogic |
|
|
147 | (1) |
|
Examine and Run the Client JSP Pages |
|
|
147 | (5) |
|
Complex EJB QL Statements |
|
|
152 | (11) |
|
Download and Build the Example Programs |
|
|
152 | (1) |
|
Create the Required Database Objects |
|
|
152 | (1) |
|
Examine the Standard EJB Descriptor File |
|
|
152 | (5) |
|
Examine the WebLogic-Specific Files/Components |
|
|
157 | (1) |
|
Deploy the EJB Components to WebLogic |
|
|
157 | (1) |
|
Examine and Run the Client JSP Pages |
|
|
158 | (5) |
|
|
163 | (8) |
|
|
164 | (7) |
|
Download and Build the Example Programs |
|
|
164 | (1) |
|
Create the Required Database Objects |
|
|
164 | (1) |
|
Examine the Standard EJB Descriptor File |
|
|
165 | (2) |
|
Examine the WebLogic-Specific Files/Components |
|
|
167 | (1) |
|
Deploy the EJB Components to WebLogic |
|
|
167 | (1) |
|
Examine and Run the Client Applications |
|
|
168 | (2) |
|
Examine and Run the Client JSP Pages |
|
|
170 | (1) |
|
|
171 | (30) |
|
|
172 | (7) |
|
Download and Build the Example Programs |
|
|
172 | (1) |
|
Create the Required Database Objects |
|
|
173 | (1) |
|
Examine the Standard EJB Descriptor File |
|
|
174 | (1) |
|
Examine the WebLogic-Specific Files/Components |
|
|
175 | (1) |
|
Deploy the EJB Components to WebLogic |
|
|
176 | (1) |
|
Examine and Run the Client Applications |
|
|
176 | (2) |
|
Examine and Run the Client JSP Pages |
|
|
178 | (1) |
|
|
179 | (22) |
|
Download and Build the Example Programs |
|
|
179 | (3) |
|
Create the Required Database Objects |
|
|
182 | (3) |
|
Examine the Standard EJB Descriptor File |
|
|
185 | (6) |
|
Examine the WebLogic-Specific Files/Components |
|
|
191 | (4) |
|
Deploy the EJB Components to WebLogic |
|
|
195 | (1) |
|
Examine and Run the Client Applications |
|
|
196 | (4) |
|
Examine and Run the Client JSP Pages |
|
|
200 | (1) |
|
|
201 | (31) |
|
|
202 | (11) |
|
Download and Build the Example Programs |
|
|
202 | (1) |
|
Configure the Required JMS Components |
|
|
203 | (4) |
|
Examine the Standard EJB Descriptor File |
|
|
207 | (1) |
|
Examine the WebLogic-Specific Files/Components |
|
|
208 | (1) |
|
Deploy the EJB Components to WebLogic |
|
|
208 | (1) |
|
Examine and Run the Client Applications |
|
|
209 | (3) |
|
Examine and Run the Client JSP Pages |
|
|
212 | (1) |
|
|
213 | (19) |
|
Download and Build the Example Programs |
|
|
214 | (2) |
|
Configure the Required JMS Components |
|
|
216 | (6) |
|
Examine the Standard EJB Descriptor File |
|
|
222 | (2) |
|
Examine the WebLogic-Specific Files/Components |
|
|
224 | (2) |
|
Deploy the EJB Components to WebLogic |
|
|
226 | (1) |
|
Examine and Run the Client Applications |
|
|
226 | (6) |
|
Examine and Run the Client JSP Pages |
|
|
232 | |