<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0" xml:base="http://www.java.net">
<channel>
 <title>n_varun's blog</title>
 <link>http://www.java.net/blogs/n_varun</link>
 <description />
 <language>en</language>
<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/nbguru-netjava" type="application/rss+xml" /><feedburner:browserFriendly></feedburner:browserFriendly><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
 <title>Wiki to XML using Ant</title>
 <link>http://www.java.net/blog/2009/07/24/wiki-xml-using-ant</link>
 <description>&lt;span class='print-link'&gt;&lt;/span&gt;&lt;!--  | 0 --&gt;&lt;p&gt;Folks,&lt;/p&gt;
&lt;p&gt;On July 1st, I started a new blog that will feature posts related to the experiments I carry out at various FOSS projects. Motto for this initiative: "You've got to experiment to figure out what works", as said by Andrew Weil. As part of this initiative, I started a &lt;a href="http://prayogshala.wordpress.com/2009/07/17/project-nbcreole/"&gt;new project&lt;/a&gt; as well. &lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;
&lt;strong&gt;Wiki to XML&lt;/strong&gt;&lt;br /&gt;
Martin Junghans and Dirk Riehle, did research on the possibility of converting WikiCreole Markup to XML format. As a result, they created an EBNF grammar and an XML interchange format (Creole 1.0).
&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;As I was looking for ways to get started with Ant and that too, making use of Freeform projects. I could recall that I had read some research papers, on the subject of converting wiki to xml. Thus, I found a way to write an Ant task for executing the conversion. &lt;/p&gt;
&lt;p&gt;You may &lt;a href="http://prayogshala.wordpress.com/2009/07/17/wiki-to-xml-using-ant/"&gt;continue reading more&lt;/a&gt; about this over my other blog..&lt;/p&gt;
</description>
 <comments>http://www.java.net/blog/2009/07/24/wiki-xml-using-ant#comments</comments>
 <category domain="http://www.java.net/blog-community/java-tools">Java Tools</category>
 <pubDate>Fri, 24 Jul 2009 08:53:49 +0000</pubDate>
 <dc:creator>n_varun</dc:creator>
 <guid isPermaLink="false">242616 at http://www.java.net</guid>
</item>
<item>
 <title>DocWeb | Dynamic Implementation of Javadocs</title>
 <link>http://www.java.net/blog/2009/07/07/docweb-dynamic-implementation-javadocs</link>
 <description>&lt;span class='print-link'&gt;&lt;/span&gt;&lt;!--  | 0 --&gt;&lt;p&gt;Welcome to the &lt;a href="http://doc.java.sun.com/DocWeb/" target="_blank"&gt;Javadoc Community&lt;/a&gt;, a resource for application developers that is enhanced by the community. You read and use the JavaDoc for your projects as in the past, but now you can also view the Javadoc in any one of a variety of languages. Additionally, you can add translations for some of the languages.&lt;/p&gt;
&lt;p&gt;Check out the cool new way of browsing javadocs.. Visit &lt;strong&gt;DocWeb&lt;/strong&gt;!&lt;/p&gt;
</description>
 <comments>http://www.java.net/blog/2009/07/07/docweb-dynamic-implementation-javadocs#comments</comments>
 <category domain="http://www.java.net/topic/programming">Programming</category>
 <pubDate>Tue, 07 Jul 2009 07:24:22 +0000</pubDate>
 <dc:creator>n_varun</dc:creator>
 <guid isPermaLink="false">242536 at http://www.java.net</guid>
</item>
<item>
 <title>Fixing bugs in RHN v1.x</title>
 <link>http://www.java.net/blog/2009/06/30/fixing-bugs-rhn-v1x</link>
 <description>&lt;span class='print-link'&gt;&lt;/span&gt;&lt;!--  | 0 --&gt;&lt;p&gt;Its been a while, since I have blogged here. So, its time to take a look at one of my NetBeans Module and hence, fix some bugs!&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Revamped Hyperlink Navigation&lt;/strong&gt;&lt;br /&gt;
