Acknowledgments |
|
xiii | |
Introduction |
|
xv | |
About the Authors |
|
xxiii | |
|
|
1 | (28) |
|
What Hardware and Software Do You Need? |
|
|
1 | (5) |
|
|
2 | (3) |
|
Development versus Run-Time Requirements |
|
|
5 | (1) |
|
Installing the Necessary Software |
|
|
6 | (3) |
|
What's in the VisualAge for Java Folder? |
|
|
6 | (1) |
|
Using VisualAge for Java Documentation |
|
|
7 | (1) |
|
Starting VisualAge for Java |
|
|
8 | (1) |
|
The Integrated Development Environment |
|
|
9 | (3) |
|
|
12 | (1) |
|
Adding Java Classes to the Workspace |
|
|
13 | (3) |
|
|
16 | (12) |
|
|
28 | (1) |
|
Building The Hello World Applet |
|
|
29 | (40) |
|
|
29 | (9) |
|
|
30 | (2) |
|
|
32 | (2) |
|
|
34 | (2) |
|
Visual Composition Editor Options |
|
|
36 | (2) |
|
|
38 | (1) |
|
|
38 | (1) |
|
Creating Projects and Packages |
|
|
39 | (3) |
|
|
40 | (1) |
|
|
40 | (2) |
|
|
42 | (26) |
|
Getting Acquainted with the Visual Composition Editor |
|
|
46 | (5) |
|
|
51 | (8) |
|
Adding More Function to Hello World |
|
|
59 | (5) |
|
Saving and Running the Improved Hello World Applet |
|
|
64 | (1) |
|
Viewing the Generated Code |
|
|
65 | (3) |
|
|
68 | (1) |
|
|
69 | (26) |
|
|
70 | (2) |
|
|
70 | (1) |
|
|
71 | (1) |
|
|
72 | (6) |
|
|
72 | (4) |
|
|
76 | (2) |
|
Building an Adding Machine |
|
|
78 | (16) |
|
|
78 | (1) |
|
|
79 | (4) |
|
|
83 | (3) |
|
Adding GUI Beans to a GridLayout |
|
|
86 | (1) |
|
Setting the Text Property |
|
|
87 | (1) |
|
|
88 | (1) |
|
|
88 | (1) |
|
|
89 | (1) |
|
|
89 | (1) |
|
|
90 | (3) |
|
Running the Updated Adding Machine |
|
|
93 | (1) |
|
|
94 | (1) |
|
|
95 | (34) |
|
Understanding JavaBeans Features |
|
|
96 | (20) |
|
|
96 | (1) |
|
|
96 | (1) |
|
|
97 | (1) |
|
|
97 | (1) |
|
|
98 | (1) |
|
Finishing the Adding Machine |
|
|
98 | (7) |
|
|
105 | (9) |
|
|
114 | (1) |
|
Using JavaBeans in the Visual Composition Editor |
|
|
115 | (1) |
|
|
116 | (11) |
|
Property to Property Connections |
|
|
117 | (2) |
|
|
119 | (1) |
|
|
120 | (2) |
|
Testing the Calculator Again |
|
|
122 | (2) |
|
|
124 | (3) |
|
|
127 | (2) |
|
|
129 | (32) |
|
Introduction to Debugging |
|
|
129 | (6) |
|
Using System.out.println() |
|
|
130 | (1) |
|
|
130 | (4) |
|
The handleException() Method |
|
|
134 | (1) |
|
Introduction to the Scrapbook |
|
|
135 | (5) |
|
|
136 | (1) |
|
|
136 | (4) |
|
The com.ibm.uvm.tools Package |
|
|
140 | (1) |
|
Introduction to the Debugger |
|
|
140 | (20) |
|
Importing the Switcher Package |
|
|
141 | (5) |
|
Debugging the Switcher Program |
|
|
146 | (14) |
|
|
160 | (1) |
|
|
160 | (1) |
|
Building the Advanced Calculator GUI |
|
|
161 | (32) |
|
|
161 | (7) |
|
|
162 | (1) |
|
|
162 | (6) |
|
Improving the Calculator View |
|
|
168 | (4) |
|
|
168 | (2) |
|
|
170 | (2) |
|
|
172 | (4) |
|
Setting TextField Properties |
|
|
173 | (1) |
|
|
174 | (1) |
|
Setting GridBagConstraints Properties |
|
|
174 | (2) |
|
|
176 | (5) |
|
Adding a Panel to a Container |
|
|
179 | (2) |
|
|
181 | (1) |
|
|
181 | (5) |
|
|
183 | (1) |
|
|
184 | (2) |
|
|
186 | (4) |
|
|
186 | (4) |
|
|
190 | (3) |
|
Building The Advanced Calculator Logic |
|
|
193 | (32) |
|
|
193 | (5) |
|
Advanced Calculator Connections |
|
|
198 | (8) |
|
|
202 | (2) |
|
|
204 | (1) |
|
Testing the Math Functions |
|
|
205 | (1) |
|
|
206 | (10) |
|
|
208 | (1) |
|
|
208 | (4) |
|
Testing Exception Handling |
|
|
212 | (1) |
|
How Does the Exception Work? |
|
|
213 | (3) |
|
Modifying the Beans Palette |
|
|
216 | (1) |
|
Making a Numeric-Only TextField |
|
|
217 | (4) |
|
Importing More Java Files |
|
|
217 | (1) |
|
Using a Filtered TextField |
|
|
217 | (4) |
|
Testing the IntTextFields |
|
|
221 | (1) |
|
How Does the IntTextField Work? |
|
|
221 | (2) |
|
|
221 | (1) |
|
|
222 | (1) |
|
|
223 | (2) |
|
|
225 | (30) |
|
Exporting from VisualAge for Java |
|
|
225 | (20) |
|
Exporting Java Byte-Code (.class Files) |
|
|
226 | (5) |
|
Exporting Java Source (.java Files) |
|
|
231 | (6) |
|
Java Archives (.jar Files) |
|
|
237 | (4) |
|
How VisualAge Uses Resource Files |
|
|
241 | (1) |
|
VisualAge Repository Format (.dat Files) |
|
|
242 | (1) |
|
Exporting a Repository File |
|
|
243 | (2) |
|
Running Applets Outside of the IDE |
|
|
245 | (1) |
|
|
245 | (1) |
|
Running Applications Outside of the IDE |
|
|
246 | (6) |
|
|
247 | (5) |
|
|
252 | (3) |
|
Building the Internet Address Applet |
|
|
255 | (32) |
|
Creating the InternetAddress Class |
|
|
257 | (29) |
|
Creating User Interface Panels |
|
|
263 | (12) |
|
Testing the InternetAddress Panels |
|
|
275 | (3) |
|
Creating InternetAddressFinalApplet |
|
|
278 | (6) |
|
Testing the InternetAddressFinalApplet |
|
|
284 | (2) |
|
|
286 | (1) |
|
|
287 | (20) |
|
|
288 | (1) |
|
|
289 | (1) |
|
|
290 | (2) |
|
|
292 | (3) |
|
|
295 | (10) |
|
|
295 | (1) |
|
|
296 | (8) |
|
|
304 | (1) |
|
|
305 | (1) |
|
|
305 | (2) |
|
|
307 | (46) |
|
|
308 | (1) |
|
Requirements for the Reminder Application |
|
|
308 | (1) |
|
Constructing the Reminder Application |
|
|
309 | (41) |
|
|
310 | (2) |
|
|
312 | (4) |
|
|
316 | (5) |
|
|
321 | (4) |
|
|
325 | (2) |
|
|
327 | (12) |
|
|
339 | (11) |
|
|
350 | (3) |
|
The Database Editor Application |
|
|
353 | (30) |
|
Building the Database Editor |
|
|
354 | (1) |
|
Introduction to Database Access |
|
|
355 | (1) |
|
Building the Database Editor |
|
|
356 | (25) |
|
Building the EmployeePanel Bean |
|
|
356 | (18) |
|
Building the EmployeeView Bean |
|
|
374 | (3) |
|
Completing the DatabaseEditor Application |
|
|
377 | (3) |
|
New Database Access Beans |
|
|
380 | (1) |
|
Deploying Applications Using Data Access Beans |
|
|
380 | (1) |
|
|
381 | (2) |
|
|
383 | (18) |
|
|
383 | (3) |
|
Change Control Based on Ownership |
|
|
384 | (1) |
|
VisualAge Team Environment |
|
|
384 | (2) |
|
The Basics of Team Development |
|
|
386 | (6) |
|
|
386 | (3) |
|
Developer Roles and Responsibilities |
|
|
389 | (1) |
|
|
390 | (1) |
|
|
391 | (1) |
|
|
392 | (6) |
|
|
392 | (2) |
|
|
394 | (2) |
|
|
396 | (2) |
|
|
398 | (1) |
|
|
398 | (1) |
|
|
399 | (2) |
|
|
401 | (36) |
|
|
402 | (5) |
|
|
402 | (2) |
|
|
404 | (3) |
|
JavaServer Web Development Kit |
|
|
407 | (1) |
|
|
407 | (1) |
|
Writing Your First Servlet |
|
|
408 | (6) |
|
|
410 | (1) |
|
|
410 | (4) |
|
Servlet Sessions and State Information |
|
|
414 | (10) |
|
Creating the Domain Class |
|
|
414 | (1) |
|
Updating the PostServlet Class |
|
|
415 | (8) |
|
Running the New PostServlet |
|
|
423 | (1) |
|
|
424 | (5) |
|
Converting the PostServlet to Use JSPs |
|
|
429 | (6) |
|
Deploying Server-Side Java |
|
|
435 | (1) |
|
|
435 | (2) |
|
Using Enterprise JavaBeans |
|
|
437 | (44) |
|
|
438 | (1) |
|
|
438 | (7) |
|
|
439 | (2) |
|
|
441 | (4) |
|
|
445 | (1) |
|
|
445 | (33) |
|
|
446 | (14) |
|
|
460 | (6) |
|
Creating the AccountTransfer Session EJB |
|
|
466 | (6) |
|
|
472 | (6) |
|
|
478 | (3) |
|
Integrating External Tools |
|
|
481 | (18) |
|
Using the VisualAge for Java API |
|
|
481 | (7) |
|
Understanding How External Tools Are Invoked |
|
|
482 | (6) |
|
|
488 | (9) |
|
|
489 | (2) |
|
External Tool Requirements |
|
|
491 | (1) |
|
|
491 | (1) |
|
Installing External Tools |
|
|
491 | (3) |
|
|
494 | (3) |
|
|
497 | (2) |
|
Advanced Enterprise Development Topics |
|
|
499 | (10) |
|
|
499 | (1) |
|
|
500 | (1) |
|
|
500 | (1) |
|
|
500 | (3) |
|
|
500 | (1) |
|
|
501 | (1) |
|
|
501 | (1) |
|
|
501 | (1) |
|
Enterprise Data Access Builder |
|
|
502 | (1) |
|
|
503 | (5) |
|
|
503 | (1) |
|
|
504 | (1) |
|
|
504 | (1) |
|
|
505 | (1) |
|
|
505 | (1) |
|
|
506 | (1) |
|
|
507 | (1) |
|
|
508 | (1) |
|
|
508 | (1) |
Related Publications |
|
509 | (2) |
Index |
|
511 | |