NetBeans IDE 8 Cookbook

Over 75 practical recipes to maximize your productivity with NetBeans
Preview in Mapt

NetBeans IDE 8 Cookbook

David Salter, Rhawi Dantas

Over 75 practical recipes to maximize your productivity with NetBeans
Mapt Subscription
FREE
$29.99/m after trial
eBook
$10.00
RRP $29.99
Save 66%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$10.00
$49.99
$29.99 p/m after trial
RRP $29.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


NetBeans IDE 8 Cookbook Book Cover
NetBeans IDE 8 Cookbook
$ 29.99
$ 10.00
Robot Operating System Cookbook Book Cover
Robot Operating System Cookbook
$ 39.99
$ 10.00
Buy 2 for $20.00
Save $49.98
Add to Cart

Book Details

ISBN 139781782167761
Paperback386 pages

Book Description

From the start to the end of a Java project's lifecycle, this book will show you how to perform many key tasks with the NetBeans IDE, uncovering more about mobile, desktop, and enterprise Java along the way.

You will start by creating Java projects and learning how to refactor and use NetBeans tools to increase developer efficiency. You will then get a walkthrough of how to create a desktop application before covering JavaFX and mobile applications and how to use external services within them. Having seen how to create many different types of applications, you will then be shown how to test and profile them before storing them in revision control systems such as Git or Subversion. Finally, you will learn how to extend NetBeans itself by adding new features to the IDE.

Table of Contents

Chapter 1: Using NetBeans Projects
Introduction
Creating a Java application
Creating a Maven application
Using Maven projects
Creating a Free-Form application
Creating a library
Importing an Eclipse project
Chapter 2: Java Development with NetBeans
Introduction
Creating a package
Creating a class
Creating an interface
Running a file
Debugging a class
Formatting the code
Collapsing and expanding code folds
Toggling comments
Fixing and organizing imports
Creating file headers
Changing the look and feel of NetBeans
Chapter 3: NetBeans Productivity
Introduction
Creating a constructor
Creating a logger
Creating a toString() method
Creating a property
Overriding a method
Rename refactoring
Move refactoring
Copy refactoring
Delete refactoring
Change parameters refactoring
Pull up / push down refactoring
Extract interface refactoring
Encapsulate fields refactoring
Replacing a constructor with the Factory pattern
Chapter 4: Developing Desktop Applications with NetBeans
Introduction
Creating a Swing application
Adding components to a form
Creating menus
Creating dialogs
Creating toolbars
Responding to events
Building a distributable application from NetBeans
Chapter 5: NetBeans Enterprise Application Development
Introduction
Adding WildFly support to NetBeans
Adding TomEE support to NetBeans
Creating a web application
Creating a web application with JSF support
Adding JSF support to a web application
Creating a JSF composite component
Creating an EJB
Creating a Message Driven EJB
Creating a timer
Creating a REST web service
Using the Chrome Connector
Chapter 6: Managing Databases with NetBeans
Introduction
Connecting to Java DB
Registering and managing a MySQL Server
Connecting to Microsoft SQL Server and Oracle
Connecting to PostgreSQL
Managing a SQL database
Connecting to MongoDB
Chapter 7: NetBeans JavaFX
Introduction
Creating a JavaFX application
Graphical editing of FXML files
Styling a JavaFX application with CSS
Creating and using a JavaFX custom control
Deploying a self-contained application
Chapter 8: NetBeans Mobile Development
Introduction
Adding mobile support to NetBeans
Creating an MIDP application
Adding Android support to NetBeans
Creating an Android application
Chapter 9: Version Control
Introduction
Initializing a Git repository
Cloning a Git repository
Checking out from a Subversion repository
Getting the history of a file
Committing and pushing code changes
Creating a Diff patch
Branching a repository
Chapter 10: NetBeans Testing and Profiling
Introduction
Installing JUnit support into NetBeans
Creating a JUnit test for an existing class
Creating a JUnit test
Creating a JUnit test suite
Running tests
Creating a TestNG unit test
Profiling an application
Chapter 11: Using External Web Services
Introduction
Getting a list of Delicious bookmarks
Adding a Delicious bookmark
Getting a list of recent photos on Flickr
Geocoding with Google Maps
Verifying an e-mail address with StrikeIron
Adding an additional web service into NetBeans
Chapter 12: Extending NetBeans
Introduction
Creating a NetBeans module
Packaging a NetBeans module for deployment

