Free Sample
+ Collection

NetBeans IDE 7 Cookbook

Rhawi Dantas

Over 70 highly focused practical recipes to maximize your output with NetBeans
RRP $26.99
RRP $44.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849512503
Paperback308 pages

About This Book

  • Covers the full spectrum of features offered by the NetBeans IDE
  • Discover ready-to-implement solutions for developing desktop and web applications
  • Learn how to deploy, debug, and test your software using NetBeans IDE
  • Another title in Packt's Cookbook series giving clear, real-world solutions to common practical problems

Who This Book Is For

Java developers of all levels who use NetBeans will be able to learn from and implement the thorough and well-explained solutions given in this Cookbook. If you want an easy reference on your desk to solve most of your day-to-day development queries with NetBeans, this book is for you.

Table of Contents

Chapter 1: NetBeans Head First
Creating a Java Project Using Wizard
Creating libraries
Sharing libraries
Importing Projects from Eclipse
Importing existing Maven Projects
Chapter 2: Basic IDE Usage
Creating a Java Project using Maven support
Creating a package
Creating a class
Running the main class
Debugging a class
Creating constructors
Generating toString(), equals(), and hashCode()
Generating getters and setters
Chapter 3: Designing Desktop GUI Applications
Creating a Java Desktop Application
Creating a Frame
Creating a Panel
Adding Event Listeners
Connecting your Application to a Database
Creating a customized icon for your application
Making executable Java Desktop Applications
Chapter 4: JDBC and NetBeans
Setting up with MySQL
Setting up with PostgreSQL
Setting up with Apache Derby/Java DB
Setting up with Oracle
Built-in SQL editor
Chapter 5: Building Web Applications
Creating a web project using the wizard
Introduction to Java EE 6 using NetBeans
Adding JSF as a web framework
Using JSF as a web framework
Using Apache Struts as a web framework
Using GWT as a web framework
Chapter 6: Using JavaFX
Creating a JavaFX Project
Build UI with NetBeans JavaFX Composer
Connecting JavaFX Application to Web Service
Connecting JavaFX Application to Database
Application States in JavaFX
Chapter 7: EJB Application
Creating EJB project
Adding JPA support
Creating Stateless Session Bean
Creating Stateful Session Beans
Sharing a service through Web Service
Creating a web service client
Chapter 8: Mobile Development
Creating CLDC/MIDP applications
Creating CDC applications
Using the Visual Mobile Designer
Beautifying your mobile application
Chapter 9: Java Refactoring
Renaming elements
Moving elements
Extracting a superclass
Extracting an interface
Encapsulating fields
Chapter 10: Extending the IDE
Creating a new project Wizard
Creating a new file wizard
Creating options panels
Chapter 11: Profiling and Testing
Profiling Java code
Creating unit tests
Using SQE for improved code quality
Monitoring HTTP connections
Using the JMeter load generator
Chapter 12: Version Control
Adding a project to Subversion
Checking in modifications
Working with a Subversion branch
Resolving conflicts in Subversion
Creating a Mercurial project
Cloning a Mercurial repository
Committing to a Mercurial project

What You Will Learn

  • Get to grips with quick development patterns using NetBeans Platform
  • Step up your mobile development environment using NetBeans
  • Refactor faster and better
  • Work with a variety of web frameworks via NetBeans
  • Create and integrate different projects and technologies
  • Link up various servers and databases with NetBeans
  • Master the art of testing using NetBeans
  • Version-control your systems from the comfort of your IDE

In Detail

Java IDEs have grown bigger and more complicated with time. Some development environments even require the user to spend countless hours searching for more software to bundle with the IDE just to start working. NetBeans abstracts much of the work needed to configure the environment and makes it convenient for Java developers to start coding straight away. With this book in hand you will tap into the endless possibilities of developing modern desktop and web applications in Java.

NetBeans IDE 7 Cookbook is perfect for you if you are ready to take the next step from the standard tutorials and move into the practical world. It will show you all the features of the NetBeans IDE used by Java developers. It goes to great lengths in explaining different ways of achieving a desired goal and uncovering features present in NetBeans that are often overlooked or forgotten.

The NetBeans IDE 7 Cookbook will appeal to Java programmers at all levels who are ready to go beyond just tutorials.


Read More