Last year, I had written a blog on &lt;a href="http://nbguru.wordpress.com/2008/07/24/hyperlink-navigation-renaissance/" target="_blank"&gt;Hyperlink Navigation Renaissance&lt;/a&gt;, hereâ€™s brief overview;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;em&gt;After lot of discussion on OpenIDE mailing lists, exploring Developer FAQâ€™s, exerting my wrist, flexing fingers and what not? Finally, hit the deck hard! Yeah, Hyperlink Navigation in NetBeans got smarter! Especially, for HTML documents.&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;This is the same module that got &lt;a href="http://nbguru.wordpress.com/2009/05/31/2008/10/28/plugins-got-verified-for-60/" target="_blank"&gt;published&lt;/a&gt; into NetBeans 6.0 Update Center last year. Recently, I have &lt;a href="http://nbguru.wordpress.com/2009/06/29/hyperlink-navigation-renaissance-part-2/" target="_blank"&gt;discussed a lot&lt;/a&gt; about this module; its history, setting up a &lt;a href="http://nbrcp-kolektiv.kenai.com/" target="_blank"&gt;Kenai project&lt;/a&gt; and finally, how do I make use of SVN to control revisions of this module from Windows CLI and NetBeans IDE.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Annoying Bugs&lt;/strong&gt;&lt;br /&gt;
Well, I thought after a few weeks of refactoring the code, I created last year. It will run smoothly and it did, however I found 2 bugs today. Probably, I should have used some testing strategy to tackle this. Anyways, I have &lt;a href="http://kenai.com/jira/browse/NBRCP_KOLEKTIV/fixforversion/10304" target="_blank"&gt;filed them&lt;/a&gt; at my Kenai Project's &lt;a href="http://kenai.com/jira/browse/NBRCP_KOLEKTIV" target="_blank"&gt;JIRA Issue Tracker&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;These bugs actually affect v1.0 and v1.1 of this module. I intend to fix them for v1.2 Please note that RHN v1.x will be compatible with NetBeans 6.0 and probably with NetBeans 6.1. When you would see the number to left of decimal point change, i.e. RHN vN.x where N &gt; 1 and x belongs to [0, M]. For instance, RHN v2.0 would work well with NetBeans 6.1 and may not with NetBeans 6.0.&lt;/p&gt;
&lt;p&gt;This is turning out to be a great learning experience for me, I look forward to provide more updates on this. If you want to help in fixing them, you're welcome to join &lt;a href="http://kenai.com" target="_blank"&gt;Kenai&lt;/a&gt; and hence, join my project.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Latest Updates&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;u&gt;Jul 01, 2009&lt;/u&gt;&lt;br /&gt;
I have successfully resolved one of them, refer my &lt;a href="http://prayogshala.wordpress.com/2009/07/01/netbeans-plugins-at-kenai-part-3/" target="_blank"&gt;another blog&lt;/a&gt; for more details.&lt;/p&gt;&lt;/blockquote&gt;
</description>
 <comments>http://www.java.net/blog/2009/06/30/fixing-bugs-rhn-v1x#comments</comments>
 <pubDate>Tue, 30 Jun 2009 07:27:44 +0000</pubDate>
 <dc:creator>n_varun</dc:creator>
 <guid isPermaLink="false">242537 at http://www.java.net</guid>
</item>
<item>
 <title>Father of Java at Jazoon?</title>
 <link>http://www.java.net/blog/2009/05/05/father-java-jazoon</link>
 <description>&lt;span class='print-link'&gt;&lt;/span&gt;&lt;!--  | 0 --&gt;&lt;p&gt;&lt;a href="http://weblogs.java.net/blog/cwfrei/" target="_blank"&gt;Christian Frei&lt;/a&gt;, who is the co-organizer of Jazoon, the international conference on Java technology for software developers, architects, consultants, and IT managers, has setup a poll stating;&lt;br /&gt;