What You Will Learn

  • Develop a variety of application types using different libraries with Ant, Maven, and NetBeans
  • Refactor code efficiently and quickly
  • Manage databases with ease from within your IDE
  • Configure your mobile development environment
  • Develop enterprise applications using the latest Java EE 7 technologies
  • Version-control your applications with a variety of different providers
  • Use the latest testing and profiling tools
  • Extend NetBeans with an array of new features

Authors

Table of Contents

Chapter 1: Using NetBeans Projects
Introduction
Creating a Java application
Creating a Maven application
Using Maven projects
Creating a Free-Form application
Creating a library
Importing an Eclipse project
Chapter 2: Java Development with NetBeans
Introduction
Creating a package
Creating a class
Creating an interface
Running a file
Debugging a class
Formatting the code
Collapsing and expanding code folds
Toggling comments
Fixing and organizing imports
Creating file headers
Changing the look and feel of NetBeans
Chapter 3: NetBeans Productivity
Introduction
Creating a constructor
Creating a logger
Creating a toString() method
Creating a property
Overriding a method
Rename refactoring
Move refactoring
Copy refactoring
Delete refactoring
Change parameters refactoring
Pull up / push down refactoring
Extract interface refactoring
Encapsulate fields refactoring
Replacing a constructor with the Factory pattern
Chapter 4: Developing Desktop Applications with NetBeans
Introduction
Creating a Swing application
Adding components to a form
Creating menus
Creating dialogs
Creating toolbars
Responding to events
Building a distributable application from NetBeans
Chapter 5: NetBeans Enterprise Application Development
Introduction
Adding WildFly support to NetBeans
Adding TomEE support to NetBeans
Creating a web application
Creating a web application with JSF support
Adding JSF support to a web application
Creating a JSF composite component
Creating an EJB
Creating a Message Driven EJB
Creating a timer
Creating a REST web service
Using the Chrome Connector
Chapter 6: Managing Databases with NetBeans
Introduction
Connecting to Java DB
Registering and managing a MySQL Server
Connecting to Microsoft SQL Server and Oracle
Connecting to PostgreSQL
Managing a SQL database
Connecting to MongoDB
Chapter 7: NetBeans JavaFX
Introduction
Creating a JavaFX application
Graphical editing of FXML files
Styling a JavaFX application with CSS
Creating and using a JavaFX custom control
Deploying a self-contained application
Chapter 8: NetBeans Mobile Development
Introduction
Adding mobile support to NetBeans
Creating an MIDP application
Adding Android support to NetBeans
Creating an Android application
Chapter 9: Version Control
Introduction
Initializing a Git repository
Cloning a Git repository
Checking out from a Subversion repository
Getting the history of a file
Committing and pushing code changes
Creating a Diff patch
Branching a repository
Chapter 10: NetBeans Testing and Profiling
Introduction
Installing JUnit support into NetBeans
Creating a JUnit test for an existing class
Creating a JUnit test
Creating a JUnit test suite
Running tests
Creating a TestNG unit test
Profiling an application
Chapter 11: Using External Web Services
Introduction
Getting a list of Delicious bookmarks
Adding a Delicious bookmark
Getting a list of recent photos on Flickr
Geocoding with Google Maps
Verifying an e-mail address with StrikeIron
Adding an additional web service into NetBeans
Chapter 12: Extending NetBeans
Introduction
Creating a NetBeans module
Packaging a NetBeans module for deployment

Book Details

ISBN 139781782167761
Paperback386 pages
Read More

Read More Reviews

Recommended for You

Mastering NetBeans Book Cover
Mastering NetBeans
$ 39.99
$ 10.00
Java EE 7 Development with NetBeans 8 Book Cover
Java EE 7 Development with NetBeans 8
$ 29.99
$ 10.00
JavaFX Essentials Book Cover
JavaFX Essentials
$ 27.99
$ 10.00
Learning Reactive Programming with Java 8 Book Cover
Learning Reactive Programming with Java 8
$ 35.99
$ 7.20
JavaFX 1.2 Application Development Cookbook  Book Cover
JavaFX 1.2 Application Development Cookbook
$ 23.99
$ 10.00
NetBeans Platform 6.9 Developer's Guide Book Cover
NetBeans Platform 6.9 Developer's Guide
$ 23.99
$ 10.00