+612 9045 4394
Pro Netbeans Ide 5.5 Enterprise Edition : Apress Ser. - Adam Myatt

Pro Netbeans Ide 5.5 Enterprise Edition

Apress Ser.

Paperback Published: 1st March 2007
ISBN: 9781590597880
Number Of Pages: 445

Share This Book:
Ships in 5 to 9 business days

This book explores the many features of NetBeans IDE 5.5. Developers can focus on a variety of technologies and areas when learning NetBeans. With the latest release, developers have access to an impressive array of features for working with JavaServer Faces (JSF), Ajax, Unified Modeling Language (UML) modeling, Enterprise JavaBeans (EJB 3.0), the Java Persistence API, web services, Business Process Execution Language (BPEL), and more. I wanted to write a book that really showcased the fantastic tools for working with these technologies. Pro NetBeans IDE 5.5 Enterprise Edition is designed for all levels of developers. Whether you are new to NetBeans, a student programmer, or an experienced professional, you will find this book provides direct explanations of features and straightforward examples. It also focuses on many of the core features of NetBeans that assist professional software developers: Ant, JUnit, Concurrent Versioning System (CVS), Subversion, the developer collaboration tools, code coverage, and so on. My personal web site, www.ProNetBeans.com, contains a variety of content, such as Java and NetBeans news, articles, tutorials, and more. It will also contain updates, corrections, and errata to this book. If you have any questions or would like to provide feedback, please feel free to contact me at adam@pronetbeans.com.

Industry Reviews

From the reviews:

"NetBeans is a Java development tool with support for enterprise applications (including Web access, Web services, and database persistence). ... the book provides 18 chapters of step-by-step examples, with supporting screen shots and some code snippets. ... For students just learning about enterprise applications, the text will serve as an excellent self-paced guide to using the IDE ... ." (W. Hankley, ACM Computing Reviews, Vol. 49 (12), December, 2008)

