Netbeans Ide Field Guide : Developing Desktop, Web, Enterprise, and Mobile Applications (2ND)

Netbeans Ide Field Guide : Developing Desktop, Web, Enterprise, and Mobile Applications (2ND)

  • ただいまウェブストアではご注文を受け付けておりません。 ⇒古書を探す
  • 製本 Paperback:紙装版/ペーパーバック版/ページ数 558 p.
  • 言語 ENG
  • 商品コード 9780132395526
  • DDC分類 005.133

Full Description


The Only Complete Guide and Reference for NetBeans (TM) IDE 5.0The award-winning NetBeans (TM) IDE eases all aspects of Java application development, incorporating a wide range of powerful features into one well-designed package. NetBeans IDE is consistently first in supporting the latest Java technologies for developing desktop, web, enterprise, and mobile applications. NetBeans (TM) IDE Field Guide provides an introduction to the IDE and an extensive range of topics to help you with both everyday and advanced programming tasks, including Taking advantage of the Ant-based project system to create easily deployable projects Developing web applications with the built-in Apache Tomcat web server Constructing, assembling, and verifying large-scale Java EE applications Managing the Sun Java System Application Server through NetBeans IDE Developing mobile applications with the NetBeans Mobility Pack In this expanded second edition, you can also learn how to Build powerful and attractive desktop applications with the Matisse GUI Builder Profile your applications for performance issues Develop modules for NetBeans IDE and rich-client applications based on the NetBeans Platform Chat and share code with other developers using the NetBeans Collaboration Modules

Contents

