Search |
||
Java One Day 2Posted by cayhorstmann on May 7, 2008 at 11:30 PM PDT
Here is my report from day 2 of Java One. I continue to feel diffident about RIA and Java FX Script, the theme of this year's Java One, so I decided to make my own themes: Ease of development, and transparency. Swing App Framework (JSR-296)
To customize and internationalize components, set their infofield1.font=Arial-PLAIN-12 infofield1.icon=dynamite-stick.png For actions, define a method, tag it with the submit.Action.accelerator=control S This is something I have been waiting for for a looong time—it surely has been reinvented a million times (at least twice by me). Now it will finally be a part of standard Java. The framework has many nice touches: support for background tasks, pesky Mac OS X issues, and saving of session state. If you write Swing apps, check it out! (Also check out beans binding.) JPA 2.0 (JSR-317)JPA is one of my favorite “ease of development” technologies.
I design my object model in Java, toss in a few
Web Beans (JSR-299)
Gavin is an opinionated and charismatic speaker, but he was opionated and charismatic about a general-purpose plumbing mechanism that, once it becomes part of Java EE 6, will make Seam-like components possible. It was quite interesting if you are into meta-annotations, and the design looked very clean. But I still don't know whether I will get Seam-like ease of development when EE6 ships. JCP RoundtableThrough the power of my press pass, I got into a “JCP Roundtable Discussion on Open Source and Open Standards”. The table was actually not round, just your usual long table with speakers Patrick Curran (the JCP Chairman), Alex Buckley, Stephen Colebourne, Rod Johnson, and other luminaries. Some things I learned:
All of this may be rather arcane for most users of Java, but as a book author, I feel the pain caused by a lack of transparency. And, ultimately, so do you. There are some JSRs that are best left unmentioned (such as JSR-127) that would surely have produced better specs if they had received more broad-based input. Java Champions BOFThe Java Champions are a motley assortment of (Java luminaries|whiners and
complainers), including yours truly. Consider the case of Java FX. I am rooting for Sun and FX. You can't win if you don't fight, and I give Sun a lot of credit for fighting. I don't see what good it does to develop behind closed doors, and only show a preview to a select few who sign up and get chosen. That may work if you really know what you are doing (e.g. the iPhone but not the Newton). But there is a reason that open source projects succeed with a transparent development process where everything is out for anyone to see. Let people whine and complain early and often, and you get great feedback what you need to fix, before it is too late. »
Comments
Comments are listed in date ascending order (oldest first)
Submitted by twilightworkshop on Fri, 2008-05-09 02:06.
>>> Now we'll have to see how he likes the Flex stuff at his new employer Adobe
I know Chet Haase now works for Adobe, does Hans too ?
Submitted by panzehir025 on Tue, 2008-06-24 13:21.
Submitted by pdoubleya on Thu, 2008-05-08 00:57.
I'm glad there is more talk about transparency in the JCP. I started a discussion about this on JavaLobby some time back and Han's work on the Swing App Framework has been a good example of transparency. John Rose's work on the invokedynamic JSR has also been exemplary (he's also a regular contributor to the JVM Languages Google Group). Let's hope we see more of this in the future, it can only lead to better JSRs, IMO.
Regards
Patrick
|
||
|
|
Also, NetBeans often has a hard time with it. Try to refactor the name of an action method for instance, and see your app fails silently.
I am no fan of this overuse of resource injection and binding at runtime, but I guess that's what Hans had to work with. Now we'll have to see how he likes the Flex stuff at his new employer Adobe, where they have real properties and binding in the language.