&lt;em&gt;&lt;br /&gt;
Sign up here with your name to convince James Gosling to attend Jazoon!&lt;/p&gt;
&lt;p&gt;We will close this list by &lt;strong&gt;31st May&lt;/strong&gt;, so post this link where ever you can and ask all your friends to sign up.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://jazoon.doodle.com/g7qfpqqaw4us89at" target="_blank"&gt;http://jazoon.doodle.com/g7qfpqqaw4us89at&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thank you,&lt;br /&gt;
&lt;a href="http://jazoon.com/en/aboutus/contact.html"&gt;The Jazoon Team&lt;/a&gt;&lt;br /&gt;
&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;So, what are you waiting for? Share this link on every social network you have on Facebook, Myspace, Twitter, etc.&lt;/p&gt;
&lt;p&gt;Stay tuned for more updates..&lt;/p&gt;
</description>
 <comments>http://www.java.net/blog/2009/05/05/father-java-jazoon#comments</comments>
 <pubDate>Tue, 05 May 2009 13:02:41 +0000</pubDate>
 <dc:creator>n_varun</dc:creator>
 <guid isPermaLink="false">242151 at http://www.java.net</guid>
</item>
<item>
 <title>GoF and Lookup API</title>
 <link>http://www.java.net/blog/2009/01/09/gof-and-lookup-api</link>
 <description>&lt;span class='print-link'&gt;&lt;/span&gt;&lt;!--  | 0 --&gt;&lt;p&gt;&lt;strong&gt;Happy New Year 2009&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I am late on wishing you, still I have got some exciting stuff for all..&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Dec 24, 2008&lt;/strong&gt;&lt;br /&gt;
I began another &lt;a href="http://nbguru.wordpress.com/2008/12/24/gof-and-lookup-a-deadly-combo/"&gt;blog series&lt;/a&gt;, the most interesting one I guess! As part of my university courses, where I was introduced to "Gang of Four" design patterns in recent past. I felt quite excited about them, so lets see whatâ€™s in store for all of usâ€¦&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Jan 02, 2009&lt;/strong&gt;&lt;br /&gt;
As per the above announcement on making use of Lookup API along with some design patterns in RCP Apps. So, I thought why not get started by porting some basic code snippets onto NetBeans Platform and then I shall see how to go about evolving them.&lt;/p&gt;
&lt;p&gt;I will be beginning with Builder Pattern (a type of &lt;a href="http://en.wikipedia.org/wiki/Creational_pattern"&gt;Creational Patterns&lt;/a&gt;). It does seem obvious with the &lt;a href="http://nbguru.wordpress.com/2009/01/02/gof-and-lookup-builder-pattern-part-1/"&gt;title of the post&lt;/a&gt;- "Building" Pizza with Lookup.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Jan 09, 2009&lt;/strong&gt;&lt;br /&gt;
Continuing from the last post, I will present you the code and pointers to the &lt;a href="https://kenai.com/svn/nbrcp-kolektiv~incubator/suites/trunk/PizzaBeans/" title="Link Updated"&gt;SVN repository&lt;/a&gt; at &lt;a href="http://nbguru.wordpress.com/2009/01/07/project-with-kenai-and-i/"&gt;Project Kenai&lt;/a&gt; where the project resides..&lt;/p&gt;
&lt;p&gt;Last time, I said I have ported the sample code to NetBeans Platform in the form of 4 modules getting plugged into the NetBeans Platform Application and I named it &lt;em&gt;PizzaBeans&lt;/em&gt;. &lt;a href="http://nbguru.wordpress.com/2009/01/09/gof-and-lookup-builder-pattern-part-2/"&gt;Today&lt;/a&gt;, we will just setup the service provider API and its service providersâ€¦&lt;/p&gt;
&lt;p&gt;That's all for today, stay tuned for more...&lt;/p&gt;
</description>
 <comments>http://www.java.net/blog/2009/01/09/gof-and-lookup-api#comments</comments>
 <category domain="http://www.java.net/blog-community/java-patterns">Java Patterns</category>
 <pubDate>Fri, 09 Jan 2009 15:41:39 +0000</pubDate>
 <dc:creator>n_varun</dc:creator>
 <guid isPermaLink="false">241375 at http://www.java.net</guid>
</item>
<item>
 <title>Creating a Project Type</title>
 <link>http://www.java.net/blog/2008/12/21/creating-project-type</link>
 <description>&lt;span class='print-link'&gt;&lt;/span&gt;&lt;!--  | 0 --&gt;&lt;p&gt;&lt;strong&gt;Nov 15, 2008&lt;/strong&gt;&lt;br /&gt;
