Foreword |
|
vi | (1) |
Preface |
|
vii | (8) |
Who Should Read This Book? |
|
vii | (1) |
How to Use This Book |
|
vii | (1) |
CD-ROM |
|
viii | (1) |
How This Document Is Organized |
|
viii | (1) |
Conventions Used in This Book |
|
ix | (2) |
Examples in This Book |
|
x | (1) |
World Wide Web Addresses in This Book |
|
x | (1) |
ITSO on the Internet |
|
xi | (1) |
VisualAge for Java Service and Support |
|
xi | (1) |
About the Authors |
|
xii | (1) |
Acknowledgments |
|
xii | (1) |
Comments Welcome |
|
xiii | (2) |
Contents |
|
xv | (6) |
|
|
xxi | (6) |
|
|
xxvii | (2) |
Tips |
|
xxix | |
|
Chapter 1: Introduction to the Environment |
|
|
1 | (28) |
|
VisualAge for Java Product Family |
|
|
1 | (4) |
|
VisualAge for Java Professional |
|
|
2 | (2) |
|
|
4 | (1) |
|
VisualAge for Java Enterprise |
|
|
4 | (1) |
|
Updates to VisualAge for Java |
|
|
5 | (1) |
|
Building Your First Applet |
|
|
5 | (9) |
|
|
6 | (6) |
|
Creating an Animated Applet |
|
|
12 | (1) |
|
Changing the Properties of the Applet |
|
|
13 | (1) |
|
Building Your First Application |
|
|
14 | (4) |
|
The VisualAge for Java Scrapbook |
|
|
18 | (7) |
|
|
19 | (4) |
|
Correcting Errors in the Scrapbook |
|
|
23 | (2) |
|
Customizing VisualAge for Java |
|
|
25 | (4) |
|
|
25 | (4) |
|
Chapter 2: Organizing Your Code |
|
|
29 | (20) |
|
Projects in VisualAge for Java |
|
|
29 | (1) |
|
|
30 | (6) |
|
The Workbench Projects Page |
|
|
32 | (2) |
|
The Workbench Packages View |
|
|
34 | (2) |
|
Using Types from Other Packages |
|
|
36 | (6) |
|
The Workbench Classes Page |
|
|
38 | (1) |
|
The Workbench Interfaces Page |
|
|
39 | (1) |
|
The Workbench All Problems Page |
|
|
40 | (2) |
|
Importing and Exporting Java Code with VisualAge for Java |
|
|
42 | (7) |
|
Importing into VisualAge for Java |
|
|
43 | (2) |
|
Exporting from VisualAge for Java |
|
|
45 | (4) |
|
Chapter 3: Beginning the ATM Project |
|
|
49 | (50) |
|
|
49 | (4) |
|
|
52 | (1) |
|
|
53 | (5) |
|
|
54 | (1) |
|
|
55 | (1) |
|
|
56 | (1) |
|
Introspection and the BeanInfo Class |
|
|
57 | (1) |
|
Using VisualAge for Java to Create JavaBeans |
|
|
58 | (10) |
|
|
58 | (5) |
|
|
63 | (3) |
|
What about the BeanInfo Class? |
|
|
66 | (2) |
|
|
68 | (31) |
|
Building the Transaction Class |
|
|
69 | (2) |
|
Building the BankAccount Bean |
|
|
71 | (10) |
|
Building the CheckingAccount Bean |
|
|
81 | (5) |
|
Building the SavingsAccount Bean |
|
|
86 | (1) |
|
|
87 | (4) |
|
Building the Customer Bean |
|
|
91 | (3) |
|
|
94 | (5) |
|
Chapter 4: Building User Interfaces |
|
|
99 | (54) |
|
An Abstract Windowing Toolkit Refresher |
|
|
100 | (1) |
|
|
100 | (1) |
|
|
101 | (1) |
|
|
102 | (2) |
|
The JFC and the MVC Architecture |
|
|
104 | (1) |
|
|
105 | (1) |
|
|
106 | (6) |
|
|
107 | (1) |
|
|
107 | (1) |
|
|
108 | (1) |
|
|
109 | (1) |
|
|
110 | (1) |
|
|
111 | (1) |
|
|
111 | (1) |
|
Using Layout Managers in VisualAge for Java |
|
|
112 | (1) |
|
Visual Composition Editor |
|
|
112 | (7) |
|
|
114 | (3) |
|
|
117 | (1) |
|
|
117 | (2) |
|
Working with Beans in the Visual Composition Editor |
|
|
119 | (5) |
|
|
119 | (1) |
|
|
120 | (2) |
|
|
122 | (1) |
|
|
123 | (1) |
|
|
123 | (1) |
|
Visual Programming in Action |
|
|
124 | (29) |
|
Creating the Bookmark Classes |
|
|
125 | (1) |
|
Building the Bookmark Class |
|
|
125 | (1) |
|
Building the BookmarkListController |
|
|
126 | (1) |
|
Building the BookmarkListView Applet |
|
|
127 | (6) |
|
Creating a Tear-off Property |
|
|
133 | (1) |
|
|
134 | (1) |
|
Saving and Generating the Bean |
|
|
135 | (1) |
|
|
136 | (2) |
|
|
138 | (1) |
|
|
139 | (8) |
|
Enhancing the BookmarkListView Applet |
|
|
147 | (3) |
|
|
150 | (3) |
|
Chapter 5: Managing and Fixing Your Code |
|
|
153 | (38) |
|
|
153 | (4) |
|
|
155 | (1) |
|
|
156 | (1) |
|
|
156 | (1) |
|
|
157 | (1) |
|
|
157 | (8) |
|
|
157 | (1) |
|
|
158 | (1) |
|
Versioning Program Elements |
|
|
159 | (2) |
|
|
161 | (3) |
|
Using the Repository Explorer |
|
|
164 | (1) |
|
Compacting the Repository |
|
|
165 | (1) |
|
Searching for Program Elements |
|
|
166 | (4) |
|
|
166 | (2) |
|
References To and Declarations Of Functions |
|
|
168 | (2) |
|
|
170 | (3) |
|
Versioning the Bookmark List Packages |
|
|
173 | (1) |
|
Debugging a VisualAge for Java Program |
|
|
173 | (4) |
|
|
173 | (2) |
|
|
175 | (2) |
|
|
177 | (14) |
|
|
177 | (3) |
|
|
180 | (6) |
|
|
186 | (3) |
|
|
189 | (2) |
|
Chapter 6: Finishing the ATM Application |
|
|
191 | (58) |
|
|
191 | (58) |
|
|
193 | (5) |
|
|
198 | (5) |
|
|
203 | (6) |
|
|
209 | (1) |
|
|
210 | (2) |
|
|
212 | (6) |
|
|
218 | (7) |
|
|
225 | (8) |
|
|
233 | (9) |
|
|
242 | (5) |
|
Adding Keyboard Input to the ATM Application |
|
|
247 | (2) |
|
Chapter 7: Making Your Data Persistent |
|
|
249 | (30) |
|
|
250 | (9) |
|
The Serializable Interface |
|
|
250 | (1) |
|
|
251 | (1) |
|
Behind the Scenes of Serialization |
|
|
252 | (1) |
|
Controlling the Serialization |
|
|
253 | (1) |
|
Bookmark List Serialization |
|
|
253 | (6) |
|
|
259 | (20) |
|
Database Access Using VisualAge for Java |
|
|
262 | (3) |
|
Making the BookmarkList Persistent Using Data Access Beans |
|
|
265 | (14) |
|
Chapter 8: Creating Servlets |
|
|
279 | (16) |
|
|
279 | (4) |
|
Designing Servlet Systems |
|
|
282 | (1) |
|
Making the Bookmark List a Servlet |
|
|
283 | (12) |
|
|
291 | (4) |
|
Chapter 9: Internationalization |
|
|
295 | (32) |
|
Java Internationalization Framework |
|
|
295 | (5) |
|
|
296 | (2) |
|
|
298 | (2) |
|
Internationalization in VisualAge for Java |
|
|
300 | (4) |
|
Making the BookmarkListView Applet International |
|
|
304 | (5) |
|
Externalizing the Strings |
|
|
304 | (3) |
|
Creating the Alternate Resource Bundles |
|
|
307 | (2) |
|
Building a Language Panel |
|
|
309 | (4) |
|
|
310 | (1) |
|
Creating the Resource Bundles |
|
|
311 | (2) |
|
Dynamically Changing the Locale |
|
|
313 | (8) |
|
|
313 | (1) |
|
Retrieving Resources from Resource Bundles |
|
|
314 | (1) |
|
Finishing the LanguagePanel |
|
|
314 | (4) |
|
Formatting Dates and Times |
|
|
318 | (3) |
|
Other Internationalization Considerations |
|
|
321 | (6) |
|
|
322 | (5) |
|
Chapter 10: Deploying Your Java Programs |
|
|
327 | (18) |
|
|
328 | (1) |
|
|
329 | (4) |
|
|
333 | (3) |
|
Installing the Domino Go Web Server |
|
|
333 | (1) |
|
Deploying the BookmarkListServlet |
|
|
334 | (2) |
|
|
336 | (9) |
|
|
337 | (1) |
|
|
338 | (1) |
|
|
338 | (2) |
|
Deploying the BookmarkListView Applet |
|
|
340 | (2) |
|
Deploying Supporting Code |
|
|
342 | (3) |
|
Chapter 11: Advanced Topics |
|
|
345 | (40) |
|
Interface to External SCM Tools |
|
|
345 | (13) |
|
Preparing to Connect to the SCM Tool from VisualAge for Java |
|
|
346 | (4) |
|
Interface to External SCM Functions |
|
|
350 | (8) |
|
AgentRunner: Lotus Domino Connection |
|
|
358 | (9) |
|
Remote Method Invocation: A Refresher |
|
|
367 | (10) |
|
|
368 | (1) |
|
RMI Using VisualAge for Java |
|
|
369 | (1) |
|
Distributing the BookmarkList |
|
|
370 | (7) |
|
Tool Integration Framework |
|
|
377 | (8) |
|
Creating the BaseLine Tool |
|
|
377 | (4) |
|
Testing the BaseLine Tool in the IDE |
|
|
381 | (1) |
|
Installing the BaseLine Tool |
|
|
382 | (1) |
|
Running the BaseLine Tool |
|
|
383 | (2) |
|
|
385 | (4) |
|
|
389 | (4) |
|
International Technical Support Organization Publications |
|
|
389 | (1) |
|
|
389 | (1) |
|
|
390 | (1) |
|
|
390 | (3) |
|
|
393 | (4) |
|
How IBM Employees Can Get ITSO Redbooks |
|
|
393 | (1) |
|
How Customers Can Get ITSO Redbooks |
|
|
394 | (1) |
|
|
395 | (2) |
Glossary |
|
397 | (8) |
Abbreviations |
|
405 | (2) |
Index |
|
407 | |