Sunday, August 2, 2009

Google Wave Free Account Access

I received my Google Wave just a day before. But i found not all got this invitation and many are frustrated because they didn't got it and someone from their group has got it.

I am making my wave account open to those who doesn't have, so that they can use the application. This step to not to gain any kind of publicity but to help those who truly want to use.

username: dhaval.b.nagar
password: for password mail me at

I am a java developer and google fan and hopping everyone going to use this account having the same purpose as i have, to make this much better.

Wednesday, July 1, 2009

Maven setup behind firewall and NetBeans

Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.

Installation and Usage guidelines:

  1. Goto the download section of, download and extract it to your apache home folder in your computer (c:\program files\Apache Software Foundation\).
  2. Create listed environment variables:
    1. M2 with {Maven folder path}\bin
    2. M2_HOME with {Maven folder path}
  3. Update the "PATH" environment with the {Maven folder path}\bin value.
  4. If you are accessing the internet through a Proxy server, you need to provide proxy information to the Maven installation also. Go to the {Maven folder path}\conf, open the settings.xml file and update the proxy value in the following tag:






          <username>{your user name}</username>

          <password>{your password}</password>







  5. Go to the command promp and type "mvn install", it should start installing basic modules required to run maven in {user home directory}\.m2 folder.
  6. You can change the default home folder path from {user home directory}\.m2 to anything else like "c:\m2" from the {Maven folder path}\conf\settings.xml file by giving the new path in <localRepository> tag. Once you change the path you need to fire the "mvn install" again to generate the basic maven structure or copy it from the old repository structure.
  7. Early NetBeans IDEs are providing the Maven interface with the additional plug-in support. Moreover new IDEs (6.5 onwards) Maven is integrated in the basic installation.
    1. NetBeans also required Maven configuration to use integrated or external installation. For external Maven go to the "Tools -> Options -> Miscellaneous -> Maven" and provide external Maven home path.If using the integrated Maven of NetBeans one has to configure the Proxy settings of NetBeans to allow central repository access.
    2. You can create Maven project by "File -> New Project -> Maven -> Maven Quickstart Archetype".
    3. Sub-project or Third-party dependencies can be easily given by "Add dependency" option in the "Libraries" node of the project.
  8. For further information go to
  9. Maven encourages the Test Driven Development, so please start understanding and writing the Junit test cases for the code.

Wednesday, February 4, 2009

Automatic Sequence Diagram with jTracert

In my early days of programming apart from the usual source people used to expect nice set of system diagrams specially with UML notations. UML, i always used to think, made for a computer scientist and not for a programmer like me. Fuzzy looking notations always turned down my programming exitements.

But soon i realized that documentation plays an important role in a software system. After spending couple of years in the industry i realized the importance of standard software practices. Documentation was my first assignment. By the time i start working on this seriously, i realized that the system is having hundrads of classes having thousands of methods. As the team follows the practice to document each part of the code with code-level comments the task was not that difficult. There are many tool available in the market which can generate diagrams like class, collaboration, dependencies chart, etc.

jTracert is a lightweight, powerful tool to generate sequence diagrams from the running code without thouching any part of the code. It provides online drawing as well as offline drawing. The tool runs as a java agent with the application. jTracert generates diagram script compatible with a Sequence Diagram editor (available in

jTracert supports various output file formats like local file system, real time sd server, web file system, etc. It is open source so code modifications can be made to satisfy custom requirements.