Over a million developers have joined DZone.

NetBeans IDE 8 Cookbook

· Java Zone

Microservices! They are everywhere, or at least, the term is. When should you use a microservice architecture? What factors should be considered when making that decision? Do the benefits outweigh the costs? Why is everyone so excited about them, anyway?  Brought to you in partnership with IBM.

The newly released "NetBeans IDE 8 Cookbook" covers all aspects of Java development with NetBeans 8. 


The book follows a "recipe" format with over 75 recipes in 12 chapters showing how to perform different types of tasks within NetBeans 8.  Although the book is a second edition, I've updated pretty much all of the recipes over the previous version and added many new recipes.

The 12 chapters are as follows, with an image for each chapter included:

  • Chapter 1 - Using NetBeans projects. 
    This covers how to create projects and libraries using NB, Maven, Ant

  • Chapter 2 - Java Development with NetBeans
    How to create classes/packages etc.  How to run / debug / organise code etc.

  • Chapter 3 - NetBeans Productivity
    The chapter covers refactoring and quick access to code, e.g. creating loggers, toString() etc.

  • Chapter 4 - Developing Desktop Applications with NetBeans
    This chapter shows how to create a complete sample Swing application in NetBeans.

  • Chapter 5 - NetBeans Enterprise Application Development
    This chapter shows how to use WildFly and TomEE to create different types of EE applications and artifacts.

  • Chapter 6 - Managing Databases with NetBeans
    How to connect to SQL / NoSQL databases from within NetBeans, and how to issue queries against them.

  • Chapter 7 - NetBeans Java FX
    How to create and deploy Java FX applications using NetBeans and integrating with Scene Builder.

  • Chapter 8 - NetBeans Mobile Development
    How to use Java ME to create MIDP applications.  Also creating Android applications within NetBeans.

  • Chapter 9 - Version Control
    How to use Git, SVN, Mercurial, CVS from within NetBeans.

  • Chapter 10 - NetBeans Testing and Profiling
    Creating JUnit / TestNG cases/suites and how to profile apps.

  • Chapter 11 - Using External Web Services.
    This chapter shows how to connect to Delicious, Flickr, Google Maps, StrikeIron and additional 3rd party web services from within NetBeans.

  • Chapter 12 - Extending NetBeans
    How to create a NetBeans module and package it up for the NetBeans update centre.

The book is useful to anyone who uses NetBeans and wants to get more productive in using it.  All the chapters sort of follow on from the previous, building up on the knowledge of earlier chapters.  If you just want to know how to create JavaFX apps in NetBeans for example though, you can just read the relevant chapter and you should learn what is needed.  Where earlier recipes are useful, that's pointed out in the text, so the reader should be able to pick up a recipe and just read that to gain the required knowledge.

On the Packt web site, you can get a free sample of the book:


This gives a good example of the style of the book and the sort of contents that are in it.

Discover how the Watson team is further developing SDKs in Java, Node.js, Python, iOS, and Android to access these services and make programming easy. Brought to you in partnership with IBM.


Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}