Using EJB3 Entity Beans with Grails

Jason Rudolph has a great article showing how to use EJB3.0 Entity Beans step-by-step with the Grails framework.

Last time I tried with Grails 0.1 with Entity Beans there was some issues with package names and the generated scaffold code, so I hope that’s been resolved now. You can also define Groovy classes and mappings using Grails ORM (GORM) as an alternative approach.

Grails really is an awesome framework for rapid web app development, and I urge you to check it out if you haven’t done so already.

Sony’s PS3 still not in production?

Despite rumours that a Taiwanese company called Asustek had started assembling PS3s last month, word from Sony is they have still not started production, despite only being 3 months away from a worldwide launch.

If they do end up hitting shelves in November, expect the consoles to be in short supply.

On the positive side (?), insiders from Nvidia who are supplying the graphics chip for the PS3 say the latest demos from the hardware are ‘astonishing’. We may expect to see what they are talking about at the Games Convention that starts this week in Leipzig, Germany.

Closures coming to Java 1.7?

Gilad Bracha, Neal Gafter, James Gosling and Peter von der Ah√© have written a proposal to include ‘closures’, a feature common in dynamic languages, in the Java 1.7 release.

Closures allow you to refer to blocks of code as a variable and pass references to them between methods.

Read more in Dejan Bosanac’s blog here.