Posted by editor
on April 19, 2006 at 8:04 AM PDT
Apple finally flips the switch on J2SE 5.0... also:
Projects and Communities: Mac OS X J2SE 5.0 release 4 and "NetBeans Field Guide" update
Forum postings: Java Web Start user experience and XML marshalling
Weblogs: Lunch with Bruce Tate, fixing a Windows L&F bug, and "Focus Abuse Awareness Month"
Also in Java Today: EJB 3 Persistence Jump-Start and easing AJAX pain with Prototype
Apple finally flips the switch on J2SE 5.0
Well, this has been a long time coming, the end of 1.4-by-default on the Mac:
[chrisg5:~] cadamson% java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112)
Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing)
Not that we haven't had access to J2SE 5.0 on the Mac -- Apple released their first release about a year ago, and it's public knowledge that some developers had access to pre-releases before that. Truthfully, this was not the endless wait that some of the previous Mac Javas have been.
But the big news about the new version, J2SE 5.0 Release 4 , is that it "flips the switch", making J2SE 5.0 the default for applets and applications. Previously, if I wanted to use 5.0 from the command-line, I'd need to use a command like
/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands/java. And if typing long paths like that doesn't send you running to
ant, or Maven, nothing will.
In fact, playing arount this morning, I'm reminded of the class file format change in 5.0, and how a class I compile with
javac will now no longer run in 1.4.2, so I need to decide on a per-project basis what version of Java I'm compiling and running with. That issue has always been there, it's just more prominent now that
javac have been re-pointed to the 5.0 version. Anyone managing multiple versions of Java on other OS'es and pointing symlinks or aliases to the various versions has surely had to think about this too.
You realize of course, what the first reaction from the Mac crowd is going to be, right?
So where's Mustang?!
Also in Projects and
Gregg Sporar's weblog entry Field Guide, Take 2 discusses the changes made and new chapters added to the NetBeans IDE Field Guide, 2nd Edition to bring it up to date with all the changes in NetBeans 5.0. As a further enticement, Gregg reveals that the first 400 people through the door at NetBeans Day San Francisco will get a free copy of the book.
In today's Forums ,
fluxe recalls the user experience of the old "warning applet window" and compares it to Java Web Start in
Re: "Java application window" -> "Origin: http://www.dot.com/webstart" :
"Unsigned webstart apps are just like applets in that they're sandboxed, but the phishing issue is that they appear to be native windows (that's sort of what we wanted with Swing, right?). Perhaps the unsigned webstart apps should contain text that indicates the URL where they came from instead of "Java application window" (cause for concern??) or "Untrusted window" (read: undesired popup) or something like that. To the user it would be obvious that the window wasn't native."
In inserting element tags and values ,
icoman seeks help with XML marshalling:
"Lots of stuff is available on how to create a content tree from scratch and then marshall it out to an XML document. But how do I insert some new tags and values into an existing content tree before marshalling. I already created a package with xjc from an OAGIS schema. I can easily instantiate a class and assign a value. However, occasionally I need to create a few custom tags that aren't on the schema and insert them into the content tree."
John Reynolds covers his interesting lunch conversation with the author of Beyond Java in today's Weblogs . In
"Programmer to the Stars" Bruce Tate spotted at swanky North Austin establishment , he writes:
"I recently had lunch with 'Programmer to the Stars' Bruce Tate at a swanky North Austin establishment... Bruce was (of course) traveling incognito due to the fatwa issued against him by various Javatollahs for blaspheming the one true programming language."
Joshua Marinacci proclaims
I finally fixed my first Mustang bug! , in which
"Joshua describes a fix to the Windows Look and Feel for indeterminate JProgressBars"
"Please, please, can we just all work together for a world where the active window keeps focus until the user decides otherwise?" More of Ben Galbraith's call for user experience sanity in International "Focus Abuse Awareness" Month
In Also in
Java Today ,
An important part of the EJB 3.0 spec (JSR-220 ) is the Java Persistence API, a new standard for object-relational mapping solutions in Java. The article EJB3 Persistence Jumpstart explores the fundamentals of the new API and provides practical code samples to serve as a tool to help developers quickly get started with the API. The article aims to introduce the API and provide a flavor for the powerful capabilities that this new standard introduces.
In today's java.net
News Headlines :
Registered users can submit news items for the
href="http://today.java.net/today/news/">java.net News Page using our
form . All submissions go through an editorial review before being
posted to the site. You can also subscribe to the
href="http://today.java.net/pub/q/news_rss?x-ver=1.0">java.net News RSS
Current and upcoming Java
- April 20-21, 2006 - Sun Tech Days - Moscow
- April 21-23, 2006 - Western Pennsylvania Software Symposium 2006
- April 22-23, 2006 - Maker Faire
- April 24-27, 2006 - MySQL Users Conference 2006
- April 25-28, 2006 - Enterprise Java Architecture Workshop Toronto
- April 28-30, 2006 - Northern Virginia Software Symposium
- May 3-4, 2006 - Sun Tech Days - Johannesburg
- May 7-9, 2006 - Rocky Mountain Software Symposium: Spring Edition
- May 8-10, 2006 - Eclipse Forum Europe 2006
- May 8-12, 2006 - Enterprise Architektur Konferenz
- May 8-12, 2006 - JAX 2006 - Konferenz fÃ¼r Java, XML, Web Services
- May 10-12, 2006 - The Ajax Experience 2006
- May 16-19, 2006 - JavaOne 2006
- May 19-21, 2006 - Central Ohio Software Symposium
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
Apple finally flips the switch on J2SE 5.0