Day 2 | Plugin Dev Workshop

Day 2- September 6, 2008

Time to deliver, its my first ever workshop outside my campus, and this time I was representing NetBeans Dream Team, as well as JIIT University. I came back early on Day 1, to prepare for this event.

NetBeans Plugin Development Workshop

It got started in rather unusual way. I had my workshop from 2: 00 – 3: 00 PM, so I reached Amity at 1: 45 PM. I thought, its better to reach early and setup everything to get started on time, but this was not to happen, as I am told, that my event got postponed by an hour.

Now, what…

Well, I attended, another FOSS event last year, in JNU, New Delhi and they also had some re-scheduling of events at last moment. So, it seems to me, its normal in every such event. I am not generalizing, its just my observation, feel free to voice your opinion on such events, by commenting on my blog.

Another Surprise…

I was sitting in their Computer Lab, along with Saurabh and new CA’s. It was around 2: 20 PM and I am suddenly told to start with workshop, because the person who got his event postponed from Morning to 2: 00 PM, was not reachable.

For a moment, I couldn’t realise what was happening? Then, I took centrestage, and saw computer was yet to be configured with the projector. They had no microphone, maybe its not possible to have one in labs. Also, I haven’t seen such facility even in my univ. labs.

Getting Started

Ankit Srivastava, India Student Coordinator started asking some general questions on NetBeans to keep them busy, while Angad, CA Tech Lead was configuring the system. He’s indeed a tech guru, I was using his Laptop for my workshop, which he had won during Code For Freedom, last year.

Finally, at 2: 35 PM, workshop got started by Angad who introduced me to the new CA’s, they were nearly 20+ Then, I took over and asked them 2 questions-

  • Why do we create Netbeans plug-in modules?
  • Why is there Terminology confusion?
    • RCP Book- The Benefits of Modular Programming

Followed by 2 exercises, I had planned to do with them.

  • Lets go inside NetBeans IDE
  • Now, lets go a bit deeper inside NetBeans IDE

Unfortunately, they had not installed NetBeans 6.5 Beta, instead I was told, the CA’s would be using NetBeans 6.0 in the labs. Anyways, the plug-in I had chosen for the workshop was flexible enough, that I could have used 5.5 release for delivering the workshop too!

Lets go inside NetBeans IDE

So, we started developing the plug-in, it took good amount of time, as it took a while for them to adapt to the NetBeans Platform, and when they did, it was a smooth sail afterwards.

After the plug-in was developed, and installed in Target Platform, they found it really amazing thing to have. Then, I told them, that whatever steps we took to develop the plug-in were existent in the IDE because of some plug-in modules.

Now, lets go a bit deeper inside NetBeans IDE

Now, to go a bit deeper, I thought of playing with XML layer. It was indeed a great idea, as they were surprised to see the power of this optional configuration file. As Geertjan once said, “Varun introduces you to the layer.xml file in NetBeans modules. He shows you how a few small tweaks can have very useful results”.

Pointers are back again…

We all know, there are nothing like pointers in Java, but XML layer in NetBeans Plugin Development does use it indirectly. The .shadow files, are pointers/symbolic links to the .instance files, which in my case, were used to register Actions in System Filesystem.

I explained them what System Filesystem is all about? Just a brief overview, as it was their first real experience with Plugin Development. So, I just wanted to touch every possible aspect, to get them started with development smoothly, rather than explain them FileObjects, DataObjects, etc.


Finally, the workshop got over. Really, it was an amazing experience barring minor hiccups and while preparing for the workshop, I do believe, I have developed a better understanding of concepts I just talked about.

Thank you, Amity and Sun for giving me the opportunity to conduct a workshop.

Related Links
[ Day 1 | Event | Day 2 ]

Photos by Angad Singh, CA Tech Lead

[ Open Office | PDF | Power Point ]


Day 1 | Biker Boyz with Sun CA’s

Day 1- September 5, 2008

It was not just another Friday for me, actually it was a special one, as I was going to attend an event, where I am going to do a workshop. Also, it gives me relief from college work for the weekend 😉

Early Morning

I had to reach Amity along with Angad and Saurabh at 8: 30 AM, event was to begin at 9: 00 AM. So, I woke up early, had my unusual breakfast, which I usually take when I am running late. However, as I had to reach early, this time, I had no time to have a proper meal in the morning.

Long wait…

Now, we had to meet at 8: 00 AM near Shopprix Mall, near my residence. So, I kick-started my bike, its Honda Unicorn, and it took me 2 minutes to reach there 😀 Its not even a kilometer away.

My ex-Sun Club mates made me wait for a long time, I waited for them for nearly 15 minutes. Don’t get angry, they had traffic to counter on their way to our meeting point. So, its OK to neglect that for the moment.

Biker Boyz

I was expecting Angad to come on a bike, as he had learnt biking while he was at IEC, Bangalore doing summer internship. Lol, strange 😛 So, he was one of the Biker Boyz, myself being the other one. However, he came in a car, and no bike 😐

This is me, riding at ease on my way to Amity. Taken by Saurabh from Angad‘s Mobile.

Fast and Furious

No, we didn’t for go this movie. The cineplexes were not open before 11 AM. So, we had no option but to go for the event 😉 Jokes apart, as we were running late, so we step-up the gas, and I went from 0-60 kmph in nearly 6 secs. No, I didn’t use any stopwatch, its what Honda boasts about, and I agree to it, most of the time.

We were going fast, and became furious. While sneaking out of the narrow gaps, and losing no time, in changing gears! Prancing Horse would be proud of us. Yes, I am talking about Ferrari 😛

Time arrived, and so did we

Finally, we arrived the destination, and went inside the campus. Its spread as if it was a city. Really, very big campus.

Then, at 9:00 AM, entered the Sun people and I got a chance to meet Ganesh Hiregoudar and some of the India Student Coordinators. It was an honor to meet him. I was really happy.


After all this dramatic story line, its time for some action. There were not too many events lined up for the day. Still, they were worth attending.

Lightening of the lamp, followed by Saraswati Vandana (prayer to Hindu goddess of knowledge).

Then, followed felicitation ceremony, in which Dr. Ajay Rana, Director, Amity University handed over bouquets to the Sun India representatives and Mr. Mohd. Tasleem.

Introductory Speech

Ganesh, then gave a speech on Sun empowering Amity’s curriculum as a result of their new partnership to impart high quality technical education.

The partnership with Sun will facilitate Amity University to-

  • Impart high quality technical education on Java and Solaris technologies
  • Access to world-wide curriculum on Sun’s technologies
  • Learning Path that is developed with industry-recognized certification
  • Curriculum that reflects the needs of the industry
  • Train-the-trainer programs for the faculty will help ensure that Amity’s faculty are trained on the latest technology.
  • Enhanced visibility for the University on a global scale and enhanced placement and job opportunities
  • Skilled and trained students
  • Opportunity to leverage on Sun’s relationship with partners
  • Access to Sun’s Certification solutions

After that, he also gave away Bouquets, with some Technical Books to the highly skilled faculty of Amity, on the occasion of Teacher’s Day.

Sun Certification Courses

Mr. Anup Nautiyal (National Manager, Sales, Sun Microsystems) delivered a presentation on Sun Certifications on Java and Solaris, what all certifications do Sun provide?

What are the benefits of doing a certification? How to go about it? Practice Exams, Training, Pro-metric centers, etc.

More Events…

There were some more events, however I had to leave for preparing my presentation, and some work at my university.

So, see ya on Day 2.

Related Links
[ Day 1 | Event | Day 2 ]

Photos by Angad and myself