Archive for July, 2008

Java: Ensure Design Quality using JDepend »

JDepend traverses Java class file directories and generates design quality metrics for each Java package. JDepend allows you to automatically measure the quality of a design in terms of its extensibility, reusability, and maintainability to manage package dependencies effectively. As quoted from the website, it can help generate design quality metrics, including Number of Classes [...]

BuildProcess: J2EE Deployment Toolbox »

BuildProcess provides a set of tools to automate some J2EE tasks. AutoDeploy – J2EE deployment tool BuildErase – automatic file deletion tool AsMon – web application which store description of all J2EE environments BugzillaPublisher – publisher for CruiseControl automatic build tool MVeloce – technical framework used in all web based application of BuildProcess suite.

Wireless Network Cracking »

Aircrack-ng is an 802.11 WEP and WPA-PSK keys cracking program that can recover keys once enough data packets have been captured. It implements the standard FMS attack along with some optimizations like KoreK attacks, as well as the all-new PTW attack, thus making the attack much faster compared to other WEP cracking tools. In fact, [...]

JMeter Problem for Web Service using SOAP 1.2 with MTOM »

Look like JMeter does not support load testing against web service using SOAP 1.2 with MTOM. Here is the response data that I get whenever I used the Web Service Sampler. application/xop+xml; charset=UTF-8; type=”application/soap+xml; charset=UTF-8″ JMeter can’t seem to parse the response data correctly even though it manages to send the request to the web [...]

EclEmma and EMMA: Java Code Coverage Tool »

I wrote few articles on code coverage in Java. EclEmma and EMMA are 2 excellent Java code coverage tools. EclEmma is a free Java code coverage tool for Eclipse, available under the Eclipse Public License. Internally it is based on the great EMMA Java code coverage tool, trying to adopt EMMA’s philosophy for the Eclipse [...]

Open Source Video Streaming Software »

CamStudio is able to record all screen and audio activity on your computer and create industry-standard AVI video files and using its built-in SWF Producer can turn those AVIs into lean, mean, bandwidth-friendly Streaming Flash videos (SWFs) Here are just a few ways you can use this software: You can use it to create demonstration [...]

Eclibatis: iBATIS Eclipse Plugin »

Eclibatis helps developers in their daily work with iBATIS mapping and configuration files by providing code completion and linking between mapping and source files. If you use iBATIS and Eclipse, then you should install this plugin.

Create HTML Form Easily »

You can easily create HTML form using pForm. It is a web 2.0 based HTML form builder which can help you build form with all the common fields like email, website, drop down, number, date, etc Another good online form builder is Wufoo

IntelliJ IDEA toString Plugin »

This is a very useful plugin for IntelliJ. Generate toString() is a plugin to IDEA. The plugin adds a new toString() action in the generate menu (alt + ins). The action generates a toString() method that dumps the classes fields. Java body code is generated using Velocity and you can fully customize this. The plugin [...]

Shutdown Hook in Tomcat using ServletContextListener »

Normally in my standalone Java program I can add a shutdown hook to the JVM runtime easily. To achieve the same thing in Tomcat, I use ServletContextListener.contextDestroyed method. If you implemented ServletContextListener, implementations of this interface receive notifications about changes to the servlet context of the web application they are part of. To receive notification [...]

Windows Mobile Wireless Network Stumbler »

MiniStumbler is a tool for Windows CE that allows you to detect Wireless Local Area Networks (WLANs) using 802.11b, 802.11a and 802.11g. It has many uses: Verify that your network is set up the way you intended. Find locations with poor coverage in your WLAN. Detect other networks that may be causing interference on your [...]

Woopra – An Alternative to Google Analytics »

If you are using Google Analytics, you can try Woopra. Woopra is a real-time Web tracking and analysis application. It features Live Tracking and Web Statistics Rich User Interface Real-time Analytics Manage Multiple Blogs and Websites Deep Analytic and Search Capabilities Click-to-Chat Visitor and Member Tagging Real Time Notifications Easy Installation and Update Notification

iBATIS: Extending Your ResultMap »

Here is an useful feature of the ResultMap. In your iBATIS ResultMap, the optional extends attribute can be set to the name of another parameterMap upon which to base this parameterMap. All properties of the super parameterMap will be included as part of this parameterMap, and values from the super parameterMap are set before any [...]

Version Control with the Tortoise Tools »

For CVS, you can use Tortoise CVS. TortoiseCVS lets you work with files under CVS version control directly from Windows Explorer. It’s freely available under the GPL. With TortoiseCVS you can directly check out modules, update, commit and see differences by right clicking on files and folders within Explorer. You can see the state of [...]

JMeter Exception: java.net.BindException: Address already in use: connect »

This is the exception I encountered whenever I run load test against HTTP or Web Service Requests using JMeter. I am running 120 concurrent threads using a Windows based notebook. After searching, I found that this problem is Windows based. There is a article at http://support.microsoft.com/kb/q196271, which says Windows XP only will make outbound TCP/IP [...]

Create Multi Clients TCP Server Application »

QuickServer is an open source Java library/framework for quick creation of robust multi-client TCP server applications. QuickServer provides an abstraction over the ServerSocket, Socket and other network and input output classes and it eases the creation of powerful network servers. As quoted from the website, it supports Create multi-client TCP server applications. Support for secure [...]

Create Own Photo Album using Jalbum »

Flickr provides very good photo hosting and sharing. However, if you do not want to use Flickr and instead want to create your own photo album on your own website, then you try JAlbum. Jalbum consists of free album software, free hosting and a creative community. With Jalbum it’s easy to create your own photo [...]

DZone RefCard: Useful Developer CheatSheets »

DZone provided free downloads to quite a number of useful reference cards for developers at http://refcardz.dzone.com/downloads You can download useful reference cards for NetBeans, IntelliJ, Eclipse, Rails, Design Patterns, Silverlight, GlassFish, etc. I found it useful to have them printed out for easy reference.

OpenSTA: Free Web Load and Stress Testing Tool »

OpenSTA is a distributed software testing architecture designed around CORBA, it was originally developed to be commercial software. The current toolset has the capability of performing scripted HTTP and HTTPS heavy load tests with performance measurements from Win32 platforms. However, the architectural design means it could be capable of much more. As quoted from the [...]

Detect Wireless Network using NetStumbler »

NetStumbler is a tool for Windows that allows you to detect Wireless Local Area Networks (WLANs) using 802.11b, 802.11a and 802.11g. It has many uses: Verify that your network is set up the way you intended. Find locations with poor coverage in your WLAN. Detect other networks that might be causing interference with your network. [...]