One of the things I learned in The Server Side Java Symposium 2008 was a command-line option to print out the assembly code that JIT is producing. Since I've always been interested in seeing the final assembly code that gets produced from your Java code, I decided to give it a test drive.
First the disclaimers:
I'm not a performance expert.
Don't try to take this too far, like optimizing your...
on Mar 30, 2008
I will be giving a lunchtime talk in Wellington on the 8th of April on how Java development best practices can boost your productivity. In this talk, I will present some practical techniques for effective development of Java applications. The presentation will cover a number of key Java development practices and how these can improve productivity. For each...
on Mar 25, 2008
Hudson finally hit 1.200 last Friday. It's not 1.2 nor 184.108.40.206 — it's 1.200, the 201st release of Hudson since it's 1.0 release, which was a little over 3 years ago.
A few weeks back when I knew that it's approaching 200 mark, I briefly thought about giving it a longer soak time to make it a very stable release,
or perhaps adding some major RFE in this release. Or even call it 2.0. But in...
on Mar 24, 2008
I upgraded to IntelliJ IDEA 7.0.3 recently, and so I took some time to enhance my plugins to scratch my itches.
The "major" improvement is in the fast-open IntelliJ plugin. Being a CLI guy who hates using mouse (and since I work on so many projects), the main idea of this plugin was how to open projects in IDE efficiently.
In the earlier version, I was doing this by clipboard. First I run a...
on Mar 20, 2008
I created a small library to manipulate Windows processes the other day, and someone showed interest in how to create a small footprint DLL in Windows. So this blog is to explain you what I did.
The main idea behind cutting down the size of DLL is to avoid linking the Visual C++ runtime. In many cases, you'd only use JNI to talk to other DLLs (most often to kernel32.dll or ntdll.dll — IOW...
on Mar 19, 2008
I just love it when things are aligned. Today, it is about Eclipse and
Sun, or I should say Eclipse Foundation and the GlassFish community.
Read it at http://www.eclipse.org/org/press-release/20080317_Eclipselink.php
: EclipseLink will be used in GlassFish V3
Application Server (Java EE 6) and it will be the reference
implementation for JPA
(Java Persistence API) 2.0.
on Mar 17, 2008
I wrote a library called winp that lets you do lower-level process managements on Windows. So far it includes things like killing random processes (not just the ones you launched), killing a process recursively, or finding out the environment variables and command line arguments given to the process.
My short-term goal is to use this in Hudson so that I can clean up the run-away processes (...
on Mar 16, 2008
Cactusman reports in Japanese that Hudson just became a part of the FreeBSD ports collection. I don't know much about FreeBSD, but AIU this means FreeBSD users can install Hudson even more easily. The version of Hudson in FreeBSD is 1.190,
Hudson is also available as a part of OpenSUSE packages, and one person volunteered and is working on making it available in OpenSolaris.
on Mar 14, 2008
One of the common problems of java.net project owners is the e-mails that people send to firstname.lastname@example.org. This list is normally reserved for the automatic notifications from the issue tracker (thus it gets lower level of attention), but mistaken users often think this is the list to report any problems, and send in e-mails directly.
The "issue police" daemon monitors the issues...
on Mar 6, 2008
A few months ago, I blogged about the enhancement in Hudson to enable i18n. The progress since then has been rather amazing.
Japanese was the first language to be added to Hudson, thanks to a new committer "cactusman". Now, this work really actually has two parts in it — first to properly i18n the code, and then to add locale-specific data (AKA l10n.) Since he was the first to work on...
on Mar 3, 2008
For various reasons, I haven't touched my java.net tasks project that much lately, but I'm thinking about putting a bit more effort in doing more java.net automation, especially around issue tracker. Toward that, I wrote a tool to generate graphs out of the issue tracker — I'm calling it "issue tracker stats".
The tool is probably more useful for the management to get insights into...
on Mar 2, 2008
Splines project is my latest contribution to oss.
It is aimed at helping people use, display and edit splines without too much hassle.
The main entity of the project is Curve, which is a list of CurseSection objects. Three types of sections can be added at the moment, but the system can accept new implementations anytime (you can already add yours).
Actually implemented CurveSection types are:...
on Feb 26, 2008
In his recent blog, he announced a plugin that changes the facial expression of Hudson the butler depending on how your builds are going.
As you can see in his screenshot below, if tests fail, Mr.Hudson gets disappointed, and if a build fails, he becomes visibly frustrated.
Its practicality aside, I thought this is pretty funny.
on Feb 26, 2008
About a year ago, I launched a poll to learn what Continuous Integration servers people were using. The results were interesting...
The original CI tool (if you don't count ye old cron job) came in first with a wopping 35% for CruiseControl. Hudson and Continuum where neck-and-neck, with 14% for Hudson and 13% for Continuum. IntelliJ's TeamCity performed well for a commercial product, with a...
on Feb 25, 2008
Java.net maven repositories have been offline throughout yesterday, but they are back now. Sorry for the trouble it caused.
There was a bug in Maven that made this outage worse, too. Once in a while, maven checks the updates to plugins by talking to the remote repository. And when it fails to connect (like in this case, because the server was out), it clobbers the maven-metadata.xml entirely,...
on Feb 5, 2008
My friend Jon had an interesting insight: Both Ant and Maven rely on lots of XML. XML is good for describing data and terrible for describing behavior. A build is mostly behavior. What if, instead of tormenting Ant into iterating on a bunch of subprojects of subprojects, if we just used an actual programming language to write build scripts. Like, oh, say...Java, for instance?
So he created...
on Jan 30, 2008
In a new java.sun.com article, Rick Marejka describes how to manage multiple project versions and deploy applications with Subversion (SVN), the NetBeans IDE, and Sun Java System Web Server on the Solaris 10 OS and on the Java Platform, Mobile Edition (Java ME platform). The article describes in detail the related installations and configurations, illustrated with examples and screen shots.
on Jan 25, 2008
OpenSolaris has been working on a new packaging system called IPS, and Ludo told me that they are looking for projects that are interested in contributing packages.
We thought it'd be pretty easy to package up Hudson, since it's just a single war file that can run on its own without any container. The large part of it, which is to install Hudson as a service to the service management framework...
on Jan 24, 2008
When I first heard
about JavaServer Faces, way back at the 2002 Java One conference, it was sold
as “Swing for the Web”. That caught my attention. I was sick of
cookies, servlets, and that special form of torture—JSP custom actions.
Ever since, I have pinned my hopes on JSF because it has one thing going...
on Jan 21, 2008
Deploying Web Applications to Sun Java System Web Server With NetBeans IDE, a Sun Developer Network article, now reflects the NetBeans 6.0 UI in the screen shots and procedures. The steps are simple: Install the open-source Web Server 7.0 plug-in into the IDE and then register Web Server; deployment is only a few clicks away.
The article also contains an addendum that lists the Web Server 7.0...
on Jan 17, 2008