For some reason, the blogsphere suddenly noticed my year-old NLink project, so I'm getting a lot of traffic lately. Maybe I've never sent out the announcement, when I originally released it, so here it goes...
Historically, JNI has been the only option to invoke native libraries. The problem with calling native libraries with JNI is that, for every method, you need to write a java method...
on Feb 26, 2007
Earlier this week I posted a few polls on the Java Power Tools book website, about the tools people preferred in a number of areas: build tools, continuous integration, and issue tracking.
So far, the pools are getting some interesting initial results. On the build tools front, Ant is in front of Maven 2, but not by that much. Cruise Control still seems to be the leader in the Continuous...
on Feb 21, 2007
I've been following Cafe au Lait for a few weeks now, and it really amuses me. Quotes like "the best Java can or should do is faithfully mimic the native user interface" and "the goal of a Java application is to fit in with other native applications, not to stand out" most certainly indicate that the writer is a strong proponent of a native look and feel, which is kind of bemusing. The Mac UI is...
on Feb 16, 2007
"Java Power Tools" is a new book that I'm currently working on for publication by O'Reilly. It is basically about software tools and techniques that can contribute to improving the SDLC (Software Development Lifecyle). This includes build tools such as Maven and Ant, CI tools, code quality tools, testing tools, collaborative tools, source version control, and more!
I've set up a Cool Tools...
on Feb 13, 2007
Hudson has always been distributed as a single war file, and the installation was as easy as dropping this war to your web container. I thought this was easy enough, but then people pointed out that installing a web container is not all that easy. There has been some discussion about this in the users list, and usual options like bundling Jetty was mentioned, but none of them seemed quite right...
on Feb 11, 2007
Maven 2 is really a terrible terrible tool (with all the bugs, no documentation, verbose XML, ...), yet I'm finding it more and more useful these days. Hudson is now built on Maven2, and so does the JAX-WS RI extensions that I wrote. Glassfish v3 is also built entirely in Maven2.
Since I rely more on Maven2, I wanted more Maven2 support in Hudson. It can already build a Maven project, but it...
on Feb 4, 2007
This article is oriented to developers of test suites of any kind.
It provides some criteria that can be
used when choosing a test harness for certain types
of test suites. It describes
requirements that are treated as most important for JT
harness, the open source version of the JavaTest TM
harness. The ME
Framework is a JT harness plug-in for JavaTM
Micro Edition (ME), driven by the same...
on Jan 28, 2007
I recently returned to Sun, the past 2 1/2 years I was an Architect for
a loan servicing application being built for one of the largest
automobile companies. At my previous company we were developing
with an agile development process using a lot of open source
tools -eclipse, junit, ant, maven, cvs, cruisecontrol, and not open
source tools- Magic Draw, XMLspy, Jprofiler.
Last week I attended...
on Jan 24, 2007
My sincere apologies. I completely forgot to post the code from the last free project, sketch pad, so here it is. I also forgot that I have one more project to give away, one very different than anything else I've ever done. This one involves some hardware.
Another crazy idea
You see, every so often I get a crazy idea for a startup, put some effort into it, and then realize that I know nothing...
on Jan 19, 2007
My current work project involves extending an existing application and adding a few new features. All is well and good, but it's written in C++. Well, all is still well, since that has been my primary development from '99 to '02 (in Visual Studio 6). The code is written well, the original developers sit right next to me, C++ is very much like Java (thankfully they didn't use operator overloading...
on Jan 18, 2007
I'm increasingly relying more on Maven2 for managing my numerous smaller java.net projects. Among countless pains in using Maven2, one pain was that the look and feel of the website generated by maven site plugin (like this) doesn't match the look and feel or java.net at all.
So either you need to use the nonav URL feature of java.net, in which case you still have to redirect users from your...
on Jan 17, 2007
Sometimes, when you use java.net website, you have to click a bunch of links to get to where you want. This is particularly frustrating when java.net is slow.
So I came up with a "switch board", which is a single HTML file that has links to all kinds of places you regularly go. So instead of clicking links maunally on java.net websites and waiting for responses, you can just place this HTML on...
on Jan 3, 2007
I've been so busy with NetBeans 6.0 work that I haven't commented at all on NetBeans 5.5. We just went final about a month ago and had a big party in Prague. 5.5 is a big release, though most of the work is under the hood or on the server side and being a client side developer it doesn't affect me much.. The new Visual Web Pack is pretty nice though. There is one feature, however, that I am...
on Dec 18, 2006
So you want to migrate to Maven because somebody told you it's the greatest build system around? They're probably right but what they don't tell you is that the road to Maven success is through hundreds of land mines, open JIRA's, mailing list lies and enough internal bleeding to make you wish you had stayed with good ol' Ant even though the build file had reached 4000 lines.
Don't take my...
on Dec 13, 2006
I'm happy to hear from many folks that they liked the DIY Orb project. It even made it into the ServerSide! This is a follow-up to my previous post.
Schematics and Software
First, the schematics:
LEDs are all connected in parallel. The one that I used was cathode common, so it's connected to the ground and I used PNP transistor, instead of more "normal" NPN. In my case there are 8 tri-color...
on Dec 7, 2006
One of my hobby projects is Hudson, and there I use colored balls as a metaphor of the build status — red means fatal errors, yellow means test failures, blue means OK, etc.
One day I came across the ambient orb, which I thought would be a rather cool widget as the real world representation of the Hudson ball. I commit to a large number of projects, and I...
on Nov 22, 2006
We have the java.net maven repository which hosts a bunch of interesting artifacts for our java.net projects. One of the things I liked about it is that many projects have source jars hosted (which improves the development experience because you can see the source from IDE.)
This morning, I noticed that my maven 2.0.4 isn't downloading source jars from there, whereas my Maven 1 works just fine...
on Nov 17, 2006
Hallelujah! Java SE is now an open-source project, with the HotSpot VM and javac as its first sub-projects.
This is great news for anyone interested in Java performance, as the world now has full-access to both the static (javac) and dynamic (HotSpot) optimizing compilers from Sun's Java implementation.
Remember back when everyone laughed at the prediction that with dynamic compilers like...
on Nov 13, 2006
Over the weekend I switched the build of Hudson to Maven from Ant, for the goal of making plugin development a whole lot easier. Writing a plugin for Maven was really painful, but I'm hoping that I achieved the original goal.
The first step of developing a plugin would be to install a necessary Maven plugin on your system. In theory, this shouldn't be needed — Maven is supposed to...
on Nov 13, 2006
Greetings from Prague. I've been at Netbeans for about two weeks now and it's been quite a busy time. I think I'm really going to like it here. Everyone is very friendly, the city is beautiful, and they have excellent and cheap beer (cheaper than soda!). I know you are all busy, so for the speed readers in the group I've bolded the important bits.
So what have I been working on? For starters,...
on Nov 9, 2006