Suite Chaining & More with NetBeans Platform 6.7

Above, there are three new buttons in the Project Properties dialog of my application, in NetBeans IDE 6.7—one for automatically resolving missing dependencies, another for including a single module from somewhere else into the application, and the final one adds an entire cluster.

So, what does this mean? Well, remember how Java VisualVM is now in the JDK (since JDK 6 Update 7)? I can now click the "Add Cluster" button and browse to the JDK, to its "lib/visualvm/visualvm" folder (which is a cluster of NetBeans modules) and then the VisualVM JARs, from the JDK (i.e., no special downloading of anything at all) are available to my application.

In the same way, you can now reuse single modules or groups (clusters) of modules from one application in another application, which is especially relevant in companies developing several applications on top of the NetBeans Platform (or their own platform on top of the NetBeans Platform) where they typically have a set of modules that they'd like to share between their various applications. In the past, the question of "suite chaining" was always a fidgety Ant-scripting process that had to be implemented manually. Now it's a point and click process. Hurray.


I couldn't actually get reuse of an module or cluster to work in my testing with 6.7 M3. Can you provide an overview of how to do this?? For example, if I create a Module M1, how can I use it among Platform Application A1 and A2?


Posted by john on April 08, 2009 at 12:30 PM PDT #

Nevermind to the above request. You have to navigate to the build/cluster directory. 6.7 M3 has a bug relating to this I think which was a bit confusing.

Posted by john on April 09, 2009 at 11:50 PM PDT #

Thanks Geertjan for spreading the word :). Just for further readers: I've also added developer FAQ at

Posted by Richard on June 09, 2009 at 02:25 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.


« April 2014