Apress Access

The Definitive Guide to NetBeans Platform 7

By Heiko Bck

  • eBook Price: $45.99
Buy eBook Buy Print Book
The Definitive Guide to NetBeans™ Platform 7 is a thorough and authoritative introduction to the NetBeans Platform, covering all its major APIs in detail, with relevant code examples used throughout.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-4302-4101-0
  • 592 Pages
  • User Level: Beginner to Advanced
  • Publication Date: December 27, 2011
  • Available eBook Formats: EPUB, MOBI, PDF

Related Titles

  • Go Recipes
  • Certified OpenStack Administrator Study Guide
  • Python Recipes Handbook
  • Beginning Elastic Stack
  • Beginning Hibernate, 4th Edition
  • Practical LPIC-1 Linux Certification Study Guide
  • Learn CakePHP, Second Edition
  • PHP Development Tool Essentials
  • Practical D3.js
  • Learning Groovy
Full Description

The NetBeans Platform is the world's only modular Swing application framework, used by very large organizations in mission-critical scenarios, such as at Boeing and Northrop Grumman, as well as in the financial sector and in the oil/gas industry. For these large customers in enterprises who are increasingly interested in Maven and OSGi, the book will have particular relevance.

The Definitive Guide to NetBeans™ Platform 7 is a thorough and authoritative introduction to the open-source NetBeans Platform, covering all its major APIs in detail, with relevant code examples used throughout.

  • Provides a completely updated definitive guide to the NetBeans Platform, using the latest APIs, coding patterns, and methodologies.
  • Focuses strongly on business features in an application, since Oracle's customers are particularly interested in business-related aspects. For example, how to use OSGi, how to add authentication/security, how to monetize from a modular application.

The original German book on which this title is based was well received. The NetBeans Platform Community has put together this English translation, which covers the latest NetBeans Platform 7 APIs. With an introduction by known NetBeans Platform experts Jaroslav Tulach and Tim Boudreau, this is the most up-to-date book on this topic at the moment.

All NetBeans Platform developers will gain something from this book, because several topics in the book have not been documented anywhere else.

What you’ll learn

  • How to get started using the NetBeans Platform with or without using NetBeans IDE.
  • How to set up a modular application, using either Ant or Maven as a build system.
  • How to get acquainted with all the NetBeans Platform's APIs.
  • How to work with the Visual Library as a very popular and powerful widget library, covering all its features in detail.
  • How to model an application in OSGi/EMF and using the model in an application on the NetBeans Platform.
  • How to distribute a modular application, focusing on different strategies for monetizing from its modular architecture.

Who this book is for

The Definitive Guide to NetBeans™ Platform 7 is for large enterprises who are not interested in reinventing the wheel whenever they create a new applications, and open source communities who typically benefit from a modular architecture, because a plugin system (as provided by the NetBeans Platform) simplifies how contributions can be made to a project.

Table of Contents

Table of Contents

  1. Introduction
  2. Structure of the NetBeans Platform
  3. The NetBeans Module System
  4. The OSGi Framework
  5. Lookup Concept
  6. Actions
  7. Data and Files
  8. Tips and Tricks
  9. Menubar and Toolbar
  10. Window System
  11. Statusbar and Progressbar
  12. Nodes and Explorer
  13. Dialogs and Wizards
  14. Visual Library
  15. Tips and Tricks
  16. Help System
  17. Output Window
  18. Navigator
  19. Properties
  20. Options and Settings
  21. Palette
  22. Palette API
  23. Tasklist API
  24. Quick Search API
  25. Auto Update Services API
  26. Java DB
  27. Hibernate
  28. Java Persistence API
  29. MySQL and EclipseLink
  30. Web Services
  31. Java Beans (JEE)
  32. RESTful Web Services
  33. Authentication and Multi-User Login
  34. Internalization and Localization
  35. Branding and Packaging
  36. Update of a NetBeans Platform Application
  37. Maven and the NetBeans Platform
  38. Eclipse IDE and the NetBeans Platform
  39. From Eclipse to NetBeans
  40. IntelliJ IDEA and the NetBeans Platform
  41. NetBeans Swing GUI Builder
  42. Testing NetBeans Platform Applications
  43. Debugging with the NetBeans DIE
  44. MP3 Manager


Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


If you think that you've found an error in this book, please let us know by emailing to editorial@apress.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.

On page 90 (in the PDF):

The last code example in the "Reading and Writing Data" section shows the following code:

FileObject myFile = ...
for (String line : fo.asLines()) {
// process the line

The second line variable name should be "myFile" not "fo", as in:

FileObject myFile = ...
for (String line : myFile.asLines()) {
// process the line

On page 105:

(Page 99 in Adobe Reader)

In code excerpt, there is German expression for "or" in the code comment: "oder"

try {
} catch(Exception e) {
logger.log(Level.SEVERE, null, e);
// oder
logger.log(Level.WARNING, null, e);


    1. Beginning NetBeans IDE


      View Book

    2. Java EE 7 Recipes


      View Book

    3. Pro Netbeans IDE 6 Rich Client Platform Edition


      View Book