Netbeans Collaboration

hundredhonkSoftware and s/w Development

Aug 15, 2012 (5 years and 11 months ago)


Netbeans Collaboration
Holger Paffrath, March 2009
Netbeans has the capability to allow multiple developers to collaborate during development. The

collaboration service allows developers to communicate with each other through a chat style

interface while allowing them to share files. Updates to shared files are shown after a slight delay,

but areas of change are highlighted.
The following tutorial goes through setting up A collaboration server and setting up netbeans to talk

to the collaboration server.
Setting Up A Private Netbeans Collaboration Server
Netbeans developer collaboration modules use the XMPP protocol for communication with the

central collaboration server. Netbeans has been fully tested with the latest OpenFire XMPP server

from Ingnite Realtime.

Step 1: Download the OpenFire software for your server platform from
For Unix (Redhat) :

Become root (su or sudo)

go to /opt

tar zxf openfire_3_6_3.tar.gz (or install the .rpm if downloaded)

openfire/bin/ start
Step 2: Configure OpenFire

Log into the admin console on

Choose which language you wish to use (English default)

Select the server settings, these should come up with the host name and port numbers by


Choose the database you wish to use. You have a choice of external or internal.

When selecting a database, the following options are available



Microsoft SQL Server



Once a database is selected, enter the configuration details and press continue.

The alternative which will be used in this tutorial is to use the Embeded database.

Next is where the profile settings will be stored.
The default setting is to store them in the server database.
A better option is to store them on an LDAP Server.
The final option is integration with Clearspace.
For this tutorial, the settings will be stored on the server database.

Set up the Admin Account

Enter the admin password “sun123” and the email address of the administrator.

Setup will be complete, now to log into the admin console

Log into the Admin Console
Click on “Group Chat” then “Group Chat Settings”
You will see a Service called “conference”.
Click on “conference” and select “Delete Service”
Now we need a new service to replace the deleted one that does not contan the word “conference”.
Click on “Create New Service” and fill in the field “Group Chat Service Name”.
In the example below, the service name given was “Netbeans”.

Save properties. Now to create the users.
Creating Users
Click on the “Users/Groups” tab.
Select “Create New User”
Enter the details for the user and select the “Create User” button.
Configure Netbeans
Go to Netbeans/Tools/Plugins
select the Settings tab and make sure that Netbeans is checked.
Go to the Available Plugins tab and select “Reload Catalog”.
The “Developer Collaboration” plugin will now be visible. Select it and click install.
Back to the main menu, a new Menu item is now visible, “Collaboration”. Select this item and then

To the Right hand side, a new window pane will appear with only one big button, called “Manage

Accounts”. Press it.
Now we tell Netbeans about the accounts to use.
Select “I have an existing account on a collaboration server and just need to configure this computer

to access it”. Then click “Next”
Give a Display name, this is your actual name. For example, “John Smith”.
Set the host name of the collaboration server and any proxy settings to access it if required, then

click “Next”.
Enter the user name created earlier and click Finish.
The collaobration window will now have a user that can login.
Enter a password and log in.
The login button can be found at the bottom of the pane.
The Collaboration window will now change to....
At the top of the collaboration window, you have 4 buttons.
The first button sets your visible status.
Online, busy, Away and invisible. Just like most chat programs.
The second button allows you to add contacts.
There is the option to do a text search by either name or ID.
The third button allows you to subscribe to an existing conversation.
Finally, the last button allows you to start a conversation.
There are 3 areas to the conversation window.
The first being the Active and Invited participants in the conversation.
The project collaboration area where you can drag a project to collaborate on.
And lastly, the chat window.
To start a conversation about a particular java file or project, simply drag and drop the project or file

into the project collaboration area.