BN.com Gift Guide

Pro NetBeans IDE 5.5 Enterprise Edition / Edition 1

Paperback (Print)
Buy New
Buy New from BN.com
$44.09
Used and New from Other Sellers
Used and New from Other Sellers
from $1.99
Usually ships in 1-2 business days
(Save 96%)
Other sellers (Paperback)
  • All (15) from $1.99   
  • New (7) from $31.24   
  • Used (8) from $1.99   

Overview

Written for Java developers of varying skill and familiarity with the open-source NetBeans IDE as well as Java IDEs in general, Pro NetBeans IDE 5.5 Enterprise Edition focuses on using NetBeans IDE as a professional Java Enterprise Edition 5 software development platform.

Experienced author Adam Myatt provides a comprehensive guide to mapping out the functionality of NetBeans IDE and its enterprise add-ons: Enterprise Pack and Visual Web Pack. Coverage of such diverse topics as web applications, web services, and UML modeling, along with real-life case studies and clear, topical information, all combine to offer everything you need to get started with the NetBeans IDE 5.5 Enterprise Edition platform.

So whether you're an experienced IDE user or a Java developer who works only with eMacs, you'll find what you need in this book to get started with the more vibrant, more productive extensible NetBeans platform project found on NetBeans.org.

Read More Show Less

Product Details

Meet the Author

Adam Myatt currently works as a project leader and systems analyst for GE Global Research, the worldwide research and development headquarters of General Electric located in Niskayuna, New York. Adam is an experienced Java developer holding the Sun Microsystems Certified Java Programmer certification. His work entails leading globally developed Java software and web applications through a rigorous software development lifecycle process. He is an active participant in a local Java users group and is an avid enthusiast of open source software. He has also worked for several area software firms prior to joining General Electric. Adam is a graduate of the computer science department at the State University of New York College at Potsdam.
Read More Show Less

Table of Contents


