The Planetarium

           Java for all clients: Java SE, Java ME, JavaFX and JavaCard

See you next week

Filed under: javaone on Friday May 29, 2009

See you next week !

Or, stick The Planetarium in your favorite feed reader to get all the show news.

Or, follow The Planetarium on Twitter from the show.

Guessing the JavaOne news

Filed under: javaone on Wednesday May 27, 2009

If you believe everything that you read, then you have some surprises in store at next week's JavaOne conference.

A) Its going to be the last one.
B) Sun's going to launch an app store
C) Microsoft is giving a keynote
D) You'll see a BluRay player streaming content.
E) There'll be this crazy Java Utopia thing in the pavillion hall
F) Sony-Ericsson will announce something big about mobility and Java
G) You'll get a sighting of Project Jigsaw in action

But, you've probably been before: JavaOne, all its organization and chaos, never works out how people think it will.

That's the fun of it :)
Filed under: java javafx jdk7 on Tuesday May 26, 2009

The Janitor isn't one to fall prey to the latest trends, but there's one trend that this week will follow: there won't be much news this week about Java SE, Java ME, JavaFX or JavaCard before the start of JavaOne next week.

But if you go by what people are searching for, its easy to see the cyclical nature of the interest in the JavaOne show, where many of the companies involved in Java save up their technology announcements. And you can clearly see the growing interest in JavaFX since May 2007 when it was announced, in JDK 7 since the release of Java SE 6 in December 2006, continued interest in Java TV (stay tuned), and in Java updates. Even Project Vector is showing an interesting recent spike.

And in a trend few would have predicted for JavaOne in 2001, Microsoft will be giving a keynote (about interoperability with .NET).

GR8 time in Copenhagen

Filed under: java jdk on Friday May 22, 2009

This helpful article about how the Groovy language plugs into Java SE 6, together with a nice code example of how to execute arbitrary Groovy code, came at the end of the first GR8 conference in wonderful, wonderful Copenhagen.

The talk about the Griffon hatchling looked interesting. To get an idea of where this framework that combines Groovy with Swing,  is at here's a Twitter client in Griffon. Guillaume's DSL talk was reviewed in detail, and there was lots of twittering.

Maybe there will be another next year ?

JavaFX Styling

Filed under: javafx on Thursday May 21, 2009

What with all noise about Project Vector starting to swirl around, its easy to miss some of the JavaFX news that's been going on. Don't expect to hear much from the JavaFX engineers, they're all heads down on JavaFX 1.2 and JavaOne talks.

And there's more in store ;)

But javafx.com continues to fill up the racks with fresh items on developing in JavaFX. There's new help if your app needs bust-a-moves backward, and help if your app needs a styling refresh. Try some of these off the peg accessories.

And for a more retro look, relive 80s chic in this two part series on writing PacMan in JavaFX, part 1 and part 2.

Some are even using JavaFX to give others some style tips ! Who'd have thought it ?

You'll see in the latest JDK 7 build that the new G1 collector is getting a good bashing, with a number of important bugs fixed.

The preview implementation of JSR 292 is in, and the rumors that reached the all hearing Planetarium ears turned out to be true: Charlie's trying it out in JRuby, and so's Frank with Jython.

So together with compressed object pointers, NIO 2 (which Alan has been blogging about at length - from the new filesystem API, to monitoring direct buffers), an important tweak to the classloader, SDP API and Solaris implementation, and SCTP support, which Chris blogs about today at length, things are in great shape for Milestone 3, which will be released at JavaOne.

Inside the walls of the Planetarium you can gauge people's stress levels quite easily: Are they counting off the days until JavaOne begins, or the number of days until it ends ?

Of course all the sessions are online now, and you should be signing up because some of them are already full. And of course, students get a free pass. And of course who will the special guests will be, in this, the year of the app store ?

Alex Miller posted a nice list of JDK 7 / Java SE 7 talks, and Terrence posted a comprehensive preview of mobility related activities. There's a bunch of JavaFX stuff going on (so much more to say this year), like Jim's panel session, and many, many others.

Hope to see you there !

One of the exciting things going on today in the technlogy industry is the proliferation of new computing languages. Another is that the JVM is evolving to run most of them really, really well. Most exciting is how the ideas between the languages are being begged, borrowed and stolen, to the ultimate benefit of developers writing all kinds of applications. The Planetarium has long been a subscriber of the Darwinian notion that diversity spurs innovation.

