Skip to Content

NetBeans Training Course Outline

Basic NetBeans Platform Training

We offer NetBeans training in two parts. The first 3 days of the course are the basic NetBeans platform training course and the last two days covers the advanced  course.

Basic NetBeans Platform Training

Day 1

Getting Started with the NetBeans Platform

Without assuming any knowledge of the NetBeans Platform at all, we start by introducing you to the most basic concepts: why does the NetBeans Platform exist? What does it do? Who is it for? We introduce you to several of the existing applications on the NetBeans Platform and give you a high-level introduction to the main features of the NetBeans Platform. At the end of the session, you are shown how to port a simple application to the NetBeans Platform... in 5 minutes. The session wraps up with an overview of all the resources that are available to help you become proficient with the NetBeans Platform.

Module System

The central benefit of the NetBeans Platform is that it is modular. The benefits of modularity are discussed and shown in detail during this session. The concept of modularity is explained in some detail, with the NetBeans module system and OSGi both being introduced. Lifecycle management services, module installers, and bundle activators will also be covered. A central concept in the NetBeans Platform is its loose coupled modules, which is achieved via the Lookup API and the FileSystem API, both of which are introduced during this session. At the end of the session, you are shown how to use these two APIs in some live demos.

Window System

The NetBeans docking framework, that is, the window system, enables you to show complex data in many different windows at the same time. Quickly, you will leave the JFrame behind and start using TopComponents instead. The Matisse GUI Builder will be introduced and you will create JPanels that can be displayed within TopComponents in the window system. Data persistence, TopComponent groups, and Modes are also covered. The session finishes with a porting procedure showing how to move a standard Java SE application to the NetBeans Platform via moving JFrames to TopComponents.

Workshop

The workshop will let you work on your own, with a detailed step-by-step exercise, followed by some tasks that you will need to complete on your own. The topics covered in the workshop will cover everything that you have learned in the earlier sessions.
 

Day 2

Nodes

A key advantage of the NetBeans Platform is that it lets you very quickly and powerfully work with business objects. The Nodes API wraps business objects, letting you provide features such as a display name, icon, actions, and properties. These will be covered in detail, as well as how the Lookup API applies in this context. At the end of the session, you will be shown how to create Nodes, via NetBeans API factory classes.

Explorer Views

The explorer views are NetBeans API Swing components for displaying Nodes. In this session, you will be introduced to the most important explorer views and you will be shown how these are used to display Nodes. You will also be shown how to use the Nodes and explorer views outside the NetBeans Platform, in a standard Java SE application. At the end of the session, you will be comfortable with NetBeans API explorer views and you will know how they can be used to display your business objects via the Nodes introduced in the previous session.

Visual Library

A central part of the NetBeans Platform is its widget library. Extracted from the NetBeans IDE's mobile designer, you can use this API in any application to visualize data in interesting ways via widgets that have a large set of predefined features. After being introduced to the widget library, you will be guided through a simple scenario that will teach you how to use widgets in your own applications.

Workshop

In the workshop, you will take the application you created at the end of the second day and enhance it with Actions, Options panels, JavaHelp, and the other features covered during the sessions covered above. You will also be given some additional tasks to ensure you have grasped the principles covered throughout the training.

Day 3

Actions (Menus, Toolbars, Keyboard Shortcuts)

The NetBeans Platform provides a centralized registry for Action classes. You will be shown how to port the AbstractActions and ActionListeners common in standard Java Swing application to the NetBeans Platform. After being shown how to register your Actions, you will be introduced to the various different ways in which they can be invoked, from menu items, toolbar buttons, and keyboard shortcuts. The topic of context-sensitive Actions will be a special focus of this session.

Miscellaneous (Dialogs, Options, etc)

In this session, the most important of the many other NetBeans APIs will be highlighted. In particular, you will be introduced to the NetBeans Platform set of standard dialogs, as well as the NetBeans Wizard framework. Next, you will be shown how each module can provide its own Options panels that are centrally registered. Other miscellaneous features typical to large desktop applications, such as JavaHelp and progress bars, will also be covered in this session.

Distribution

A very important topic, this session covers how to make your application, and its plugins, available to end users. Not only ZIP distribution and installers, but also Java Web Start, will be covered. You will learn how to create an on-line repository for your modules and how the user is able to register that repository and install the modules it contains. The topic of silent updates of NetBeans Platform applications will also be touched upon.
Workshop 


Toni Epple - Java Consultant & Trainer


Toni Epple Netbeans Module writer

Anton (Toni) has more than 10 years experience leading Java projects and has published many articles on the topic.

He is a consultant worldwide for a wide variety of companies, ranging from startups to Fortune 500 companies, in many areas, including finance institutions and aerospace.

In his spare time, Anton is community leader for the JavaTools Community at Java.net and a member of the NetBeans Dream Team and Governance Board. His current focus is on bringing OSGi to the NetBeans platform.

Netbeans Performance Architect Course Objectives

Though knowledge of the NetBeans Platform will be helpful, it is definitely not a requirement for students attending this course. Objectives include:

  • How to define what's in a module, which parts should be public APIs,
  • How to integrate with third party stuff,
  • Advanced APIs used,
  • Datasystems API,
  • Advanced use of lookups (lazy loading etc),
  • Testing,
  • Deployment: Smart update centers,
  • and important contrib modules.

During the course students will develop the Visual OSGi Designer application

Netbeans Java Videos

In preparation for our upcoming course, here are some links to tutorial videos which may be useful to gain further insight into the Netbeans platform.

Top API's used on the Netbeans platform
http://platform.netbeans.org/tutorials/nbm-10-top-apis.html

Creating an application on Netbeans 6.9 platform
http://netbeans.org/kb/docs/ide/platform-screencast.html

Netbeans IDE 6.9 screencasts
http://netbeans.org/kb/docs/intro-screencasts.html

General screencasts for Netbeans 6.X
http://netbeans.org/kb/docs/screencasts.html