About the Author     xvii
About the Technical Reviewer     xix
Acknowledgments     xxi
Introduction     xxiii
Creating and Managing Projects
Integrated Development Environments     3
Why Use an IDE?     4
NetBeans vs. Other IDE Tools     5
Summary     7
Installing and Customizing NetBeans     9
Downloading Files     9
Installing the NetBeans IDE and Core Add-Ons     9
Customizing the NetBeans JVM Startup Options     10
Setting a Proxy     11
Checking for Updates     12
Using the Update Center     12
Installing Previously Downloaded Modules     16
Activating Features Through the Module Manager     17
Customizing the IDE     18
Setting the Internal Web Browser     18
Setting Code Editor Indentation     19
Choosing Fonts and Colors     22
Configuring Keymaps     24
Setting Advanced Options     25
Navigating the IDE     26
Projects Window     26
Files Window     26
Runtime Window     27
Navigator Window     27
SourceEditor     27
Output Window     27
Properties Window     27
Palette Window     28
Summary     28
Creating a Java Project     29
Creating a Java Application     29
Working in the Projects Window     31
Source Packages     31
Test Packages     33
Libraries     33
Test Libraries     33
Working in the Source Editor     34
Displaying Files     34
Line Numbers     35
Code Folding     35
Current Line Highlighting     35
Code Syntax Error Highlighting     36
Annotation Glyphs and the Error Stripe     36
Arranging Files in the Source Editor     37
Working in the Files Window     38
Importing Projects and Code     39
Creating a Java Project from Existing Sources     39
Importing an Existing Project from Eclipse     40
Importing an Existing Project from JBuilder     42
Building HelloWorld.java     42
Adding Java Files to a Project     42
Compiling and Running the Project     43
Summary     44
Creating a Web Application Project     45
Creating a Web Application     45
Navigating the Web Application Project     48
Web Pages     49
Configuration Files     49
Server Resources     49
Adding Web Application Files     49
Adding HTML Files     50
Adding CSS Files     52
Adding Deployment Descriptors     54
Adding JSP Files     56
Leveraging Struts     60
Adding Struts Support     60
Adding Forms     62
Adding Actions     63
Configuring Struts     65
Building a Web Application     65
Cleaning and Building a Project     66
Compiling JSP Files     66
Repeating and Stopping Builds     67
Running a Web Application     67
Defining Java Application Servers     68
Using Tomcat     69
Using the Sun Java System Application Server     72
Using JBoss     73
Using BEA WebLogic     75
Setting Advanced Server Options     76
Setting the Application Server for a Project     77
HTTP Monitoring     78
Enabling the HTTP Monitor      78
Using the HTTP Monitor     78
Exploring the Sample Web Projects     81
Summary     82
Creating Visual Web Applications: JSF, Ajax, and Data Binding     83
Getting Started with the VWP     83
Installing the VWP     84
Configuring VWP Options     84
Creating a Visual Web Application     87
Creating a Visual Web Application Project     87
Navigating the Visual Web Application Project Structure     88
Setting Project Properties     92
Navigating the Visual Web Application Project Layout     93
Building a Project     96
Running a Project     97
Using VWP Themes     98
Customizing Themes     98
Importing the Modified Theme     102
Using the Page Navigation Tool     104
Defining Navigation Rules     104
Using the Page Navigation Window     104
Working with JSF Components     108
Setting Component Properties     108
Setting Component Event Handlers     109
Working with the Table Component     110
Working with Ajax-Enabled Components     114
Installing the Ajax Components      115
Adding the Component Library to a Project     116
Using the Ajax Components     117
Data Binding     119
Binding to an Object     119
Binding to a Database Table     123
Binding to a Drop-Down List     127
Working with the Visual Database Query Editor     128
Summary     130
Creating Java Enterprise Projects     131
Creating an Enterprise Application     131
Creating an Enterprise Application Project     131
Navigating the Enterprise Application Project Structure     134
Creating an EJB Module     137
Creating an EJB Module Project     137
Navigating the EJB Module Project Structure     139
Working with Session Beans     140
Working with Message-Driven Beans     146
Creating an Enterprise Application Client     151
Verifying an Enterprise Project     152
Working with Persistence     153
Creating a Persistence Unit     154
Understanding the persistence.xml File     155
Creating an Entity Class     156
Creating JSF Pages from an Entity Class     161
Summary     164
Creating Web Service Projects: JAX-WS, SOA, and BPEL     165
Installing the Enterprise Pack     165
Using the Bundled Application Server     165
Using a Preinstalled Application Server     167
Skipping Application Server Installation     168
Creating Web Services     168
Creating a Web Services     169
Creating a Web Service Client     175
Creating a Web Service from a WSDL File     181
Creating a Message Handler     182
Creating a Logical Handler     185
Working with SOA and BPEL     185
Creating a BPEL Module Project     186
Creating the BPEL Process File     186
Navigating the BPEL Design Window     187
Creating the WSDL File     189
Navigating the WSDL Editor     193
Working with the BPEL Designer and the BPEL Mapper     194
Creating a Composite Application     202
Creating a Composite Application Project     202
Setting Composite Application Project Properties     203
Adding a JBI Module     204
Testing the Composite Application and BPEL Process     204
Summary     206
Creating UML Projects     207
Setting UML Options      207
New Project Properties     208
Presentation Properties     209
Round-Trip Engineering Properties     211
Navigating the UML Project Layout     212
Palette Window     212
UML Documentation Window     213
UML Properties Window     215
UML Design Center Window     215
Diagram Editor     216
Choosing a UML Project Type     217
Creating a Platform-Independent Model Project     218
Creating a Java-Platform Model Project     219
Reverse-Engineering a Java Project     223
Working with Model Elements     226
Adding Model Elements     226
Filtering Model Elements     227
Working with UML Diagrams     228
Creating Class Diagrams     229
Creating Activity Diagrams     232
Exporting Diagrams     234
Working with Diagram Layouts     235
Working with Design Patterns and Requirements     238
Viewing Design Patterns     238
Applying a Pattern     239
Creating Design Patterns     241
Importing Requirements     242
Generating Model Reports      242
Summary     244
The NetBeans Coding Experience
The Source Editor     247
Arranging and Navigating Files     247
Accessing Source Editor Options     248
The Source Editor Context Menu     248
The Source Editor Toolbar     253
Source Editor Keyboard Shortcuts     255
Using File Templates     256
Working with Templates     257
Adding and Creating Templates     259
Working in the Source Editor     260
Identifying Errors     260
Indenting Code     263
Creating and Running Macros     266
Using the Component Palette     269
Summary     271
Code Completion and Templates     273
Code Completion     273
Working with the Code Completion Box     273
Configuring Code Completion     275
Using Code Completion     278
Code Templates     283
Using Code Templates     283
Customizing Templates     285
Summary     288
Refactoring     289
Using NetBeans Refactoring Options     289
Move Class Refactoring     290
Rename Refactoring      291
Safely Delete Refactoring     292
Use Supertype Where Possible Refactoring     294
Move Inner to Outer Level Refactoring     294
Encapsulate Fields Refactoring     296
Pull Up Refactoring     300
Push Down Refactoring     301
Convert Anonymous to Inner Refactoring     303
Extract Method Refactoring     306
Extract Interface Refactoring     307
Extract Superclass Refactoring     308
Change Method Parameters Refactoring     310
Refactoring Keyboard Shortcuts     312
Refactoring with Jackpot     312
Adding a Jackpot Refactoring Query     312
Running a Jackpot Refactoring Query     314
Summary     315
NetBeans and Professional Software Development
Generating and Accessing Javadoc     319
Elements of Javadoc     319
Class Description     319
Class Tags     320
Class Member Variables     321
Constructors     321
Methods     322
Creating Javadoc in NetBeans     323
Using the Auto Comment Tool     323
Generating Project Javadoc     326
Configuring Javadoc Properties     326
Accessing Javadoc     327
Attaching to Libraries and Platforms     327
Viewing Context-Sensitive Javadoc     329
Searching Javadoc     330
Summary     331
Managing Version Control     333
Using CVS     333
Configuring a Project to Use CVS     334
Performing Common CVS Operations     338
Using Subversion     348
Installing Subversion     348
Performing Common Subversion Operations     348
Summary     352
Managing Compilation and Projects with Ant     353
Ant Tasks and Targets     353
Configuring Ant Properties in NetBeans     357
NetBeans Project Build Files     359
The build.xml File     359
The build-impl.xml File     361
The build-before-profiler.xml File     362
The profiler-build-impl.xml File     362
The project.properties File     363
Working with Targets     364
Running Targets     364
Debugging Targets     365
Summary     366
JUnit Testing     367
Creating a JUnit Test Case      367
Creating a New Test Class     367
Creating a Test for an Existing Class     369
Viewing the Test     372
Modifying the Test     373
Running JUnit Tests     374
Viewing Test Results     374
Generating Test Case Reports     375
Configuring JUnit Properties in NetBeans     377
Summary     378
Using Code Coverage Tools     379
Getting Started with Cobertura     379
Installing and Running Cobertura     380
Examining a Cobertura Report     380
Using Cobertura Functions     385
Using Cobertura in NetBeans     388
Integrating with the Project Build File     389
Creating Shortcuts to Ant Targets     391
Using the Unit Tests Code Coverage Viewer     393
Summary     394
Working with NetBeans Developer Collaboration Tools     395
Installing and Configuring the Collaboration Tools     395
Managing Accounts     396
Creating a New Account     397
Setting Up Existing Accounts     398
Modifying Accounts     399
Logging In with Multiple Accounts     400
Building Your Contacts List      400
Adding Contacts     400
Adding Groups     401
Conducting Collaboration Sessions     402
Joining Conversations     402
Using the Conversation Window     405
Sharing Projects and Files     407
Collaborative Tools Usage Scenarios     410
Team Coding     410
Fixing an Export-Controlled Web Application     410
Summary     411
Using NetBeans Database Tools     413
Connecting to Databases     413
Adding a Database Driver     413
Adding the New Database Connection     414
Working with Database Tables and Views     416
Creating a Table     416
Modifying a Table     417
Saving a Table Structure     418
Re-creating a Table     418
Creating a View     419
Displaying Table Data     420
Writing SQL     420
Using the SQL Command Window     420
Using SQL Templates     422
Linking a Database Schema to a Project     423
Configuring Database Connection Pools     424
Using the Apache Derby Database     426
Summary      427
Index     429
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)