Foreword to the First Edition by James Gosling xiiiForeword to the First Edition by Bill Shannon xvPreface xviiAbout the Authors xxvAcknowledgments for the Second Edition xxviiAcknowledgments for the First Edition xxixChapter 1: Download, Installation, and First Project 1Downloading the IDE 2Installing the IDE 3Setting a Proxy 3First NetBeans IDE Project 4Chapter 2: NetBeans IDE Fundamentals 9Creating a Project 10Configuring the Classpath 12Creating a Subproject 13Creating and Editing Files 15Setting Up and Modifying Java Packages 17Compiling and Building 18Viewing Project Metadata and Build Results 18Navigating to the Source of Compilation Errors 19Running 20Creating and Running Tests 20Debugging the Application 21Integrating Version Control Commands 22Managing IDE Windows 23Chapter 3: IDE Project Fundamentals 25Introduction to IDE Projects 26Choosing the Right Project Template 28Creating a Project from Scratch 29Importing a Project Developed in a Different Environment 33Navigating Your Projects 37Working with Files Not in the Project 41Creating Packages and Files in the Project 42Configuring the Project's Classpath 44Changing the Version of the JDK Your Project Is Based On 45Changing the Target JDK for a Standard Project 46Referencing JDK Documentation (Javadoc) from the Project 46Adding Folders and JAR Files to the Classpath 47Making External Sources and Javadoc Available in the IDE 47Structuring Your Projects 48Displaying and Hiding Projects 50Compiling a Project 50Running a Project in the IDE 55Deploying a Java Project Outside of the IDE 57Building a Project from Outside of the IDE 59Customizing the IDE-Generated Build Script 60Running a Specific Ant Target from the IDE 64Completing Ant Expressions 64Making a Menu Item or Shortcut for a Specific Ant Target 65Chapter 4: Versioning Your Projects 69Setting up CVS in NetBeans IDE 70Checking Out Sources from a CVS Repository 71Putting a Project into CVS 74Keeping Track of Changes 76Updating Files 80Committing Changes 80Ignoring Files in CVS Operations 81Adding and Removing Files from a Repository 82Working with Branches 82Working with Patches 85Working with Versioning Histories 87Working with Other Version Control Systems 89Chapter 5: Editing and Refactoring Code 91Opening the Source Editor 92Managing Automatic Insertion of Closing Characters 93Displaying Line Numbers 94Generating Code Snippets without Leaving the Keyboard 94Using Code Completion 96Inserting Snippets from Code Templates 100Using Editor Hints to Generate Missing Code 108Matching Other Words in a File 109Generating Methods to Implement and Override 110Generating JavaBeans Component Code 111Creating and Using Macros 112Creating and Customizing File Templates 113Handling Imports 115Displaying Javadoc Documentation While Editing 116Formatting Code 116Text Selection Shortcuts 120Navigating within the Current Java File 120Navigating from the Source Editor 124Searching and Replacing 126Deleting Code Safely 131Changing a Method's Signature 135Encapsulating a Field 136Moving a Class to a Different Package 138Moving Class Members to Other Classes 139Creating a Method from Existing Statements 141Creating an Interface from Existing Methods 142Extracting a Superclass to Consolidate Common Methods 143Changing References to Use a Supertype 145Unnesting Classes 146Tracking Notes to Yourself in Your Code 148Comparing Differences Between Two Files 150Splitting the Source Editor 151Maximizing Space for the Source Editor 151Changing Source Editor Keyboard Shortcuts 152Chapter 6: Building Java Graphical User Interfaces 153Using Different Layout Managers 156Placing and Aligning a Component in a Form 157Setting Component Size and Resizability 159Setting Component Alignment 160Specifying Component Behavior and Appearance 161Generating Event Listening and Handling Methods 162Customizing Generated Code 165Previewing a Form 166Using Custom Beans in the Form Editor 166Deploying GUI Applications Developed with Matisse 167Chapter 7: Debugging Java Applications 169Starting a Debugging Session 171Attaching the Debugger to a Running Application 175Starting the Debugger Outside of the Project's Main Class 177Stepping through Code 177Setting Breakpoints 181Managing Breakpoints 185Customizing Breakpoint Behavior 186Monitoring Variables and Expressions 189Backing up from a Method to Its Call 192Monitoring and Controlling Execution of Threads 192Fixing Code During a Debugging Session 194Viewing Multiple Debugger Windows Simultaneously 195Chapter 8: Developing Web Applications 197Representation of Web Applications in the IDE 199Adding Files and Libraries to Your Web Application 203Editing and Refactoring Web Application Files 208Deploying a Web Application 214Testing and Debugging Your Web Application 217Creating and Deploying Applets 219Changing the IDE's Default Web Browser 223Monitoring HTTP Transactions 224Chapter 9: Creating Web Applications on the JSF and Struts Frameworks 233JSF Overview 234Struts Overview 240Chapter 10: Introduction to Java EE Development in NetBeans IDE 251Configuring the IDE for Java EE Development 252Java EE Server Support 255Getting the Most from the Java BluePrints Solutions Catalog 257Chapter 11: Extending Web Applications with Business Logic: Introducing Enterprise Beans 267EJB Project Template Wizards 269Adding Enterprise Beans, Files, and Libraries to Your EJB Module 272Adding Business Logic to an Enterprise Bean 275Adding a Simple Business Method 276Enterprise Bean Deployment Descriptors 280Chapter 12: Extending Java EE Applications with Web Services 283Consuming Existing Web Services 284IDE and Server Proxy Settings 291Creating a WSDL File 292Implementing a Web Service in a Web Application 292Implementing Web Services within an EJB Module 300Testing Web Services 301Adding Message Handlers to a Web Service 304Chapter 13: Developing Full-Scale Java EE Applications 311Creating Entity Beans with the Top-Down Approach 313Creating Entity Beans with the Bottom-Up Approach 321Assembling Enterprise Applications 324Importing Existing Enterprise Applications 328Consuming Java Enterprise Resources 333Java EE Platform and Security Management 341Understanding the Java EE Application Server Runtime Environment 347Ensuring Java EE Compliance 355Refactoring Enterprise Beans 357Database Support and Derby Integration 359Chapter 14: Developing Java ME Mobile Applications 363Downloading and Installing the Mobility Pack 364Mobility Primer 364Configuration vs. Configuration 366Setting up Mobility Projects 366Creating a Project from Scratch 366Importing a Project 367Physical Structure of Mobile Projects 369Using Mobility File Templates 370Configuring the Project's Classpath 372Debugging Your Project 376Configuring Your Project for Different Devices 377Setting the Active Configuration for Your Project 379Reusing Project Settings and Configurations 380Structuring Project Dependencies 382Managing the Distribution JAR File Content 383Handling Project Resources for Different Configurations 384Writing Code Specific to a List of Configurations 385Using the Preprocessor 387Using Configuration Abilities 397Creating and Associating an Ability with a Configuration 398Localizing Applications 400Using the MIDP Visual Designer 402Understanding the Flow Designer 405Understanding the Screen Designer 413Deploying Your Application Automatically 414Incrementing the Application's MIDlet-Version Automatically 417Using Ant in Mobility Projects 417Using Headless Builds 421Using the Wireless Connection Tools 422Finding More Information 426Chapter 15: Profiling Java Applications 427Supported Platforms 428Downloading and Installing the NetBeans Profiler 429Starting a Profiling Session 429The Profiler Control Panel 432Monitoring an Application 435Analyzing Performance 437Analyzing Code Fragment Performance 442Analyzing Memory Usage 443Attaching the Profiler to a JVM 447Chapter 16: Integrating Existing Ant Scripts with the IDE 449Creating a Free-Form Project 451Mapping a Target to an IDE Command 453Setting up the Debug Project Command for a General Java Application 455Setting up the Debug Project Command for a Web Application 457Setting up Commands for Selected Files 462Setting up the Compile File Command 463Setting up the Run File Command 466Setting up the Debug File Command 468Setting up the Debugger's Apply Code Changes Command 470Setting up the Profile Project Command for a General Java Application 471Changing the Target JDK for a Free-Form Project 472Making a Custom Menu Item for a Target 473Debugging Ant Scripts 473Chapter 17: Developing NetBeans Plug-in Modules 477Plug-in Modules 478Rich-Client Applications 478Extending NetBeans IDE with Plug-in Modules 480Setting up a Plug-in Module 481Using the NetBeans APIs 486Registering the Plug-in Module 496Adding a License to a Plug-in Module 497Building and Trying Out a Plug-in Module 499Packaging and Distributing a Plug-in Module 500Packaging and Distributing a Rich-Client Application 502Finding Additional Information 504Chapter 18: Using NetBeans Developer Collaboration Tools 507Getting the NetBeans Developer Collaboration Tools 508Configuring NetBeans IDE for Developer Collaboration 509Creating a Collaboration Account 510Managing Collaboration Accounts 514Logging into a Collaboration Server 518Collaborating and Interacting with Developers 519Appendix A: Importing an Eclipse Project into NetBeans IDE 527Getting the Eclipse Project Importer 528Choosing Between Importing with and Importing without Project Dependencies 529Importing an Eclipse Project and Preserving Project Dependencies 529Importing an Eclipse Project and Ignoring Project Dependencies 532Handling Eclipse Project Discrepancies 534Handling Eclipse Project Reference Problems 534Appendix B: Importing a JBuilder Project into NetBeans IDE 537Getting the JBuilder Project Importer 538Importing a JBuilder 2005 Project 538Project Import Warnings 539Running the Imported Project 540Index 541

最近チェックした商品