Saturday Jan 23, 2010

NetBeans Keyring API

There is a new API in NetBeans 6.9 (Platform and IDE) for storing passwords securely:

If you maintain a module that needs to persist passwords or similar confidential data, use this API rather than relying on ROT-13 obfuscation or the like.

Besides a generic fallback implementation based on a master password (akin to the system in Firefox), there are special implementations unlocked by user login for Gnome ("Passwords and Encryption Keys"); Mac OS X (Keychain); and Windows (custom encrypted storage). If anyone out there is experienced with JNA and/or security APIs and would like to tune one of the implementations, or add support for other platforms (e.g. KWallet), that would be great; just file bug reports blocking

The API has few dependencies on the rest of the NB Platform, so it could be broken out into a library on if there is sufficient interest. (Since it seems like a fundamental service, in the long run it would be nice to have something similar in the Java platform.)

The above is copied from an e-mail by Jesse Glick on the mailing list from 12/12/2009.

List of Upcoming NetBeans Platform Trainings!

The NetBeans Platform Certified Training is scheduled to be delivered in (at least) the following locations in the coming two months:

  • The Norwegian Marine Data Center in Bergen, Norway, has expressed interest in hosting a NetBeans Platform Certified Training, probably in March or April. They're making contact with local institutions and universities, to see whether a related free training could be held (which ultimately would be beneficial to the Norwegian Marine Data Center, because they'd then have a place where they could get skilled NetBeans Platform developers to fill job vacancies).

  • The University of Belgrade, Serbia, has set up a NetBeans User Group. They're interested in using the NetBeans Platform for teaching and research purposes. They'd also like to move a GUI neural network editor for Neuroph, a lightweight Java neural network framework to develop common neural network architectures, to the NetBeans Platform. Moreover, they've expressed an interest in creating a few NetBeans Platform trainers of their own and of incorporating the training material into the university's official courseware.

  • The Polish Java User Group in Cracow, Poland, would like a training too. Some of their members wanted to come to the recent training in Poznan, Poland, but there were quite a lot of people from the local area already: now they're organizing a separate training in Cracow. There's also interest in Łódź, Poland, for a training (again from people who couldn't make the Poznan training).

  • The Braunschweig University of Technology will be holding a NetBeans Platform Certified Training on 15 and 16 February.

In addition to the above, consultancies such as Eppleton in Munich, Germany, are also organizing trainings.

If you'd like to host a NetBeans Platform Certified Training too (free for universities and non-profits, while a paid course exists for companies), write to If you'd like to join in with the trainings listed above (or if you're in the same area as the above locations and you'd like to have a separate training in the same area, which could be convenient to arrange during the same timeframe), write there and let us know.

After all, the NetBeans Platform is the world's only modular Swing application framework and more and more mission critical enterprise applications are making use of it. Time to jump on the bandwagon!

Note: If you've taken the course in the past, you're welcome to join us on any of the above trainings, to talk about your projects on the NetBeans Platform, to share tips & tricks with new students in this area, and to, in that way, participate actively in the NetBeans community. Several ex-students have done this in the past and have found it a very beneficial experience. It's also one step in becoming a NetBeans Platform trainer yourself.


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.


« January 2010 »