Archive for the ‘Java’ Category

I appreciate the fun one can have at building programs and tools that do something thought to be impossible. Running Java code on a Commodore C64 is such a project.

Back to the Future Java (b2fJ) aims at bringing the power of Java to 8-bit home computers of the ’80s. This project provides a toolchain to cross-compile Java programs under Windows.

You’ll find everything about “b2fJ – Back to Future Java” on Github.

Read Full Post »

The language isn’t new: Kotlin was created more than 5 years ago by JetBrains engineers. A preview version was released in 2011. Kotlin is a statically typed programming language for the Java Virtual Machine (JVM). Being crude, you could say that it’s “just another” enhancement of the Java language, just like Groovy or Scala. Nice, but hardly indispensable.

But Kotlin made a name for itself in May 2017, when Google announced “that it is making Kotlin […] a first-class language for writing Android apps” (in the words of Frederic Lardinois on TechCrunch). The Wired website has a bit more info on why the language was developed and why it is so “hot” these days. And the article concludes:

And its applications extend well beyond Google’s platform. Like Java, it can be used to write apps that run on desktops and servers as well. Plus, JetBrains has released tools for translating Kotlin code into code that can run on iOS or even in web browsers. All of which is to say, you can expect to find yourself using apps written in Kotlin more and more often in the coming months and years.

I have not yet written a line of Kotlin, but perhaps I should try that sooner rather than later. Since I’m also looking at Apple’s Swift language, the combination of learning both could be beneficial… or problematic, since someone asserts that both are quite similar (but not the same, of course): see “Swift is like Kotlin” for details.

I still would like to know how the name “Kotlin” was chosen…

Read Full Post »

The InterWikiLinksPlugin, my small addition to JSPWiki is part of the JSPWiki source tree (or at least it was somewhere in 2009). But Pikacode managed to lose the version I installed there, so I am storing it for posterity on this site as well ;-)

Click the image to download the PDF

Click the image to download the PDF

I had to package it as a PDF file here in WordPress.com, but just copying the text content of the file and saving it as a Java file in the JSPWiki Plugins source directory should suffice for a successful compilation.

Read Full Post »

At work, I tried to upgrade PasswordSafeSWT, our password manager tool, to version 0.8.1. Installing the tool went well, but opening and updating our current password safe file generated errors with the message “Illegal pattern character ‘Y'”. The error occurs on many entries when using the password safe from the previous version “as is”. The project has recorded a bug report on the subject; no solution has been offered, however, even though many months have gone by. The bug report is rather limited, but I can confirm that the problem is very real on Windows XP SP3.

I first thought that the problem was related to our ‘old’ safe, so I tried exporting the data to a new safe and update that. To no avail, since even then the error message appears on every new update… And exporting the data to a new safe isn’t really an option, since that would destroy all log data about changes and accesses.

So for the moment we stay with version 0.8!

Read Full Post »

This is news in the category “Just because it can be done“.

Wired: Running a web server on an Apple Newton: not bad for last century hardware. But how about a Java enterprise application server on a smartphone? Well, it’s possible – you just have tot install Ubuntu Touch first, says Mike Croft in “A Smartphone as a JEE Server: Glassfish 4 on Ubuntu Touch” (via DZone).

Just remember: you’ll need a lot of Nexus smartphones in a cluster to support some serious application traffic!

Read Full Post »

JSPWiki is (finally) almost ready to become a first-class citizen in the Apache universe. That’s good news, of course, and it proves that JSPWiki is indeed a stable and worthwhile open source product, that deserves global recognition as such. Of course, an official Apache release of JSPWIki also requires official documentation. The ‘old’ site already had new branches for several releases, and I guess the same approach will be used for the upcoming 2.9 release, albeit in the official Apache infrastructure.

The JSPWiki crew plans a move of the current ‘http://www.jspwiki.org‘ content to the Apache infrastrucure – and what I read about this on the Apache issue tracker is somewhat worrying. Yes, the current content is not really very up to date, but still: it may contain useful information for those of us still running older releases of JSPWiki. There’s the list of not all too official plugins, there are comments all over the place that may be useful – or not, etc.

Rather than throwing everything away, wouldn’t it be possible to keep a read-only copy alive, for example under the name ‘old.jspwiki.org‘ or so?

Read Full Post »

Talk about a thorough comparison: Play vs. Grails Smackdown at ÜberConf.

Play and Grails have been hyped as the most productive JVM Web Frameworks for the last couple of years. […] That’s why James Ward and I decided to do a presentation at ÜberConf comparing the two.

Matt Raible and James Ward built the same application with both frameworks, and put the end result as open source software on Github. Their presentation is not just pretty (thank you, Reveal.js) but above all very thorough.

My conclusion? Both frameworks, like a few others no doubt, allow you to build serious, performant applications. The devil, as always, is in the details – that’s where a good app distinguishes itself, and in many cases the quality of the app is determined more by the quality of the developer than by the quality of the framework used. So why don’t you try a few frameworks, and see what “feels” best? Not having to fight a framework (or a programming language!) to achieve the desired result may well be the best recipe for successful development.

Read Full Post »

Older Posts »