I began a &lt;a href="http://nbguru.wordpress.com/2008/11/15/blog-series-new-project-type/" target="_blank"&gt;blog series&lt;/a&gt; on my learnings of NetBeans APIâ€™s, interacting with experienced folks on the mailing lists and browsing through NetBeans sources, that might help me (possibly others as well) "Create a New Project Type" in NetBeans IDE.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Dec 16, 2008&lt;/strong&gt;&lt;br /&gt;
One month later, I could find some time to document my further learnings, by blogging about "&lt;a href="http://nbguru.wordpress.com/2008/12/16/part-1-adding-category-and-projects/" target="_blank"&gt;Adding Category and Projects&lt;/a&gt;". This was a short post, but has many useful pointers for a beginner like me to learn and understand the integration of Project Types in NetBeans Platform.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Dec 19, 2008&lt;/strong&gt;&lt;br /&gt;
Three days later, I wrote the &lt;a href="http://nbguru.wordpress.com/2008/12/19/part-2-file-templates/" target="_blank"&gt;follow-up blog&lt;/a&gt; about "Templates", yes the oneâ€™s shown in "New File" action invoked on any node of a projectâ€™s Logical View (Projects Window).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Next;&lt;/strong&gt; I will dig deep into the Platform again, its been a month since I have surfed the sourcesâ€¦ By the way, many community members are showing interest in creating a project type, hope to see them documenting their experience soon...&lt;/p&gt;
&lt;p&gt;See ya, until next time. Stay tuned to  &lt;a href="http://nbguru.wordpress.com/" target="_blank"&gt;my blog&lt;/a&gt;...&lt;/p&gt;
</description>
 <comments>http://www.java.net/blog/2008/12/21/creating-project-type#comments</comments>
 <category domain="http://www.java.net/blog-community/netbeans">Netbeans</category>
 <pubDate>Sun, 21 Dec 2008 11:40:08 +0000</pubDate>
 <dc:creator>n_varun</dc:creator>
 <guid isPermaLink="false">241326 at http://www.java.net</guid>
</item>
<item>
 <title>Ant, Hudson and Glassfish</title>
 <link>http://www.java.net/blog/2008/11/11/ant-hudson-and-glassfish</link>
 <description>&lt;span class='print-link'&gt;&lt;/span&gt;&lt;!--  | 0 --&gt;&lt;p&gt;Working on a project based on &lt;a href="http://platform.netbeans.org/"&gt;NetBeans Platform&lt;/a&gt;, never thought I would discover many new technologies! &lt;/p&gt;