So it was interesting to see that Sun's own John Rose was at the Lang.NET symposium up in Redmond last month, talking about JSR 292, which you can watch here*, and giving an interview, which you can watch here*, about the new work to turbo-charge multiple languages for JDK 7.

And, no doubt, participating in the sharing and borrowing of good ideas with the other attendees.

Frank Wierbicki, Dr Jython, was there too, talking about Jython on the JVM. And there was a crazy rumor that Charlie hacked up an experimental version of the JRuby compiler over the weekend to use JSR 292's invokedynamic bytecode, coming to the JDK 7 builds real soon. Maybe there will be more from Charlie at JavaOne.

* You'll be asked to install Silverlight to see these vids. Just sayin.

Mega-store coming to town

Filed under: java on Wednesday May 13, 2009

Imagine a town where a new store opens on the main street every few months. Sign of a healthy local economy.

Seems to be that way for application stores: There's a smell of new paint over at at Nokia's Ovi store, which recently decided to close its charity branch, ready for its imminent opening, Rim's App World's already had its grand opening (although people are still having trouble finding where it is) and the open-air stalls are filling up down near the tourist information booth in Google's App Market for Android phones. And still, the big success story has been Apple's app store, with its loud, hip music, serving its billion app and making many of its own headlines (and seducing some notable engineers).

But yesterday's news that Vodafone is going to open its own store by the end of this year is like the signs going up at the edge of town that a big box megastore store is opening up against the backdrop of what are starting to look like a collection of small specialty stores: Apple's wildly successful app store has a maximum reach of 31million users. Rim's store caters to only one kind of customer, those with a Blackberry, and so on.

Vodafone's store will be able to open its doors to nearly 300million users, or a billion if you include the ones it can get through Verizon in the US and China Mobile in Asia. And all those millions of shoppers already have a store account there, they just didn't know it. And while technical details are eerily scarce, it appears to be aiming at muliple platforms to do so.

2009 is indeed turning out to be the year of the application store.

The state of JavaFX tooling

Filed under: javafx on Tuesday May 12, 2009

All the JavaFX tools are based on the basic command-line tools contained in the JavaFX SDK. Tools to invoke the runtime, compiler, and package, and document JavaFX applications.

And of course, since JavaFX is itself built in and on Java, the tried and tested Java tools are often useful, especially in profiling and debugging JavaFX applications. Like using the profiler in the Java ME SDK 3.0 to profile JavaFX applications on mobile devices. Or JConsole for seeing what's going on in a JavaFX application on the desktop.

NetBeans has long supported JavaFX, even as the technology was still developing. And there has been Eclipse support for some time, though perhaps not to first class support level in NetBeans. However this might change now that Exadel is developing another Eclipse plugin for JavaFX (NB: Original post said JBoss was making it, sorry!). Such competition has historically been good for making tools better. So it looks like support for the JavaFX Script coder is building out nicely, whether or not IntelliJ decides to support it.

And in the quest to have such developers work closely with graphic designers, the JavaFX Production Suite is a big help, such as for writing graphics-rich games, such as this article details.

And with the JavaFX team at Sun working on a new JavaFX design tool, those with a more artistic bent than a technical one should be able to join in the fun.


Just many Java developers have evolved from emacs and command lines for developing apps for anything as big as phones and above, there's been this rumor that Java Card developers would come out of the stone age too, which got confirmed by Tim over the weekend.

So NetBeans 6.7 won't just be about saving to Kenai. Good job, SIM cards continue to grow in number.

JDK 7 Watch: UI week

Filed under: java javase jdk7 jdkwatch on Wednesday May 06, 2009

It seems the Janitor is not the only one on JDK 7 watch these days.

Last week's JDK 7 build was a GUI flavored one, with a couple of the most visible features added to Java SE 6u10 making it into the JDK 7 codebase. Alex blogged about the addition of Nimbus Look and Feel (did you know which L&F most people like best ?), and translucent and shaped windows are now in. There's also a rumor that JXLayer is nearly ready - this is the handy utility that helps you add effects to composite Swing GUIs, like this, or this.

And you knew that NIO2 is already in the JDK 7 builds, but you might not have known that there are a bunch of samples for it too.