Preface |
|
xix | |
Acknowledgments |
|
xxv | |
Introduction |
|
xxvii | |
|
Part I NetBeans IDE Fundamentals |
|
|
|
|
3 | (74) |
|
Configuring IDE Functionality |
|
|
5 | (38) |
|
|
5 | (29) |
|
|
34 | (8) |
|
Exercise 1-1 Installing the Sun SPOT NetBeans Plugin |
|
|
42 | (1) |
|
Working with Configuration Files and Directories |
|
|
43 | (3) |
|
Exercise 1-2 Changing the Default Java Heap Size |
|
|
46 | (1) |
|
Debugging with External Libraries |
|
|
46 | (11) |
|
|
48 | (1) |
|
|
49 | (2) |
|
|
51 | (3) |
|
|
54 | (2) |
|
Exercise 1-3 Configure a Global Library and Import |
|
|
56 | (1) |
|
|
57 | (9) |
|
Exercise 1-4 Configuring a Second JDK |
|
|
60 | (4) |
|
|
64 | (2) |
|
|
66 | (11) |
|
|
70 | (7) |
|
|
77 | (94) |
|
Understanding Free-Form Projects |
|
|
78 | (17) |
|
|
79 | (8) |
|
Editing Project Properties |
|
|
87 | (4) |
|
|
91 | (1) |
|
|
91 | (2) |
|
|
93 | (1) |
|
Exercise 2-1 Creating a Free-Form Project |
|
|
94 | (1) |
|
Using Version Control Systems |
|
|
95 | (50) |
|
|
99 | (1) |
|
|
100 | (2) |
|
|
102 | (14) |
|
|
116 | (16) |
|
Exercise 2-2 Checking Out a Subversion Project |
|
|
132 | (1) |
|
|
133 | (8) |
|
Exercise 2-3 Creating a Mercurial Project and Cloning |
|
|
141 | (1) |
|
|
141 | (4) |
|
Exercise 2-4 Experimenting with Local History |
|
|
145 | (1) |
|
Working with Build Files and Processes |
|
|
145 | (9) |
|
|
147 | (2) |
|
|
149 | (1) |
|
|
150 | (3) |
|
Exercise 2-5 Creating a Free-Form Project |
|
|
153 | (1) |
|
Configuring the JDK into the Project |
|
|
154 | (7) |
|
Exercise 2-6 Back in Time to an Older JDK |
|
|
157 | (2) |
|
|
159 | (2) |
|
|
161 | (10) |
|
|
165 | (6) |
|
3 Java SE Desktop Applications |
|
|
171 | (88) |
|
Creating Desktop Applications from Existing Sources |
|
|
172 | (8) |
|
|
174 | (1) |
|
|
174 | (2) |
|
|
176 | (1) |
|
Step 4 Includes & Excludes |
|
|
176 | (2) |
|
Exercise 3-1 Creating a Java Program with Existing Sources |
|
|
178 | (2) |
|
Managing Classpaths for Compilation and Debugging |
|
|
180 | (11) |
|
Understanding Classpath Types |
|
|
181 | (1) |
|
Editing Java SE Project Classpaths |
|
|
182 | (6) |
|
Understanding Project Classpath Differences |
|
|
188 | (1) |
|
Configuring Classpath Variables |
|
|
189 | (1) |
|
Exercise 3-2 Managing the Classpath |
|
|
190 | (1) |
|
Creating Forms with the GUI Builder |
|
|
191 | (39) |
|
|
192 | (13) |
|
Creating Forms and Adding Components |
|
|
205 | (1) |
|
|
205 | (7) |
|
Exercise 3-3 Free Design Layout |
|
|
212 | (1) |
|
Exercise 3-4 Free Design Layout Using GridBag Layout |
|
|
213 | (1) |
|
Navigating Generated Code |
|
|
213 | (5) |
|
Generating Event Listeners |
|
|
218 | (4) |
|
Understanding Beans Binding |
|
|
222 | (3) |
|
Exercise 3-5 Beans Binding and JavaBeans |
|
|
225 | (4) |
|
Exercise 3-6 Beans Binding and Swing Components |
|
|
229 | (1) |
|
Understanding Internationalization Support |
|
|
229 | (1) |
|
Packaging and Distributing Java Desktop Projects |
|
|
230 | (16) |
|
Creating an Executable JAR |
|
|
231 | (3) |
|
Deploying via Java Web Start |
|
|
234 | (5) |
|
Exercise 3-7 Using Java Web Start |
|
|
239 | (1) |
|
Exercise 3-8 Creating an Executable JAR |
|
|
240 | (2) |
|
|
242 | (4) |
|
|
246 | (13) |
|
|
250 | (9) |
|
Part II NetBeans IDE Development Support |
|
|
|
4 Java EE Web Applications |
|
|
259 | (50) |
|
Creating Web Applications from Existing Sources |
|
|
260 | (5) |
|
|
261 | (1) |
|
|
262 | (1) |
|
Step 3 Server And Settings |
|
|
262 | (1) |
|
Step 4 Existing Sources And Libraries |
|
|
263 | (1) |
|
Exercise 4-1 Creating a Web Program with Existing Sources |
|
|
264 | (1) |
|
Adding and Using NetBeans-Available Web Frameworks |
|
|
265 | (7) |
|
|
266 | (2) |
|
Understanding Web Frameworks |
|
|
268 | (4) |
|
Exercise 4-2 Making Use of JavaServer Faces Libraries |
|
|
272 | (1) |
|
Understanding the Visual Web JSF Framework |
|
|
272 | (9) |
|
|
273 | (5) |
|
Exercise 4-3 Working with a Visual Web JSF Sample Application |
|
|
278 | (1) |
|
Deployment Descriptor Visual Editors |
|
|
279 | (2) |
|
Working with Server Instances |
|
|
281 | (5) |
|
|
282 | (2) |
|
Exercise 4-4 Integrating an Application Server with a NetBeans Server Plugin |
|
|
284 | (1) |
|
|
284 | (2) |
|
Building and Deploying Web Applications |
|
|
286 | (15) |
|
|
286 | (2) |
|
Configuring Build Settings |
|
|
288 | (5) |
|
|
293 | (5) |
|
|
298 | (3) |
|
|
301 | (8) |
|
|
304 | (5) |
|
|
309 | (30) |
|
Working with Databases in the IDE |
|
|
310 | (20) |
|
|
312 | (3) |
|
Exercise 5-1 Registering a JDBC Driver |
|
|
315 | (4) |
|
Database Support Components |
|
|
319 | (4) |
|
Exercise 5-2 Interfacing with the Sakila Database Through the Database Explorer |
|
|
323 | (6) |
|
|
329 | (1) |
|
|
330 | (9) |
|
|
333 | (6) |
|
|
339 | (48) |
|
Modifying Behavior of the Source Editor |
|
|
341 | (16) |
|
Editor Panel Configurations |
|
|
341 | (9) |
|
Fonts & Colors Panel Configurations |
|
|
350 | (4) |
|
Keymap Panel Configurations |
|
|
354 | (2) |
|
Exercise 6-1 Changing Behavior of the Source Editor |
|
|
356 | (1) |
|
Understanding Error Highlighting and Correction |
|
|
357 | (5) |
|
Projects Window Diagnostic Icons |
|
|
357 | (1) |
|
Source Editor Left Margin Annotation Diagnostic Glyphs |
|
|
358 | (1) |
|
Source Editor Diagnostic Highlighting |
|
|
358 | (2) |
|
Exercise 6-2 Highlighting Errors in Source Code and Related Files |
|
|
360 | (1) |
|
Error Stripe Diagnostic Marks |
|
|
360 | (1) |
|
Output Window Diagnostic Messages |
|
|
361 | (1) |
|
|
362 | (6) |
|
|
363 | (1) |
|
Missing Methods, Fields, and Variable Hints |
|
|
364 | (2) |
|
Inherited Methods Implementation Hints |
|
|
366 | (1) |
|
Exercise 6-3 Inserting a Cast from an Editor Hint |
|
|
366 | (1) |
|
Exercise 6-4 Producing Annotation Glyph Icons in the Left Margin |
|
|
367 | (1) |
|
|
368 | (11) |
|
|
368 | (2) |
|
|
370 | (1) |
|
Exercise 6-5 Creating a Hello World Project in 30 Seconds |
|
|
371 | (1) |
|
|
372 | (3) |
|
Exercise 6-6 Writing Descriptions for Code Templates |
|
|
375 | (2) |
|
|
377 | (2) |
|
|
379 | (8) |
|
|
382 | (5) |
|
|
387 | (50) |
|
NetBeans Refactoring Architecture |
|
|
389 | (2) |
|
Exercise 7-1 Understanding the NetBeans Refactoring Process |
|
|
391 | (1) |
|
|
391 | (33) |
|
Best Practices Refactorings |
|
|
394 | (8) |
|
Simplification Refactorings |
|
|
402 | (2) |
|
Generalization and Realization Refactorings |
|
|
404 | (8) |
|
Organizational Refactorings |
|
|
412 | (7) |
|
|
419 | (2) |
|
Exercise 7-2 Becoming Familiar with the Refactoring Catalog |
|
|
421 | (1) |
|
|
422 | (2) |
|
|
424 | (13) |
|
|
428 | (9) |
|
Part III NetBeans IDE Application Tools |
|
|
|
8 HTTP Server-Side Monitor |
|
|
437 | (34) |
|
Using the HTTP Server-Side Monitor |
|
|
438 | (24) |
|
The Hyper Text Transfer Protocol Standard |
|
|
439 | (4) |
|
HTTP Server-Side Monitor Setup |
|
|
443 | (3) |
|
Exercise 8-1 Monitoring HTTP Requests Against GlassFish |
|
|
446 | (1) |
|
HTTP Server-Side Monitor Usage |
|
|
447 | (14) |
|
|
461 | (1) |
|
|
462 | (9) |
|
|
465 | (6) |
|
9 Local and Remote Debuggers |
|
|
471 | (40) |
|
Debugging Local Applications |
|
|
472 | (22) |
|
|
473 | (2) |
|
|
475 | (9) |
|
Exercise 9-1 Applying Conditions to Breakpoints |
|
|
484 | (1) |
|
|
485 | (2) |
|
Debugging Support Windows |
|
|
487 | (7) |
|
Debugging Remote Applications |
|
|
494 | (9) |
|
Differences Between Local and Remote Debugging |
|
|
494 | (3) |
|
Web Application Debugging |
|
|
497 | (3) |
|
Exercise 9-2 Debugging Various Files in a Web Application |
|
|
500 | (1) |
|
|
501 | (2) |
|
|
503 | (8) |
|
|
506 | (5) |
|
|
511 | (98) |
|
Testing Applications with JUnit |
|
|
512 | (21) |
|
Understanding JUnit Basics and Versions |
|
|
513 | (4) |
|
Creating JUnit Tests and Suites |
|
|
517 | (7) |
|
Managing Testing Classpath |
|
|
524 | (1) |
|
|
524 | (3) |
|
Exercise 10-1 Running Unit Tests |
|
|
527 | (1) |
|
Exercise 10-2 Creating Unit Test |
|
|
528 | (1) |
|
Configuring Continuous Integration Support |
|
|
528 | (4) |
|
Exercise 10-3 Unit Testing with Hudson |
|
|
532 | (1) |
|
Using the NetBeans Profiler |
|
|
533 | (66) |
|
Optimizing Java Applications |
|
|
535 | (2) |
|
|
537 | (4) |
|
Attaching a Profiler to a Local Application |
|
|
541 | (6) |
|
Exercise 10-4 Attaching the Profiler |
|
|
547 | (1) |
|
Monitoring a Desktop Application |
|
|
547 | (10) |
|
Exercise 10-5 Deadlocking Thread |
|
|
557 | (2) |
|
Understanding CPU Performance |
|
|
559 | (10) |
|
|
569 | (8) |
|
Understanding Memory Usage |
|
|
577 | (9) |
|
Exercise 10-6 Memory Profiling |
|
|
586 | (1) |
|
|
587 | (6) |
|
Exercise 10-7 Memory Profiling |
|
|
593 | (3) |
|
|
596 | (3) |
|
|
599 | (10) |
|
|
602 | (7) |
|
|
|
|
609 | (8) |
|
|
610 | (1) |
|
|
611 | (1) |
|
|
612 | (5) |
|
|
617 | (12) |
|
NetBeans IDE Installations |
|
|
618 | (2) |
|
|
620 | (3) |
|
|
623 | (1) |
|
|
624 | (3) |
|
|
627 | (1) |
|
|
627 | (2) |
|
|
629 | (10) |
|
|
630 | (1) |
|
|
630 | (1) |
|
|
631 | (1) |
|
|
631 | (1) |
|
|
632 | (1) |
|
|
632 | (1) |
|
|
633 | (1) |
|
|
633 | (1) |
|
Debugging Window Shortcuts |
|
|
634 | (1) |
|
|
634 | (1) |
|
|
634 | (1) |
|
Traditional Editor Functions Shortcuts |
|
|
635 | (2) |
|
|
637 | (1) |
|
|
637 | (1) |
|
|
637 | (1) |
|
Shortcut Reference Documentation |
|
|
638 | (1) |
|
D NetBeans Code Templates |
|
|
639 | (10) |
|
NetBeans IDE 6.1 Code Templates |
|
|
640 | (1) |
|
|
641 | (8) |
|
|
649 | (4) |
|
|
650 | (1) |
|
|
650 | (1) |
|
Installing and Running MasterExam |
|
|
650 | (1) |
|
|
650 | (1) |
|
|
651 | (1) |
|
|
651 | (1) |
|
NetBeans IDE Installation Bundles |
|
|
651 | (1) |
|
|
651 | (1) |
|
|
652 | (1) |
|
|
652 | (1) |
|
LearnKey Technical Support |
|
|
652 | (1) |
Glossary |
|
653 | (18) |
Index |
|
671 | |