Home » Archive

Articles in the tools Category

jboss »

[14 May 2007 | 3 Comments | ]

In July of 2005, I received an e-mail from an editor at Manning Publications Co. regarding some articles that I had written about JBoss. They liked my writing style and wanted to see if I was interested in writing a book on JBoss. I pitched a table of contents for a book that would be in their “In Action” series and they accepted it. Now, nearly two years later I, along with my co-author Peter Johnson, are approaching the production stage for our book, JBoss in Action.
Between the two of …

tools »

[12 May 2007 | Comments Off on Types of standards | ]

There are two types of standards: de facto standards and de jure standards. A de facto standard is one that is based on widespread use and recognition throughout an industry. A de jure standard is created by a body or committee. These two types of standards are not mutually exclusive, and often, the best standards are those that start as de facto standards then become de jure standards. This is because unproven de jure standards are less likely to be successful. For example, parts of the J2EE standard (a de …

tools »

[2 Sep 2006 | Comments Off on hashCode() in Java 1.5 | ]

Can anybody think of a reason why you can’t just have a generic hashCode() utility in Java 1.5 that utilizes autoboxing and variable argument lists? I’ve been using the following code:
public static int computeHashCode(Object… o) { int result = 17; for (int i = 0; i < o.length; i++) { result = 37 * result + (null == o[i] ? 0 : o[i].hashCode()); } return result;}
It could be called as follows:
public int hashCode() { return computeHashCode(var1, var2, var3, var4, var5);}
Because of autoboxing, …

process, tools »

[11 Aug 2006 | One Comment | ]

Marcus Ahnve recently wrote about why he doesn’t like FIT.
Here are my thoughts:
When I first started doing customer specified integration (“story”) testing on enterprise Java projects, JUnit was the tool choice. It was just as simple to program and maintain integration tests as it was to write and maintain unit tests. Because the developers were responsible for translating the test plans into their executable form, it was an obvious and simple choice. It enabled us to run a debugger when we needed to, the tests ran fast, and we didn’t …

tools »

[23 Mar 2006 | Comments Off on Opening JARs as a Windows compressed folder | ]

I’ve been trying to figure out how to get different file types (such as JARs) to open up as compressed folders in Windows. I’ve finally found out how:
1. Open a Windows Explorer window2. Click on Tools -> Folder Options -> File Types3. If you already have an associate with the file type that you want to open as a compressed folder, you’ll have to delete the association (or rename it just to be on the safe side)4. Click New5. Type in your file extension (JAR)6. Click on Advanced7. Select …

jboss »

[14 Mar 2006 | 2 Comments | ]

I’m coordinating the first meeting first DFW JBoss Users Group meeting. The meeting is being sponsored by my company (Valtech) at our office in Addison, TX. Marshall Culpepper (from JBoss) will give a presentation and do live demos on the JBoss IDE.
For more info visit: http://www.dfwjbug.orgTo join the mailing list, e-mail: info at dfwjbug dot org