Java

Realjenius.com is Changing

Realjenius.com is changing soon!

Please note, if you received this post via RSS, be fore-warned that after September 8th, 2009, the feed URL you are using will no longer work.

Ruboto

Charlie Nutter (head of JRuby development) has posted information on a new variant of JRuby - Ruboto. Ruboto is JRuby running on the Android/Dalvik VM. As a G1 owner, and a JRuby fan this is pretty exciting news!

Constructor Completion

Well, it took over seven years, but finally Eclipse bug 6930: Constructor Completion Proposals has been put to bed.

It’s always fun to see the really, really old bugs get closed out.

Getting True Java Classes in JRuby

This is an interesting thing I ran across when dealing with JRuby 1.1.4 and Swing - some of this may be just my lack of understanding of some of the Java integration features, some of it may be lingering bugs in the Java integration, and some of it may just be what has to be done to make it work; anyway - here goes.

JRuby 1.1.4 Released

JRuby 1.1.4 has been released.

There are a huge number of repairs and performance improvements related to the Java integration in this release. This is great for me, as I have hit some real stumbling blocks trying to build Swing GUIs with JRuby 1.1.3, and the bugs I was being tripped up by, have been fixed.

Highlights after the break:

Did You Know: JFace ArrayContentProvider

When coding in Eclipse RCP or, for that matter, any JFace based UI, you often times are implementing viewers, which require a content provider and a label provider. In most cases, you’re dealing with the IStructuredContentProvider API, which would be appropriate for both the ListViewer and TableViewer classes.

If you have a need to populate these views with data that is effectively static, you can use the org.eclipse.jface.viewers.ArrayContentProvider class to get you up and running quickly; and it is really quite functional in many cases.

Reminder of Type Erasure Problems

I always hate when I’m reminded why I don’t like some technology. Today I was working with Java 5 and specifically a pre-Java 5 xml_rpc API similar to Apache XML-RPC. I made some incorrect assumptions about the return value of a particular rpc call. I was confident that it returned an array of strings (which is translated into a list of strings in Java) - but in fact it returns an array of structs (which is translated into a list of maps).

Eclipse 3.4, Milestone 5

Eclipse 3.4 M5 is available for download.

See the New & Noteworthy here.

Go Team Go: The Tech Community Shines Again

The consistently rude are being consistent again, as yet-another-chain of comments on Javalobby shows how internet criticism flows so freely.

Eclipse Rich Ajax Platform

Eclipse Logo

There is a very intriguing ‘part 1’ tutorial about the Eclipse Rich Ajax Platform (RAP) over at Developerworks.

This article was written in part by Chris Aniszczyk, who most people who deal with Eclipse will recognize as a very strong force in the Eclipse community.