Evaluation of COM to Java bridges
At work we needed to access a COM object in a DLL from Java. We started out using the open source Jawin tool, but unfortunately we never got it stable. My unit tests failed about every second time. So...
View ArticleJava history was made today!
Today Java overtook C++ as the language with most projects on SourceForge! Here is the current list for languages with more than 1000 projects:Java (16738 projects)C++ (16731 projects)C (15934...
View ArticleBadly missing book: JavaScript for Java programmers
I'm really lost when I code in JavaScript! I stumble on each and every small difference between Java (which I know well enough to do in my sleep) and JavaScript. It can't be just me! I wish there was...
View ArticleThe Java Web Framework Grand Challenge
Ajax has certainly stirred things up! This last summer I was thrilled about Wicket, as the lean and mean new kid on the web frameworks block. I never got to know it in detail, and now I'm not so sure...
View ArticleMy Swedish Ajax site is now online
Registered the domain about 2 months back, then spent much too much time experimenting with the layout and CSS. I'm sure as hell an amateur at web design, but it's fun. Finally it is online at...
View ArticleJava Open Source CMS
I've known about the pretty amazing Open Source CMS site for a while, but recently bumped into the CMS Matrix. I spent an hour or so browsing throgh all the entries, ten by ten, listing all of the...
View ArticleAll exception constructors should take a String parameter
I've spent several days in code reviews. I kept seeing Exception classes with empty constructors, and that just drives me nuts. I also saw exception constructors taking only a Throwable. That drives...
View ArticleTools for debugging Ajax
When Joe Walker (the creator of DWR) visited Stockholm last week, he got a question during the Ajax seminar what tools there were for debugging Ajax. He whipped up this list of tools and...
View ArticleBruce Tate pimping Ruby on Rails again
Bruce Tate is at it again, pimping Ruby on Rails. If he was pumping a stock, wouldn't everyone notice that he just bought one million shares of RUBY? He would, after all, stand to make a great living...
View ArticleI'm going to JavaOne!
I wish someone paid my expenses, but I have to do it myself since I am now a contractor. I will probably also go to that Ajax conference the week before, The Ajax Experience 2006. It would be great to...
View ArticleI'm going to The Ajax Experience 2006, too!
It seemed a bit rediculous not to go to The Ajax Experience 2006 conference in San Francisco when it is set to go the week before JavaOne 2006, which I have already signed up for. So, I'll be in San...
View Article12 perfect cases for Ajax
I've spent quite some time creating a 2 hour long Ajax course in Swedish. At the end of the course I list 12 cases where I think Ajax is a perfect fit, inspired by Alex Bosworth's 10 Places You Must...
View ArticleAjax lesson: Forget Submit
Over the last 9 or so months I've looked at many Ajax examples. Hundreds. Recently it suddenly dawned on me that designing for Ajax is to some extent to forget the submit button. You still need forms...
View ArticleSet tab to 7 spaces!
In my project they've decided to use 3 spaces as indentation. I actually think 3 is pretty optimal; 2 is too little, 4 is a bit too much. Unfortunately it is tempting to some to set their IDE tab...
View ArticleThe road to process hell is paved with good intentions
Creating a process for software development is very delicate. In a large project there are so many steps that might go wrong. It makes much sense to add process to minimise risk in these steps. But,...
View ArticleJavaScript Date parsing fun
Just bumped into an amusing anomaly in how Mozilla does date parsing in its JavaScript Date constructor. Quick, what date is returned by this code: document.write(new Date("31 03 2006")) The result...
View ArticleGabbly - my mind is racing
Just bumped into Gabbly and my mind haven't settled yet for all the ways this stuff can be used for. Haven't been this pumped for a year or so. I'd LOVE to show this stuff on Sand Hill Road. It would...
View ArticleThe Ajax/Java education problem
I've been asked to create a one to two day Ajax course for Java developers. The problem is that I don't really know what is the best way to do this. I've created a 3 hour introduction where I show in...
View ArticleNew version of State Of The Art In Server Side Java document
Just finished a new version of my State of the Art in Server Side Java document. I removed some irrelevant stuff, and added some pages about JAXB 2.0. I also updated all examples to follow the latest...
View ArticleHumour: The weight of software
I heard this story of this guy writing software for fighter planes in the 50s. In the same project they had this other guy responsible for keeping the overall weight of the fighter down. He once asked...
View Article