Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blogs by Community: Open JDK

• Adopt a JSR  • Embedded  • GlassFish  
• Global Education and Learning  • Identity Management  • IoT  
• Java Communications  • Java Desktop  • Java Enterprise  
• Java Patterns  • Java Tools  • Java User Groups  
• Java Web Services and XML  • JavaFX  • JCP  
• JDDAC  • Jini  • JXTA  
• Mac Java  • NetBeans  • Open JDK  
• Portlet  • Robotics  • Sun Grid  
• Sun RFID and Sensor  • [no association]  


Open JDK

The java.util.Date represents a snapshot of time, independent of locale, timezones, etc. It does that pretty well. However, the little class got overworked early in its career. The ability to set years, dates, and months got tossed in, and formatting abilities, and...something that should have been really lightweight became overweight, or maybe we should just say big boned. Almost immediately,...
on Mar 6, 2007
A new interview I did with Sun technology evangelist Brian Goetz, "Writing Better Code: A Conversation With Sun Microsystems Technology Evangelist Brian Goetz" explores several areas of his considerable expertise. He addresses concurrency issues; the problems Java developers have in identifying performance problems (think architecture, not coding); the importance of writing clean "dumb code" and...
on Mar 2, 2007
Last weekend was FOSDEM 2007 .. it's a rather large meeting, in Europe, of open source developers and others interested in open source. I honestly did not know about this meeting until recently, but I did attend (with other OpenJDK team members) and wow it was a wonderful event. FOSDEM had participation from pretty much every branch of open source software including FreeBSD, OpenBSD, OpenSuse,...
on Mar 2, 2007
In general, calendars are not easy to understand, develop, or to use. They are complex, created out of the need to understand and put order into celestial movements, seasons, religious events, and political decisions. It's a wonder that we stay on schedule for anything, and yet we do, and the world moves on, and we still are able to use the Java platform's Calendar and Date classes to properly...
on Mar 1, 2007
Check out my new technicle article on java.sun.com: Programming With the Java XML Digital Signature API. This article introduces you to the new XML Digital Signature API in JDK 6 and shows you how to generate and validate an XML Signature using the API. If you want to know more about XML Signatures and how to process them in Java, then start with this article. And let me know if you have any...
on Feb 28, 2007
Recently, Stephen Colebourne and Stefan Schulz post another closure like proposal, yes, yet another one. They propose another syntax for describing a closure which, in my opinion, is more a simpler way to declare an inner-class. I am not a big fan of this proposal, i definitively prefer the closure syntax decribed by Neal Gafter. But there is something that i like in their proposal...
on Feb 27, 2007
If you want to talk about: Why the JLS doesn't allow array of parametrized type. Kitchen Sink Language. Property syntax. Why beers are so great in Belgium ? I will be saturday and sunday at FOSDEM. Rémi
on Feb 20, 2007
One curiosity about Model MBeans is that attributes also appear as operations. Is there any way to avoid that? We encounter this question occasionally, most recently in the JMX forum on SDN. As the contributor there notes, this is tracked as RFE 6339571, but won't be implemented until Java SE 7. What can you do in the mean time? In order to define an attribute, say Foo, as...
on Feb 13, 2007
Continuing the discussion about Unicode normalization, I'll briefly describe Normalization Form C (NFC). NFC is canonical decomposition followed by canonical composition. It's the form you see the most all over the web, etc. In fact, NFC is the preferred encoding for the world wide web. Why? Well, the form is slightly more compact than a decomposed form containing combining sequences, and most...
on Feb 11, 2007
You'll recall from a previous blog that normalization is the process of transforming text into a standard form that facilitates reliable searching, sorting, and other text operations. Java SE 6 provides a new normalization API that implements the Unicode standard for normalization: java.text.Normalizer There are 4 normalization forms: NFD, NFC, NFKD, NFKC. Normalization Form D (NFD) is canonical...
on Feb 8, 2007
It's been awhile since I last blogged here, I apologize for being so quiet but I've had quite a lot of things to think about. I want to kick off regular blogging with one of those things ... namely what would a quality team look like in the open source world. I know there are many open source projects that have quality efforts such as the unit testing (test-first development) that is so popular...
on Feb 5, 2007
One of the features planned for version 2.0 of the JMX API is cascading, also known as federation. Here's what it is, and how you can build a simplified form of the same thing without waiting for 2.0. Update: a subset of the Java DMK product has been released as open source. Daniel Fuchs explains how to use the Cascading API from Open DMK. I would recommend using this in...
on Feb 1, 2007
Give me a reason, any reason at all, to continue using Mac OS X as my primary development platform for Java applications. Java SE 6 is available now for Windows, Linux, and Solaris platforms. Why not for Mac OS X? Don't you dare mention that Java SE 6 is available on Mac OS X...I know about that. The available Java SE 6 implementation is stuck at build 88 and hasn't been updated in months. Steve...
on Jan 29, 2007
I need to add this to the JDK build documentation, but it may be helpful to have it posted here for some people. Building the JDK on Windows can be difficult at times, so if it hasn't been mentioned before, here are a few clues: When using MKS, make sure that the PATH setting has the ${ROOTDIR}/mksnt and ${ROOTDIR}/bin directories BEFORE the system paths. Ideally they should be the first...
on Jan 25, 2007
This entry is the second draft of my property proposal, i have tried to gather all the ideas proposed since my first post about properties. Why do we need a property syntax in Java ? If you have not followed the different blogs, i recommend you to first read properties in Java by Richard Blair and Properties are design features by Cay Horstmann. Declare a property There is three kind of...
on Jan 23, 2007
I've put database queries right there in my GUI event handlers. I'm ashamed, very ashamed. I've seen a lot of code from others too, and I'm not alone in this mishandling of lengthy IO bound tasks. People sometimes actually perform web GET and POST operations from the EDT too. No kidding. You might even be involved, but I don't expect you to admit it. You know what I'm talking about, right? I'm...
on Jan 19, 2007
Just a plug (and additional reference) on my December 2006 article on JVM TI at http://java.sun.com/developer/technicalArticles/J2SE/jvm_ti. I really had not expected this article to be very popular, but I was assuming that only people writing JVM TI agents would be interested. It appears there is quite a bit of general curiosity on VM agents. Of course the Java Lobby and Sun System News...
on Jan 17, 2007
My colleague Nick Stephen has written an excellent and detailed article about Virtual MBeans. This is one of the features we are looking at adding in JSR 255. Nick shows why the feature is interesting, and how you can implement it today using the MBeanServerBuilder hook from the JMX API.
on Jan 17, 2007
The Kitchen Sink Language (or ksl) is open here : ksl.dev.java.net, so i hope that the next version of my prototype will be the ksl trunk. Before trying to commit compiler patches that introduce local variable type inference or properties to the ksl trunk, i think i will write a small patch that enable the use of local keywords. Local keywords What is a local keyword ? A local...
on Jan 15, 2007
Since my last post, Cay Horstmann has recalled that properties are intended for tools and Hans Muller bid up by saying that property syntax is useless without a way to define bound properties. Interceptors and bound properties What Hans want is some kind of interceptor. An interceptor is an object or a method that can trap access to a property. In Java, these objects are...
on Jan 11, 2007