&lt;h3&gt;Ant-Based Projects, NetBeans Build System&lt;/h3&gt;
&lt;p&gt;
For the past 1 week or so, I am trying to learn how to create a new project type based on the layout I decide. So, thought of going for &lt;a href="http://bits.netbeans.org/dev/javadoc/org-netbeans-modules-project-ant/org/netbeans/spi/project/support/ant/AntBasedProjectType.html"&gt;Ant Based Project Type&lt;/a&gt;, asked the mailing lists.&lt;br /&gt;
&lt;br /&gt;
I was pointed to a &lt;a href="http://projects.netbeans.org/buildsys/howto.html"&gt;document&lt;/a&gt;, here's an overview- "This guide should give developers of NetBeans modules (extensions) a basic idea of how to write new project types for NetBeans 4.x, as well as use certain important parts of the project and build system functionality from other kinds of modules." Read this document, referred the related &lt;a href="http://bits.netbeans.org/dev/javadoc"&gt;javadocs&lt;/a&gt; and it was surely going to be time consuming. Still, I kept surfing and interlinking documents, so that everything falls into place &amp;amp; makes sense.&lt;/p&gt;
&lt;h3&gt;Hudson&lt;/h3&gt;
&lt;p&gt;
Lol, whenever I surf the web for understanding one technology, I found another! This goes for Hudson as well, during my above internet surfing on NetBeans Platform. I found out Hudson too, in an unusual manner. I had just heard the name, never knew what it does?&lt;/p&gt;
&lt;p&gt;Recently, I saw &lt;a href="http://blogs.sun.com/amitsaha/entry/exploring_scalable_data_processing_with"&gt;Amit's blog&lt;/a&gt; and found out, he had reviewed &lt;strong&gt;Tom Wheeler&lt;/strong&gt;'s &lt;a href="http://www.ociweb.com/jnb/jnbNov2008.html"&gt;latest article&lt;/a&gt;. Although, topic was of no interest to me, I was more interested to know what other articles he has written for &lt;a href="http://www.ociweb.com/articles/publications/jnb.html"&gt;Object Computing, Inc.&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Then, I found out Tom's article on "&lt;a href="http://www.ociweb.com/jnb/jnbDec2006.html"&gt;Automating Builds Made Easy with Hudson&lt;/a&gt;". It seems to be outdated as it was written 2 years back. Still, it had everything to give an introduction to Hudson technology for students like me!&lt;font color="#488AC7"&gt;&lt;b&gt;Nov 09, 2007&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;I thought of staying away from it for sometime, so as to focus on the above, i.e. creating Ant Based Project Type. However, it was not to be as on Sunday, I thought of trying out Hudson. &lt;b&gt;Tom&lt;/b&gt;, thanks for the article, at least I could get started with it. Since Dec 2006, many changes might have taken place, and it was visible atleast in the Web UI of Hudson, so I downloaded Hudson 1.258 and deployed its ".war" file using &lt;a href="http://dlc.sun.com.edgesuite.net/netbeans/6.1/mysql_bundle/"&gt;Glassfish V2 UR2&lt;/a&gt; (bundled with NetBeans IDE, early this  year) and it had one "domain name" by default as "domain1". So, using CLI on Windows XP Professional SP2, I ran the following command-&lt;/p&gt;
&lt;pre&gt;asadmin start-domain domain1&lt;/pre&gt;&lt;p&gt;Every time I had to run this to launch Glassfish server, so as to deploy Hudson and automate builds. So, I created a batch file (runGf.bat), which would run the above command. It might look silly to execute a single command from batch file, but its quite useful to me. Moreover, if there exists many domain names, then I can make the batch file more useful by passing the "domain name" as an argument. Here's the modified contents- &lt;/p&gt;
&lt;pre&gt;asadmin start-domain %1&lt;/pre&gt;&lt;p&gt;It will look like this at Command Prompt;&lt;/p&gt;
&lt;pre&gt;C:/&gt;runGf domain1&lt;/pre&gt;&lt;p&gt;
It does make sense, isn't it?&lt;/p&gt;
&lt;h3&gt;References&lt;/h3&gt;
&lt;p&gt;&lt;font color="#488AC7"&gt;&lt;b&gt;Articles&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;
&lt;em&gt;CI with Hudson on Glassfish&lt;/em&gt;&lt;br /&gt;
&lt;a href="http://www.developinjava.com/articles.php?article_id=7"&gt;http://www.developinjava.com/articles.php?article_id=7&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Tom Wheeler (NetBeans Dream Team Member),&lt;br /&gt;
&lt;em&gt;Automated Builds Made Easy with Hudson&lt;/em&gt;&lt;br /&gt;
&lt;a href="http://www.ociweb.com/jnb/jnbDec2006.html"&gt;http://www.ociweb.com/jnb/jnbDec2006.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#488AC7"&gt;&lt;b&gt;Related Links&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Arguments handling in a batch file&lt;/em&gt;&lt;br /&gt;
&lt;a href="http://www.rgagnon.com/gp/gp-0009.html"&gt;http://www.rgagnon.com/gp/gp-0009.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Glassfish Quick Start Guide&lt;/em&gt;&lt;br /&gt;
&lt;a href="https://glassfish.dev.java.net/downloads/quickstart/index.html"&gt;https://glassfish.dev.java.net/downloads/quickstart/index.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Administering Hudson&lt;/em&gt;&lt;br /&gt;
&lt;a href="https://hudson.dev.java.net/admin.html"&gt;https://hudson.dev.java.net/admin.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Hudson and Glassfish&lt;/em&gt;&lt;br /&gt;
&lt;a href="https://hudson.dev.java.net/containers/glassfish.html"&gt;https://hudson.dev.java.net/containers/glassfish.html&lt;/a&gt;&lt;/p&gt;
</description>
 <comments>http://www.java.net/blog/2008/11/11/ant-hudson-and-glassfish#comments</comments>
 <category domain="http://www.java.net/blog-community/java-tools">Java Tools</category>
 <pubDate>Tue, 11 Nov 2008 09:50:04 +0000</pubDate>
 <dc:creator>n_varun</dc:creator>
 <guid isPermaLink="false">241126 at http://www.java.net</guid>
