The Source for Java Technology Collaboration
User: Password:


Today on java.netAugust 12, 2007

Check It Out: JCK license available for OpenJDK and derivatives » Read more
 

Java Today

New OpenJDK Community Technology Compatibility Kit License
Sun has announced the immediate availability of the OpenJDK Community Technology Compatibility Kit (TCK) License. "The OpenJDK Community TCK License will enable developers to test the compatibility of their contributions to the OpenJDK project. It will also allow distributors to test complete implementations that are substantially derived from OpenJDK and distributed under GPLv2. Organizations or individual developers that use the OpenJDK Community TCK License and then successfully pass compatibility testing, will also have the option of branding their implementation with Sun's "Java Compatible" trademark and logo." Early commentary on the license and the thinking behind it has already been posted by Rich Green, Simon Phipps, and Dalibor Topic.

Ask The Experts: Mobile Service Architecture (MSA), JSR 248
Got a question about MSA? Then save the date. August 20 - 24th is your opportunity to Ask the Experts! MSA is the Java ME optional package that defines the next generation Java ME platform. Your questions will be answered by Java ME Community Project Owners Hinkmond Wong (phoneME Advanced) and Mikhail Gorshenev (cqME), and E-ming Saung, Product Line Manager for Java ME SDKs. For more information about this event and how to participate, go to the Ask the Experts page.

Scripting Languages on the JVM Compared
Daniel Lopez has kicked off a series of blogs comparing different scripting languages that can be run on the JVM. In his first entry, he checks out Groovy for querying a DataSource obtained via JNDI, and finds that Groovy's great at getting through the data and building the XML, though the JNDI access is a stumbling block. In the next installment, he tries the same thing with the Rhino JavaScript implementation included in JDK 6, with similar results and faster performance. A note on the second entry says that Jython will probably be the next language evaluated in the series.

Weblogs

David Herron Java-in-browser availability
One of the questions/concerns about Java is, can a web site author assume that it's there? Part of the popularity of Flash or Javascript is it's in all browsers, but the belief is that Java probably is not installed.   David Herron

CVM: Why use the C or Java heap?
A comment in a previous blog asks why CVM keeps some data structures in the C heap instead of the Java heap. Here's the answer.   Mark Lam

Aastha Bhardwaj New (really cool) demo added to phoneME UI Labs!
Here's proof that we have indeed been busily toiling away to bring you more cool UI examples. We have just made the source to the MobileAerith demo available on phoneME UI Labs  Aastha Bhardwaj

Forums

Re: Does today's TCK announcement apply to phoneME?
This announcement pertains to OpenJDK. In the Java ME space things are more difficult since a Java ME implemementation typically covers by multiple JSRs (CLDC, MDIP, WMA, etc) and the TCKs for each JSR may come from different parties (such as Sun, Mototola, Nokia, etc). The decisions about those TCKs are made by the individual parties. However, because TCK access is an important topic Sun is in talks with other TCK owners and Sun is considering its options related to the Java ME TCKs it owns. No final decisions have been made yet.  

Re: Infinite XML Loop
That exception typically comes from JAXB marshaling code when it detects a cycle in the object graph. Are you returning the object from a web service? Your in-memory object probably has the bidirectional references set up, this can happen if you traverse the relationships in your code. So, instead of relying on fetch type, you should explicitly cut the cycles in the graph by setting some references null.  

Re: help in assigning progressbar to my project
Then you can either upgrade to 6 or you can make do with a class of your own: spawn an undecorated frame with an image as content, and draw as necessary. Append a splash.setVisible(false) to the EDT after telling the GUI to load and you should have a splash screen. It's what people did before SplashScreen became available as a class.  


Which proposed language change would you most like to see in Java 7?
Language-level XML support
Closures
Block constructs
Strings in switch statements
Language support for BigDecimal
Java property support
Lightweight method references
Extensions to the annotation mechanisms
Something else (please comment)
I don't want any language changes
Poll Results | Archive
Related Links

Iris: Prominently demo'ed on the JavaOne 2007 video wall, Iris is an online photo browsing, editing and slideshow application. More importantly, perhaps, it shows the power of modern Java applets and next generation web concepts. Among its significant features are interoperation with JavaScript on all major browsers, native desktop integration to support "drag and drop to the web", Java multithreading to hide network latency, advanced graphics handling, and dynamic extension of applets with technologies like OpenGL, OpenAL, and Java Media codecs.

Success Stories | Archive





 Feed java.net RSS Feeds