NetBeans Platform Certified Training
Hi guys, I just attended the NetBeans Platform Certified Training organized by NUG Nagpur leader Mr. Tushar Joshi and given by Geertjan Wielanga on 27-28 November. This training was a two day training which acquainted the trainees about the NetBeans Platform and all its features. This training was held through WebEx and Skype and we had participants from India, Toga and Canada. So it was an International Training in some sense. Here is the complete debrief of the training…
Well we basically started with a brief introduction to the NetBeans Platform and Geertjan cleared all the doubts that people had regarding the Platform. He also told the advantages of using the NetBeans Platform for developing Rich Client Platform Applications (I assume here that you understand RCP applications).
Also we learnt how to divide our applications into Modules thus making it simpler to manage the application. Also dividing an application into modules makes it more extensible and gives it plug-ability as all the modules are independent of each other and making some changes in one does not affect the other. Thus Modularity is an important feature in RCP application developement.
Then we moved onto Dependency Management. Well to explain in simple words, NetBeans developers have created many APIs that can be directly used for your application development. This saves a lot of coding time as most of the code is written by someone else and we just modify that according to our needs. all you need to do is to add the API in your Library folder and voilà you have all the features of that API.
The third thing that we learnt was the use of Lookup. Lookup library was designed the main problem of Component communication. It deals with how the components register with the system and how other components look up onto them.
We also learnt Java Extension mechanism which is a mechanism that allows to make custom APIs available to all the running applications on Java Platform. After the release of JDK 1.3 the are also termed as Optional Packages.
Then we moved onto the last topic of Day 1, Central Registry. Central registry is a feature that allows you to use the File System without importing the java.io.file class making coding simpler.
All throughout the day we were using the above mentioned features for developing a Word Editor that allows to convert Lower Case letters to Upper Case. It was not a Regular Swing Word Editor as it was very intricately designed, although it may look like a swing application.
Day 1 ended with a Question-Answer session in which participants asked their doubts to Geertjan and he cleared all of them.
Day 2 started with a revision of all the things we covered on Day 1 and a small discussion session that Geertjan asked to hold so that he could check how much we had understood. To do this he had given us 3 questions which we had to discuss amongst ourselves and mail him the answers.
Then as we moved on we learnt the Nodes API. It is an API that is very useful in creation of a BeanTree View in NetBeans. Data can be represented using Nodes. The nodes allow the implementation of Icons and actions to them. These are the types of Nodes
1) BeanNode 2) AbstractNode 3) DataNode 4) FilterNode
Then we learnt the concept of Explorer Manager. Explorer Manager is an API that is used to manage all the views created by the developer. It listens to all the changes happening in the Node and thus can be used to control all the nodes including the root node. It should be implemented as ExplorerManager.Provider .
The next step of our training was Visual Management. Visual management was one of the most interesting topics of the training as it dealt with the management of the Views. The Explorer Manager is used to control the views and hence Visual Management involves extensive use of it.
Next it was time to learn how to give Actions to the components. We learnt to provide a drag-and-drop action to our node. This is where the creativity in you can be used. Providing Actions to Views requires a lot of creativity.
The Final part of out training was Widgets. Widgets are nothing but components that can be animated to give a rich look to the application. We designed a drag-and-drop widget. If we drag a node and place it into the text area we had defined below the text would appear in it.
All throughout the Day 2 we designed a Student Registration application using all the above features.
Day 2 ended on a very high note with all the trainees really happy.
All the trainees who completed the training are now NetBeans Certified Associates but what matters more is we understood what it takes to develop a very good looking and equally functional RCP application.
A special thanks to Geertjan Wielanga for giving us his precious time. Also a big thanks to Tushar Joshi who made all this happen.
This post of mine is dedicated to all the NUG Nagpur members who I became friends within the course of this training and to Tushar Joshi Sir.
Thank you all
Here is our group photo