</item>
<item>
 <title>NetBeans Innovator Grants Results</title>
 <link>http://www.java.net/blog/2008/10/01/netbeans-innovator-grants-results</link>
 <description>&lt;span class='print-link'&gt;&lt;/span&gt;&lt;!--  |  --&gt;Hello all,

Its all over the blogosphere yesterday, NetBeans Innovator Grants Results are out. I won't copy paste the whole stuff, as there already many postings in &lt;a href="http://planetnetbeans.org/"&gt;Planet NetBeans&lt;/a&gt; about this.

So, you can check out the podcasts, announcements related to the results, here's a list for you-
    &lt;ol&gt;
        &lt;li&gt;&lt;a href="http://www.netbeans.org/community/news/index.html#1289"&gt;Announcement&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="http://www.netbeans.tv/podcasts/Jirka-Kovalksy-on-NetBeans-Innovators-Grants-387/"&gt;Podcast featuring Jiri Kovalsky, Technical Community Manager&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="http://netbeans.tv/interviews/Interview-with-Innovator-Grants-Award-Winners-390/"&gt;Podcast featuring Gold Award Medalists&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="http://www.netbeans.org/grant/"&gt;Official Contest Website&lt;/a&gt;&lt;/li&gt;
    &lt;/ol&gt;

Check out the links for detailed information. Enjoy listening to the winners, and the manager.</description>
 <comments>http://www.java.net/blog/2008/10/01/netbeans-innovator-grants-results#comments</comments>
 <category domain="http://www.java.net/blog-community/netbeans">Netbeans</category>
 <pubDate>Wed, 01 Oct 2008 18:18:07 +0000</pubDate>
 <dc:creator>n_varun</dc:creator>
 <guid isPermaLink="false">240954 at http://www.java.net</guid>
</item>
<item>
 <title>Plugin Development Workshop at Amity University</title>
 <link>http://www.java.net/blog/2008/09/13/plugin-development-workshop-amity-university</link>
 <description>&lt;span class='print-link'&gt;&lt;/span&gt;&lt;!-- 1017 |  --&gt;&lt;img src="/images/people/varun_nischal.jpg" border="0", align="left" /&gt;In the first week of September, I was called up by &lt;em&gt;Angad Singh, CA Tech Lead&lt;/em&gt;, and he told me, that I am invited to conduct a workshop at &lt;strong&gt;Amity University&lt;/strong&gt;, during their hosting of &lt;u&gt;Sun CA Induction Program&lt;/u&gt; for &lt;strong&gt;40 new CA's&lt;/strong&gt; from &lt;u&gt;North India&lt;/u&gt;.

&lt;h3&gt;NetBeans Plugin Development Workshop&lt;/h3&gt;
Finally, the day arrived for my first ever workshop, and it got started by Angad, who introduced me to the new CA's, as a NetBeans Dream Team Member and ex- &lt;a href="http://group.google.com/group/jiitsunclub"&gt;JIIT Sun Club Coordinator&lt;/a&gt;. There were nearly 20+ CA's in target audience. Then, I took over and asked them 2 questions-
&lt;ul&gt;
	&lt;li&gt;&lt;strong&gt;Why do we create Netbeans plug-in modules?&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;strong&gt;Why is there Terminology confusion?&lt;/strong&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;strong&gt;RCP Book- The Benefits of Modular Programming