About the Authorp. xvii
About the Technical Reviewerp. xix
Acknowledgmentsp. xxi
Introductionp. xxiii
Creating and Managing Projects
Integrated Development Environmentsp. 3
Why Use an IDE?p. 4
NetBeans vs. Other IDE Toolsp. 5
Summaryp. 7
Installing and Customizing NetBeansp. 9
Downloading Filesp. 9
Installing the NetBeans IDE and Core Add-Onsp. 9
Customizing the NetBeans JVM Startup Optionsp. 10
Setting a Proxyp. 11
Checking for Updatesp. 12
Using the Update Centerp. 12
Installing Previously Downloaded Modulesp. 16
Activating Features Through the Module Managerp. 17
Customizing the IDEp. 18
Setting the Internal Web Browserp. 18
Setting Code Editor Indentationp. 19
Choosing Fonts and Colorsp. 22
Configuring Keymapsp. 24
Setting Advanced Optionsp. 25
Navigating the IDEp. 26
Projects Windowp. 26
Files Windowp. 26
Runtime Windowp. 27
Navigator Windowp. 27
Source Editorp. 27
Output Windowp. 27
Properties Windowp. 27
Palette Windowp. 28
Summaryp. 28
Creating a Java Projectp. 29
Creating a Java Applicationp. 29
Working in the Projects Windowp. 31
Source Packagesp. 31
Test Packagesp. 33
Librariesp. 33
Test Librariesp. 33
Working in the Source Editorp. 34
Displaying Filesp. 34
Line Numbersp. 35
Code Foldingp. 35
Current Line Highlightingp. 35
Code Syntax Error Highlightingp. 36
Annotation Glyphs and the Error Stripep. 36
Arranging Files in the Source Editorp. 37
Working in the Files Windowp. 38
Importing Projects and Codep. 39
Creating a Java Project from Existing Sourcesp. 39
Importing an Existing Project from Eclipsep. 40
Importing an Existing Project from JBuilderp. 42
Building HelloWorld.javap. 42
Adding Java Files to a Projectp. 42
Compiling and Running the Projectp. 43
Summaryp. 44
Creating a Web Application Projectp. 45
Creating a Web Applicationp. 45
Navigating the Web Application Projectp. 48
Web Pagesp. 49
Configuration Filesp. 49
Server Resourcesp. 49
Adding Web Application Filesp. 49
Adding HTML Filesp. 50
Adding CSS Filesp. 52
Adding Deployment Descriptorsp. 54
Adding JSP Filesp. 56
Leveraging Strutsp. 60
Adding Struts Supportp. 60
Adding Formsp. 62
Adding Actionsp. 63
Configuring Strutsp. 65
Building a Web Applicationp. 65
Cleaning and Building a Projectp. 66
Compiling JSP Filesp. 66
Repeating and Stopping Buildsp. 67
Running a Web Applicationp. 67
Defining Java Application Serversp. 68
Using Tomcatp. 69
Using the Sun Java System Application Serverp. 72
Using JBossp. 73
Using BEA WebLogicp. 75
Setting Advanced Server Optionsp. 76
Setting the Application Server for a Projectp. 77
HTTP Monitoringp. 78
Enabling the HTTP Monitorp. 78
Using the HTTP Monitorp. 78
Exploring the Sample Web Projectsp. 81
Summaryp. 82
Creating Visual Web Applications: JSF, Ajax, and Data Bindingp. 83
Getting Started with the VWPp. 83
Installing the VWPp. 84
Configuring VWP Optionsp. 84
Creating a Visual Web Applicationp. 87
Creating a Visual Web Application Projectp. 87
Navigating the Visual Web Application Project Structurep. 88
Setting Project Propertiesp. 92
Navigating the Visual Web Application Project Layoutp. 93
Building a Projectp. 96
Running a Projectp. 97
Using VWP Themesp. 98
Customizing Themesp. 98
Importing the Modified Themep. 102
Using the Page Navigation Toolp. 104
Defining Navigation Rulesp. 104
Using the Page Navigation Windowp. 104
Working with JSF Componentsp. 108
Setting Component Propertiesp. 108
Setting Component Event Handlersp. 109
Working with the Table Componentp. 110
Working with Ajax-Enabled Componentsp. 114
Installing the Ajax Componentsp. 115
Adding the Component Library to a Projectp. 116
Using the Ajax Componentsp. 117
Data Bindingp. 119
Binding to an Objectp. 119
Binding to a Database Tablep. 123
Binding to a Drop-Down Listp. 127
Working with the Visual Database Query Editorp. 128
Summaryp. 130
Creating Java Enterprise Projectsp. 131
Creating an Enterprise Applicationp. 131
Creating an Enterprise Application Projectp. 131
Navigating the Enterprise Application Project Structurep. 134
Creating an EJB Modulep. 137
Creating an EJB Module Projectp. 137
Navigating the EJB Module Project Structurep. 139
Working with Session Beansp. 140
Working with Message-Driven Beansp. 146
Creating an Enterprise Application Clientp. 151
Verifying an Enterprise Projectp. 152
Working with Persistencep. 153
Creating a Persistence Unitp. 154
Understanding the persistence.xml Filep. 155
Creating an Entity Classp. 156
Creating JSF Pages from an Entity Classp. 161
Summaryp. 164
Creating Web Service Projects: JAX-WS, SOA, and BPELp. 165
Installing the Enterprise Packp. 165
Using the Bundled Application Serverp. 165
Using a Preinstalled Application Serverp. 167
Skipping Application Server Installationp. 168
Creating Web Servicesp. 168
Creating a Web Servicesp. 169
Creating a Web Service Clientp. 175
Creating a Web Service from a WSDL Filep. 181
Creating a Message Handlerp. 182
Creating a Logical Handlerp. 185
Working with SOA and BPELp. 185
Creating a BPEL Module Projectp. 186
Creating the BPEL Process Filep. 186
Navigating the BPEL Design Windowp. 187
Creating the WSDL Filep. 189
Navigating the WSDL Editorp. 193
Working with the BPEL Designer and the BPEL Mapperp. 194
Creating a Composite Applicationp. 202
Creating a Composite Application Projectp. 202
Setting Composite Application Project Propertiesp. 203
Adding a JBI Modulep. 204
Testing the Composite Application and BPEL Processp. 204
Summaryp. 206
Creating UML Projectsp. 207
Setting UML Optionsp. 207
New Project Propertiesp. 208
Presentation Propertiesp. 209
Round-Trip Engineering Propertiesp. 211
Navigating the UML Project Layoutp. 212
Palette Windowp. 212
UML Documentation Windowp. 213
UML Properties Windowp. 215
UML Design Center Windowp. 215
Diagram Editorp. 216
Choosing a UML Project Typep. 217
Creating a Platform-Independent Model Projectp. 218
Creating a Java-Platform Model Projectp. 219
Reverse-Engineering a Java Projectp. 223
Working with Model Elementsp. 226
Adding Model Elementsp. 226
Filtering Model Elementsp. 227
Working with UML Diagramsp. 228
Creating Class Diagramsp. 229
Creating Activity Diagramsp. 232
Exporting Diagramsp. 234
Working with Diagram Layoutsp. 235
Working with Design Patterns and Requirementsp. 238
Viewing Design Patternsp. 238
Applying a Patternp. 239
Creating Design Patternsp. 241
Importing Requirementsp. 242
Generating Model Reportsp. 242
Summaryp. 244
The NetBeans Coding Experience
The Source Editorp. 247
Arranging and Navigating Filesp. 247
Accessing Source Editor Optionsp. 248
The Source Editor Context Menup. 248
The Source Editor Toolbarp. 253
Source Editor Keyboard Shortcutsp. 255
Using File Templatesp. 256
Working with Templatesp. 257
Adding and Creating Templatesp. 259
Working in the Source Editorp. 260
Identifying Errorsp. 260
Indenting Codep. 263
Creating and Running Macrosp. 266
Using the Component Palettep. 269
Summaryp. 271
Code Completion and Templatesp. 273
Code Completionp. 273
Working with the Code Completion Boxp. 273
Configuring Code Completionp. 275
Using Code Completionp. 278
Code Templatesp. 283
Using Code Templatesp. 283
Customizing Templatesp. 285
Summaryp. 288
Refactoringp. 289
Using NetBeans Refactoring Optionsp. 289
Move Class Refactoringp. 290
Rename Refactoringp. 291
Safely Delete Refactoringp. 292
Use Supertype Where Possible Refactoringp. 294
Move Inner to Outer Level Refactoringp. 294
Encapsulate Fields Refactoringp. 296
Pull Up Refactoringp. 300
Push Down Refactoringp. 301
Convert Anonymous to Inner Refactoringp. 303
Extract Method Refactoringp. 306
Extract Interface Refactoringp. 307
Extract Superclass Refactoringp. 308
Change Method Parameters Refactoringp. 310
Refactoring Keyboard Shortcutsp. 312
Refactoring with Jackpotp. 312
Adding a Jackpot Refactoring Queryp. 312
Running a Jackpot Refactoring Queryp. 314
Summaryp. 315
NetBeans and Professional Software Development
Generating and Accessing Javadocp. 319
Elements of Javadocp. 319
Class Descriptionp. 319
Class Tagsp. 320
Class Member Variablesp. 321
Constructorsp. 321
Methodsp. 322
Creating Javadoc in NetBeansp. 323
Using the Auto Comment Toolp. 323
Generating Project Javadocp. 326
Configuring Javadoc Propertiesp. 326
Accessing Javadocp. 327
Attaching to Libraries and Platformsp. 327
Viewing Context-Sensitive Javadocp. 329
Searching Javadocp. 330
Summaryp. 331
Managing Version Controlp. 333
Using CVSp. 333
Configuring a Project to Use CVSp. 334
Performing Common CVS Operationsp. 338
Using Subversionp. 348
Installing Subversionp. 348
Performing Common Subversion Operationsp. 348
Summaryp. 352
Managing Compilation and Projects with Antp. 353
Ant Tasks and Targetsp. 353
Configuring Ant Properties in NetBeansp. 357
NetBeans Project Build Filesp. 359
The build.xml Filep. 359
The build-impl.xml Filep. 361
The build-before-profiler.xml Filep. 362
The profiler-build-impl.xml Filep. 362
The project.properties Filep. 363
Working with Targetsp. 364
Running Targetsp. 364
Debugging Targetsp. 365
Summaryp. 366
JUnit Testingp. 367
Creating a JUnit Test Casep. 367
Creating a New Test Classp. 367
Creating a Test for an Existing Classp. 369
Viewing the Testp. 372
Modifying the Testp. 373
Running JUnit Testsp. 374
Viewing Test Resultsp. 374
Generating Test Case Reportsp. 375
Configuring JUnit Properties in NetBeansp. 377
Summaryp. 378
Using Code Coverage Toolsp. 379
Getting Started with Coberturap. 379
Installing and Running Coberturap. 380
Examining a Cobertura Reportp. 380
Using Cobertura Functionsp. 385
Using Cobertura in NetBeansp. 388
Integrating with the Project Build Filep. 389
Creating Shortcuts to Ant Targetsp. 391
Using the Unit Tests Code Coverage Viewerp. 393
Summaryp. 394
Working with NetBeans Developer Collaboration Toolsp. 395
Installing and Configuring the Collaboration Toolsp. 395
Managing Accountsp. 396
Creating a New Accountp. 397
Setting Up Existing Accountsp. 398
Modifying Accountsp. 399
Logging In with Multiple Accountsp. 400
Building Your Contacts Listp. 400
Adding Contactsp. 400
Adding Groupsp. 401
Conducting Collaboration Sessionsp. 402
Joining Conversationsp. 402
Using the Conversation Windowp. 405
Sharing Projects and Filesp. 407
Collaborative Tools Usage Scenariosp. 410
Team Codingp. 410
Fixing an Export-Controlled Web Applicationp. 410
Summaryp. 411
Using NetBeans Database Toolsp. 413
Connecting to Databasesp. 413
Adding a Database Driverp. 413
Adding the New Database Connectionp. 414
Working with Database Tables and Viewsp. 416
Creating a Tablep. 416
Modifying a Tablep. 417
Saving a Table Structurep. 418
Re-creating a Tablep. 418
Creating a Viewp. 419
Displaying Table Datap. 420
Writing SQLp. 420
Using the SQL Command Windowp. 420
Using SQL Templatesp. 422
Linking a Database Schema to a Projectp. 423
Configuring Database Connection Poolsp. 424
Using the Apache Derby Databasep. 426
Summaryp. 427
Indexp. 429
Table of Contents provided by Ingram. All Rights Reserved.

ISBN: 9781590597880
ISBN-10: 1590597885
Series: Apress Ser.
Audience: General
Format: Paperback
Language: English
Number Of Pages: 445
Published: 1st March 2007
Publisher: Apress
Country of Publication: US
Dimensions (cm): 23.37 x 17.98  x 2.62
Weight (kg): 0.74