Posted by editor
on February 17, 2006 at 7:38 AM PST
Wrangling a J2SE 5.0 animation issue... also:
Projects and Communities: Mustang blog "carnival" and JXTA interviews
java.net Poll: Which Java SE 6 (Mustang) features appeal to you most?
Weblogs: Java Web Tier, NetBeans and Web Start, and Swing event-dispatch thread
Forum postings: Java3D-to-video and JVM support for non-Java languages
Also in Java Today: XML's power of "no" and JAX-WS 2.0
Crosseyed and painless
Wrangling a J2SE 5.0 animation issue
Among the articles on the stack is a piece on animation from Sun engineer Chet Haase -- it will probably appear next week or the week thereafter -- and he includes a nice applet to show off techniques to improve the actual and perceived quality of the animation.
Only thing is, the applet uses J2SE 5.0, and I'm on a Mac. 5.0 is available for the Mac as an optional download , but it does not replace 1.4.2 as the default JVM. Instead, the two versions co-exist side-by-side. In fact, on PowerPC Macs, you'll still have a version of 1.3.1 hanging around
/System/Library/Frameworks/JavaVM.framework. But I digress. The point is, browsers pick up the default version of Java and that's 1.4.2, so the applet didn't work for me.
So, just to make sure it worked, I navigated to 5.0's home directory and ran
appletviewer from there. It worked, but it was still a disappointment not to have the surrounding page text that shows how to run the applet.
Well, wouldn't you know it, you can get 5.0 to be your browser... if you use the right browser. A set of release notes points out a "Java Preferences" app you can run to set J2SE 5.0 as your default JVM for applets. This preference is picked up by Safari, and apparently by other WebKit-based browsers (I use Shiira , and it worked without a hitch).
So, now I'm happy. I've got J2SE 5.0 in by browser. So what does Sun go and do this week? They release the Java SE 6 beta. Sigh, I'll never catch up...
In Projects and
Roger Brinkley's Mustang Blog Carnival One Delight After Another rounds up 19 blogs that have been posted by JDK engineers talking about new features and improvements in Java SE 6, which just went beta . Topics include core Java, Desktop, XML, Tools, and Quality.
Daniel Brookshier has recently posted two JXTA-related interviews to his blog: one with Joan Esteve Riasol entitled Juxta-CAT: A JXTA project in Spain at Universitat Politecnica de Catalunya , and another with Edward Ribeiro titled An Interview with a P2P/JXTA Brazlillian .
The latest java.net poll asks "Which Java SE 6 (Mustang) features appeal to you most?" Cast your vote on the front page, then visit the results page for results and discussion.
Ed Burns announces New Drafts of Java EE Web Tier: JSF 1.2, JSP 2.1, Servlet 2.5 in today's Weblogs :
"I'm pleased to announce another revision of the Java EE Web Tier. This revision of the Java Web Tier is fully implemented in glassfish build 37, Sun's open source Java EE 5 Application Server, and the basis for the upcoming Java EE SDK."
Christopher Atlan kicks off his blog talking about his struggles with
NetBeans and Java Web Start :
"Web Start is my first choice for application deployment, but the JNLP files offers you many options, and it is hard to remember everything. The support for JNLP files in NetBeans had been bad; not even the standard xml editor features worked."
Alexander Potochkin wraps up his event-dispatch thread blogs with
Debugging Swing, the final summary :
"It's taken some time to study all possible ways of detecting Event Dispatch Thread rule violations, and now I feel I this topic is about to be closed."
In today's Forums ,
pauldb wants to combine Java3D with
Video capture :
"Hi, has anyone successfully created a video (AVI, MPEG etc) from Java3D. I know this topic comes up occassionally but all I see is that people are referred to the J3D.org page on capturing still frames from an offscreen canvas. For video, that page merely suggests using JMF."
In Re: Dolphin: play nice with non-java languages ,
jwenting dismisses some calls for the JVM to better support arbitrary languages.
"And there's a LOT of languages that run fine on the JVM. Python and Ruby come to mind. All you need is a decent compiler to generate classfiles out of your sources. If one doesn't exist, don't go whining at Sun that the JVM doesn't understand your favourite language, go to the language owners and whine there for a compiler that generates Java classfiles (or better yet, write your own). It's not called the JAVA virtual machine for nothing."
In Also in
Java Today ,
Micah Dubinko is marvelling over The Power of 'No' . in a feature article from XML.com. "XML itself is based on the Power of No: XML imposes a level of structure beyond plain text. The vast majority of random strings of characters won't qualify as XML. This ties in with basic definitions of information, uncertainty, and entropy." He goes on to consider how this philosophy of XML is seen in XML vocabularies and microformats, and how you should put it to work.
The new Java Architecture for XML Web Services (JAX-WS) will replace JAX-RPC in the upcoming Java EE 5 and Java 6 (codename: Mustang). In JAX-RPC Evolves into Simpler, More Powerful JAX-WS 2.0 , John J. Yates introduces JAX-WS 2.0 and shows how to use it to transform a Java class into a Web service.
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
- February 13-17, 2006 - Entwicklertage 2006
February 20-23, 2006 - Enterprise Java Architecture Workshop Madrid
February 24-26, 2006 - Greater Wisconsin Software Symposium
- March 3-5, 2006 - Gateway Software Symposium
March 6-9, 2006 - Enterprise Java Architecture Workshop Dublin
- March 6-9, 2006 - O'Reilly Emerging Technology Conference 2006
March 10-12, 2006 - New England Software Symposium
- March 11-12, 2006 - Weekend With Experts
March 15, 2006 - JavaUK06
- March 17, 2006 - 3rd IEEE International Workshop on Mobile Peer-to-Peer Computing (MP2P'06)
March 17-19, 2006 - Twin Cities Software Symposium
March 23-25, 2006 - TheServerSide Java 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
Wrangling a J2SE 5.0 animation issue