The last few months have been exciting for Java SE with the many JavaOne activities and presentations, our announcement to open source the JDK, and getting beta 2 out the door. Let me tell you, it's kept us all very busy here at Sun! Things aren't slowing down either, so I'd like to give you a brief update as to what's going on.
Feature work on Mustang has been completed. We have a few...
on Jun 27, 2006
MXBeans include a way to handle inter-MBean references
conveniently. You can use this to build an MBean hierarchy that
is simple to navigate.
In a previous
blog entry, I described MXBeans. User-defined
MXBeans are a new feature in the Mustang (Java SE 6) platform.
They define a type mapping, so you can use arbitrary
types in the Java interface that defines your...
on Jun 21, 2006
I was thinking the other day - what with the Visual Basic compiler for Java, it would make sense for there to be a COBOL compiler for Java. That way we could draw on yet another large body of software to run on top of the Java runtime.
Okay, so I get strange thoughts occasionally.
Of course the first step would be a grammer to parse the language .. the next step then would be a compiler to...
on Jun 18, 2006
Java DB and Apache Derby have been following the progress of the JDBC 4.0 specification very closely and have implemented many of the JDBC 4.0 features in the 10.2 alpha release. Rick Hillegas has done a great job of leading the team implementing the JDBC 4.0 features.
Another key JDBC feature that has been added in the 10.2 release is support for updatable scrollable cursors.
You can find the...
on Jun 15, 2006
Why only customers can use Web2.0 applications? And the Developers? Ok, We have access to Gmail, Flick, box.net, a lot of really cool geeks apps, but we can turn our JavaDocs, much more impressive then we have nowdays.To do that use Docwrench Doclet (http://www.docwrench.com/). The Following Image shows how look your future Docs:
on Jun 14, 2006
The Java compiler doesn't save parameter names in the class files it generates. This is a problem for Standard MBeans, because we'd like to show those names in management clients. I talked about this in an earlier blog entry, where I suggested using a @PName annotation on each parameter to specify its name redundantly. Here's another approach, using annotation processors, which will work...
on Jun 13, 2006
Mustang (Java SE 6) includes the ability to give additional
information about MBeans to management clients via
Descriptors, as I described previously.
But what if you are not yet able to migrate to the Mustang
platform? As I hinted in that previous entry, all is not
lost. You can still use Descriptors, though it's more work.
We often hear from developers that they'...
on Jun 8, 2006
Started this right after JavaOne, then got distracted... hopefully someone gets something useful out of it.
for the complete scoop on JavaOne 2006.
What a week, I'm tired, my feet hurt, and I think I have a headache from the after dark speaker system.
I must be getting too old for this, but I'll be back next year, what am I? Nuts?
Why do people inflict...
on Jun 6, 2006
JDK 5.0 allows you to make an application monitorable without
writing any extra code, using command-line properties such as
-Dcom.sun.management.jmxremote. But what if the behaviour
obtained using these properties isn't exactly what you want?
Monitoring available out of the box
JDK 5.0 (codenamed Tiger) introduced support for management and
monitoring through three...
on Jun 5, 2006
ellioth's blog entry on upgrading to Dapper Drake (ubuntu 6.06) makes it sound safe and simple to do, so maybe I'll take the dive. However he talks about installing Sun's Java on the system.
As he mentions, and as we pointed out on the jdk-distros site getting the JRE there is pretty trivially done. Getting the JDK installed is a little less trivial, just poke around in the synaptic package...
on Jun 4, 2006
With few exceptions (Web
Start and Beans
Persistence) there have been very few desktop related JSRs. Well,
we're going to change that. Beans Binding, or JSR
295, has just passed inception ballot and the expert group is now
A big part of what we, desktop developers, have to write every day is
component wiring code, or glue code. Glue code is the code that
on May 23, 2006
We have been accepting code contributions, for bug fixes, from the public for over a year. The program is described on the mustang.dev.java.net project page. Essentially the idea is, if there's a bug you see that you want fixed, rather than wait for a Sun engineer to make the fix that you do it yourself.
At Java ONE three of the contributors were interviewed and a recording of that interview...
on May 20, 2006
I have some web sites that I publish for myself. There's some history to this, but last year I chose the Drupal content management system. It has a great featureset and a large community surrounding it. It is written using PHP and works pretty well.
So... Caucho (the makers of Resin) recently came out with PHP support, and I just ran it through a quick test. Caucho provides a couple tiny...
on May 19, 2006
I'm at Java ONE. I've been up to my eyeballs in work on a project which Jonathan announced this morning. The project had a brief enough mention that I want to explain it to y'all.
If you watched the keynote you saw Mark Shuttleworth come up for a brief chitchat about stuff, and what it's like to be in space. That's interesting enough, but there were a couple pieces of big news in that chitchat...
on May 16, 2006
One of the first Big community Javaone items this year wasn't the Open Source Java news but a new license for the JDK on Linux. Now I really believe this is a good thing, not enough, but an improvement. However, if you read Simon Phipps blog then Sun appears to be tackling something akin to the Berlin wall and funny enough re-writing history at the same time! Without giving away too many secrets...
on May 16, 2006
I just listened to Software Engineering Radio Episode 14: Interview Ted Neward and boy that's got a lot of interesting food for thought.
The main focus was to discuss the LINQ addition to C#.
The first idea that came to mind is he, Ted Neward, described LINQ as little more than "syntactic sugar". What LINQ does is integrate database queries with the C# language in what sounds like interesting...
on May 12, 2006
JavaOne is upon
us again already!
I'll be presenting with Jean-François
Denise a session entitled JMXTM Technology Today and
Tomorrow. For those attending, it'll be at 11am on Tuesday
the 16th of May (next Tuesday). Here's the outline:
Demo (connecting jconsole to a running app via NetBeans)
Linking MBeans to information (several ways of connecting
MBeans to the...
on May 11, 2006
I previously wrote about compiling the JMX API in Mustang by extracting the necessary subset of the sources and getting your IDE to make a build.xml for you. Joël Féraud has now posted a description of how to compile the JMX API with a purpose-designed build.xml that's included in the Mustang sources.
The instructions I gave are still of interest for building other subsets of the...
on May 2, 2006
The Java Posse gang just posted Interview with Graeme Rocher of Grails which serves as a great introduction and/or overview of both Groovy and Grails (a.k.a. Groovy on Rails). I've used Groovy just a teensy bit, so I won't go into the language at all. If you want to look further, there is groovy and grails home pages chock full of information.
What I want to do is contrast the state of...
on Apr 30, 2006
Build your own scripting language for Java covers a topic I had wanted to research and write. Fortunately someone else took up the cause.
At issue is the question of using the JSR 223 features, in Mustang as the javax.script package, to implement a scripting language on top of Java.
I've written about this earlier, but I see this as potentially a very good strategic move. Any language author of...
on Apr 28, 2006