Posted by editor
on March 13, 2009 at 9:25 AM PDT
Looking ahead to JavaOne 2009. Also:
Java Today: JSR 318 (EJB 3.1) proposed final draft, JDK 7 language model changes, and RESTful webservice and JavaFX
Weblogs: GlassFish bootcamp, Hudson SVNCancelException, and blueMarine customer acceptance testing
Forum Posts: Swing table-packer, JSR 275 (units API), switch between LCDUI and LWUIT, and managing bitmap fonts
Looking ahead to JavaOne 2009
Noticed too late to make the front page, the JavaOne 2009 sessions list is now online in searchable form. No doubt would-be attendees are already hurling their favorite search terms at the content catalog to size up their interest in the conference: Kirill Grouchnikov tweets that there are 40 talks with "JavaFX" in their title (51 by my count, if we count BOFs and labs). Clearly, RIA is a focus for this year: "media" as a keyword brings up 40 hits, more than enterprise-y terms "cluster", "persistence", and "distributed" combined.
With all the economic troubles, it's hard to guess what turnout will be... surely some previous attendees will be stymied by corporate belt-tightening, but who's to say that they won't be replaced by first-time attendees, coming for a look at Java 7, EE 6, or the future of JavaFX?
With this in mind, the latest java.net Poll asks "Are you planning to attend JavaOne 2009?" Cast your vote on the front page, then visit the
results page for current tallies and discussion.
In Java Today ,
the expert group for JSR 318 , Enterprise JavaBeans 3.1, has posted a proposed final draft . " The purpose of the Enterprise JavaBeans 3.1 specification is to further simplify the EJB architecture by reducing its complexity from the developer's point of view, while also adding new functionality in response to the needs of the community." The new spec includes removal of the requirement for a separate local business interface, support for direct use of EJBs in the servlet container, singleton beans, support for asynchronous session bean invocation, and more.
Joe Darcy has posted a short blog describing Language Model Changes as of JDK 7 Build 50 . "To date, there have been a few API changes to javax.lang.model.* in JDK 7. Early in the release, SourceVersion.RELEASE_7 was added to correspond to any new source-level changes coming in JDK 7 (6458819 ). Eventually, there will be changes to support the modulue construct being added by JSR 294 ; changes may or may not be needed for language changes coming from Project Coin and JSR 308 . Once modulues are added, the JSR 269 API elements meant to cope with the expression problem will be tested."
The fourth in an SDN series from Ed Ort and Carol McDonald, GlassFish and MySQL, Part 4: Creating a RESTful Web Service and JavaFX Client shows how to create a RESTful web service for the web application developed in the first three parts, which is then called with a JavaFX client. "This article shows you how to use the NetBeans IDE with GlassFish and MySQL to create the RESTful web service. Specifically, you'll take advantage of features in NetBeans IDE 6.5 , GlassFish Server v2.1 , and MySQL 5.1 Community Server to build and deploy the RESTful web service. This article also shows you how to use the NetBeans IDE with JavaFX support to run a JavaFX client for the web service."
In today's Weblogs , Arun Gupta has posted a pictorial retrospective of this week's GlassFish community event in
GlassFish Boot Camp, Mar 10 - Slides and Photos . "The GlassFish Boot Camp conducted in Sun's Santa Clara Campus on Mar 10, 2009 was well appreciated by the attendees. There were 30 of them engaged with 14 speakers over 8 hours in 7 fast-paced sessions - overall a great recipe for the boot camp. Many thanks to all the attendees and speakers for making it useful!"
Felipe Gaucho uses his blog to help you figure out
Hudson SVNCancelException: No credential to try. Authentication failed , offering "a small note on how to solve the SVNCancelException in Hudson builds."
Next, Fabrizio Giudici goes about
Defining Quality Assurance for blueMarine . "Just quick news from the project. I've defined a reasonably formal process for governing new releases of blueMarine. Copying most concepts from NetCAT (but with some differences), the blueCAT program has been born. CAT means "Community Acceptance Testing"."
In today's Forums ,
uvoigt offers up a Swing TablePacker class
"I have implemented a class that automatically resizes colums of a table according to the content (or to prototypes or header sizes). It's configurable and is a bit similar to GridBagLayout. I find it very useful and I want to contribute it to swingx. Maybe it can be used in this context and it can be improved by the wide community. Where can I upload my class so that you can have a look on it?"
forwards a JSR status update in the response
Re: Is JSR-275 (Units API) dead?
"According to Jean-Marie Dautelle: It is still alive, we suffer a delay of about one year but are catching up. New release this month."
Switch between LCDUI-LWUIT
. "Although this was mentioned in some Threads I didn't find any clear explanation / statements from the LWUIT team how to approach this. I need this in order to get reliable Media capturing, since this just does not really work with LWUIT currently on quite a few devices (S60 above all). So let alone this discussion: how to switch between from to lcdui. I do it like this. It works in the WTK emulator, but not in my S60 device. There it my lcdui screen only flikers shortly then comes back the lwuit screen. I tried a lot of variations, setting current form to invisible and playing with invoke and block, invoking it in the edt , but nothing worked, always comes back to lwuit. Can anyone tell me how to achieve this?"
also passes along some advice about font performance in
RE: three font sizes
. "My humble advice regarding fonts:I also thought that bitmap fonts are the solution, however I had to realize that performance was really suffering on a lot of places that was too much to bear for the user. Typical places where you realize this are list scrollings e.g. on menu items. Also if you are tight with memory you have to take into consideration the additional amount of memory the bitmap fonts consume. To be flexible what i did is to have centrally define my fonts so that I can switch to bitmap / sytsem just by using a flag and do not have to replace those references all across the code base."
Current and upcoming Java
Registered users can submit event listings for the
href="http://www.java.net/events">java.net Events Page using our
href="http://today.java.net/cs/user/create/e">events submission form.
All submissions go through an editorial review before being posted to the
Archives and Subscriptions: This blog is delivered weekdays as
Today RSS feed . Also, once this page is no longer featured as the
front page of java.net it will be
archived along with other past issues in the
Looking ahead to JavaOne 2009