&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;a href="http://picasaweb.google.com/angadsingh007/SunCAInductionDelhi" target="_blank"&gt;&lt;img title="ca-listening-to-nvarun-pres" src="http://nbguru.wordpress.com/files/2008/09/ca-listening-to-nvarun-pres.jpg?w=300" alt="" width="300" height="225" /&gt;&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;
Followed by &lt;strong&gt;2&lt;/strong&gt; exercises, I had planned to do with them.
&lt;ul&gt;
	&lt;li&gt;&lt;strong&gt;Lets go inside NetBeans IDE&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
	&lt;li&gt;&lt;strong&gt;Now, lets go a bit deeper inside NetBeans IDE&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
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 &lt;strong&gt;&lt;a href="http://platform.netbeans.org/tutorials/quickstart-nbm.html" target="_blank"&gt;plug-in&lt;/a&gt;&lt;/strong&gt; I had chosen for the workshop was flexible enough, that I could have used &lt;strong&gt;5.5 release&lt;/strong&gt; for delivering the workshop too!
&lt;h4&gt;Lets go inside NetBeans IDE&lt;/h4&gt;
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.
&lt;br /&gt;&lt;br /&gt;
&lt;a href="http://picasaweb.google.com/angadsingh007/SunCAInductionDelhi" target="_blank"&gt;&lt;img title="nvarun-started-plugin-dev" src="http://nbguru.wordpress.com/files/2008/09/nvarun-started-plugin-dev.jpg?w=300" alt="" width="300" height="225" /&gt;&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;
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.
&lt;br /&gt;&lt;br /&gt;
&lt;a href="http://picasaweb.google.com/angadsingh007/SunCAInductionDelhi" target="_blank"&gt;&lt;img title="nbplatform-in-action" src="http://nbguru.wordpress.com/files/2008/09/nbplatform-in-action.jpg?w=300" alt="" width="300" height="225" /&gt;&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;h4&gt;Now, lets go a bit deeper inside NetBeans IDE&lt;/h4&gt;
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 &lt;strong&gt;Geertjan&lt;/strong&gt; once &lt;a href="http://www.dzone.com/links/playing_with_netbeans_xml_layer_files_part_1.html" target="_blank"&gt;said&lt;/a&gt;, &lt;em&gt;"Varun introduces you to the layer.xml file in NetBeans modules. He shows you how a few small tweaks can have very useful results"&lt;/em&gt;.
&lt;br /&gt;&lt;br /&gt;
&lt;a href="http://picasaweb.google.com/angadsingh007/SunCAInductionDelhi" target="_blank"&gt;&lt;img title="nvarun-and-the-matrix" src="http://nbguru.wordpress.com/files/2008/09/nvarun-and-the-matrix.jpg?w=225" alt="" width="225" height="300" /&gt;&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;strong&gt;Pointers are back again... &lt;/strong&gt;
&lt;br /&gt;&lt;br /&gt;
We all know, there are nothing like pointers in Java, but XML layer in NetBeans Plugin Development does use it indirectly. The &lt;strong&gt;.shadow&lt;/strong&gt; files, are pointers/symbolic links to the &lt;strong&gt;.instance&lt;/strong&gt; files, which in my case, were used to register Actions in System Filesystem.

I explained them what &lt;strong&gt;System Filesystem&lt;/strong&gt; 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.
&lt;br /&gt;&lt;br /&gt;
&lt;a href="http://picasaweb.google.com/angadsingh007/SunCAInductionDelhi" target="_blank"&gt;&lt;img title="nvarun-helping-them-out" src="http://nbguru.wordpress.com/files/2008/09/nvarun-helping-them-out.jpg?w=300" alt="" width="300" height="225" /&gt;&lt;/a&gt;
&lt;br /&gt;
&lt;h4&gt;Out-of-the-Box&lt;/h4&gt;
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.
&lt;br /&gt;&lt;br /&gt;
&lt;div align="center"&gt;&lt;strong&gt;Related Links
&lt;/strong&gt;
&lt;br /&gt;[ &lt;strong&gt;&lt;a href="http://nbguru.wordpress.com/2008/09/12/biker-boyz-with-sun-ca-day-1/" target="_blank"&gt;Day 1&lt;/a&gt;&lt;/strong&gt; | &lt;strong&gt;&lt;a href="http://nbguru.wordpress.com/2008/09/10/sun-ca-induction-program/" target="_blank"&gt;Event&lt;/a&gt;&lt;/strong&gt; | Day 2 ]
&lt;br /&gt;Photos by &lt;strong&gt;Angad Singh, CA Tech Lead&lt;/strong&gt;
&lt;br /&gt;[ &lt;strong&gt;&lt;a href="http://edu.netbeans.org/contrib/slides/netbeans-platform/nb-plugin-dev-at-amity-06-sep-2008.odp" target="_blank"&gt;Open Office&lt;/a&gt;&lt;/strong&gt; | &lt;a href="http://edu.netbeans.org/contrib/slides/netbeans-platform/nb-plugin-dev-at-amity-06-sep-2008.pdf" target="_blank"&gt;PDF&lt;/a&gt; | &lt;a href="http://edu.netbeans.org/contrib/slides/netbeans-platform/nb-plugin-dev-at-amity-06-sep-2008.ppt" target="_blank"&gt;&lt;strong&gt;Power Point&lt;/strong&gt;&lt;/a&gt; ]
&lt;/div&gt;</description>
 <comments>http://www.java.net/blog/2008/09/13/plugin-development-workshop-amity-university#comments</comments>
 <category domain="http://www.java.net/blog-community/netbeans">Netbeans</category>
 <pubDate>Sat, 13 Sep 2008 18:01:17 +0000</pubDate>
 <dc:creator>n_varun</dc:creator>
 <guid isPermaLink="false">240852 at http://www.java.net</guid>
