I've been gone from Sun for a little while now but of course I'm still interested in Java, and thankfully still have access to this java.net blog. Anyway the recent news about IBM pondering buying Sun has piqued my interest.
To me the potential hookup seems like a bad idea. Sun plays a useful role in the computer industry as an independent company, that would be lost if woven into IBM. And the...
I will be at FOSDEM'09 this week-end talking about JSR292 and its backport.
If you are french or at least a french speaker
the BordeauxJUG invite me to give an extended version of this talk,
friday the 12th of february.
I'm listening to the 'holidays 2008ish' episode of Javaposse and in reviewing their last years predictions they have enough fumbling around the status of OpenJDK that I want to do a little bit of explaining.
OpenJDK 6 != JDK 6
There are circuitous historical reasons for this but the fact is that OpenJDK 6, as good as it is, does not correspond to JDK 6uN for any value of N. OpenJDK 6 began as a...
BGGA spec proposes a way to implement closure (no syntax war here) by translating closure into parameterized types. Recently, the JSR292 VM prototype allow to get a handle on a method without using reflection. This blog entry shows how closure can be implemented using these method handles.
ANTLR guys are able to use an ANTLR generated parser as
javac front end. Let's do the same with Tatoo.
I've mentioned in the past that one of the new features in
version 2.0 of the JMX API is "client contexts", which will allow
a client to communicate context information to a server, and a
server to adjust its behaviour accordingly. The most obvious
example is locale, where for example the client says that it is in
the French locale and the server translates its messages and
descriptions into French. How does this work? Read on. ...
I just got back from the JavaFX launch event in San Francisco. It was just a few blocks from my office, so I figured, why not? Jonathan Schwartz was presenting, as well as the VP in charge of Java (I forget his name), and the had a pretty impressive set of demos.
There were also demos being presented by Sun folks and a few partners. I spoke for a while with Jeff Martin, from a small shop...
I've been toying with doing a blog or podcast aggregator with JavaFX. I have a feeling that the strengths of JavaFX, animation, graphics, media, etc, could be put to good use in such an app. Additionally most podcasters put little player widgets on their site, and JavaFX could offer an alternative to the flash based player widgets. While that's the vision I'm chasing I'm nowhere near there,...
You can view the updated site, launch videos, sample apps, and more, at javafx.com .. well .. when the server comes back up, it's having a little bit of trouble at this moment. Anyway, I want to post a few thoughts..
This is a big deal in some ways in that it is a radical departure from the past image Java has carried. Graphics and animation and media, oh my. Somewhere I heard this phrase This...
OK it is now time to start our NIO.2 (Asynchronous I/O) expedition with the Thread Pool. Booooouuu dead locks are watching you!
You can't construct a JMX ObjectName without handling
MalformedObjectNameException, which is a checked exception. Here's
why that is a pain, how to relieve that pain, and what we're doing
to make it less painful in the next version. ...
We live in a post-generics world,
recently, October 30th, 2008,
J2SE 1.4.2 retires
has reach its
End Of Service Life.
I think it's a coincidence but Maurizio Cimadamore
decide to introduce
a long requested feature in javac,
it now emit a warning for all usages of raw types
(a parameterized type without '').
And frankly, we (all Java developers) seem not ready for that...
In this new installment series of tricks in tips, I will start sharing my observations with the upcoming NIO.2 (Asynchronous I/O) support in JDK 7 (jsr 203). The idea is simple: I've already added some support inside the Grizzly Framework, and will share what I've learned/measured. Everything is new, from the JDK to upcoming Grizzly 1.9.0 AIO support so it is time to share again!
I've been thinking about this a bit recently and a comment on the javaposse google group tipped me into blogging mode. While discussing the recent shipping of JDK 6u10 Reinier Zwitserloot said On windows, and on linux, there is no java at all. It has to be installed separately. This is supremely annoying. There are odds the linux user has e.g. debian/ubuntu openjdk-6 installed, and on windows...
We finally know the value for N in the equation 6uN .. N = 10.
A set of slides have been posted discussing what's new. This release started out as Consumer JRE and became more, and more, and more, etc.. It's a relief to have this out in the public. The DLJ bundles for 6u10 are also available.
What does this mean?
It means that client side Java has been getting some long long long needed...
ASM now supports the new invokedynamic opcode.
The JMX Namespace feature has now been integrated into the JDK 7 platform. You can read about it in detail in the online documentation for javax.management.namespace. Here's my quick summary. ...
I will be at JVM Language Summit as a speaker to talk about JSR 292 backport.
Shanliang Jiang talks about one of the main use cases of the Event Service from the new JMX API in this blog entry. You can use a wildcard ObjectName to subscribe to a set of MBeans. The Event Service tracks the arrival and departure of MBeans, so it will subscribe to new MBeans matching the pattern as they appear. The Event Service is already present in the latest draft of the JDK 7 API and you can try it out by downloading the latest snapshot.
Yesterday I cleaned up the "umbrella bug" that lists the
various things we are planning for version 2.0 of the JMX API,
which is the version that should be included in Java SE 7.
Here's a list of the things we were thinking of doing but are
not now planning to.