</item>
<item>
 <title>Implementing Dynamic Binding while Coding?</title>
 <link>http://www.java.net/blog/2008/08/21/implementing-dynamic-binding-while-coding</link>
 <description>&lt;span class='print-link'&gt;&lt;/span&gt;&lt;!--  | 0 --&gt;&lt;p&gt;Few weeks back, I had blogged at my other blog, about "&lt;a href="http://nbguru.wordpress.com/2008/07/30/getting-your-basics-right/"&gt;Getting your basics right?&lt;/a&gt;". I don't know how many of you would agree, however the discussion that took place for filing an RFE, which eventually got filed as &lt;a href="http://www.netbeans.org/issues/show_bug.cgi?id=142112"&gt;Issue #142112&lt;/a&gt;, was a long lasting one, and if people had clarity of concepts, then it might not have extended that long.&lt;/p&gt;
&lt;p&gt;Anyways, I think you would like to comment on that. Read my &lt;a href="http://nbguru.wordpress.com/2008/07/30/getting-your-basics-right/"&gt;blog&lt;/a&gt; for more details.&lt;/p&gt;
&lt;p&gt;Here's the Usecase, which was sufficient to justify the filing of a RFE.&lt;/p&gt;
&lt;pre&gt;
 6 public class UserImpl implements User {
 7 
 8     public void callCheck() {
 9         callImpl();
10         new UserImpl().callImpl();
11     }
12 
13     public void callImpl() {
14         System.out.println("Implementation Invoked...");
15     }
16 
17     public static void main(String[] args) {
18         new UserImpl().callCheck();
19 
20         // Dynamic Binding...
21         User anonUser = new UserImpl();
22         anonUser.callImpl();
23     }
24 }
25 
26 interface User {
27 
28     public void callImpl();
29 };
&lt;/pre&gt;&lt;p&gt;
Clicking on &lt;strong&gt;callImpl()&lt;/strong&gt; in line &lt;strong&gt;#22&lt;/strong&gt;, doesn't navigate to the &lt;strong&gt;implemented&lt;/strong&gt; version of &lt;strong&gt;callImpl()&lt;/strong&gt;, i.e. line &lt;strong&gt;#13&lt;/strong&gt;. Instead, user is navigated to line &lt;strong&gt;#28&lt;/strong&gt;. So, this should not exist, hence someone filed a RFE.&lt;/p&gt;
&lt;p&gt;Thanks for your time!&lt;/p&gt;
</description>
 <comments>http://www.java.net/blog/2008/08/21/implementing-dynamic-binding-while-coding#comments</comments>
 <category domain="http://www.java.net/blog-community/netbeans">Netbeans</category>
 <pubDate>Thu, 21 Aug 2008 14:14:15 +0000</pubDate>
 <dc:creator>n_varun</dc:creator>
 <guid isPermaLink="false">240738 at http://www.java.net</guid>
</item>
</channel>
</rss>
