There's a plugin for NetBeans that supports the JMX API. It allows you to create and modify JMX MBeans through a wizard, to create unit tests for them, and to run an application and simultaneously attach to its JMX instrumentation. My colleague Jean-François Denise writes about this and more in a recent blog entry, with pointers to some excellent tutorials.
on Nov 8, 2005
As a technology evangelist for NetBeans I obviously spend a lot of my time showing developers all of the great new features in the IDE. Two of those new features are the Matisse GUI Builder and the Visual Mobile Designer, both of which allow for drag-and-drop GUI development. So we've got rich client development covered in both the J2SE and J2ME spaces, but what about J2EE? The common question I...
on Nov 7, 2005
(Yes, buried in here is a link to a new cool NetBeans tutorial...)
Budapest is lovely...
It was my first time in Budapest since backpacking through there in the summer of 1998, and I was back to do a presentation at a Java developer event - along with Martin "the mobility guy" Ryzl, and Petr Jiricka, Mr. Web Tools who drove down from Prague to talk.
Martin Ryzl demos Mobility in...
on Oct 20, 2005
A few folks have asked how you move an application from the cluster build harness on 4.x to the 5.0 platform. The way I did it was to create a new module using the IDE, and just copy my source code in. Then use the IDE's facility for adding module dependencies based on what doesn't compile right away. Worked like a charm, except that ClearCase was a PITA about hijacked files (if you're a...
on Oct 19, 2005
When the bÃ©ta of NetBeans 5.0 has been available, I decide to write somes nice Flash tutorials for NetBeans 5.0.
But they are, today, only available in french.
You can find them on developpez.com, a high quality french website.
developpez.com is hosting a lot of forums (and specially a recently new netbeans forum) concerning development, tutorials, blogs, FAQ, Sources, ...
You can also find...
on Oct 16, 2005
We want you.
Okay, that was shameless. I'm sorry. It's also not particularly accurate.
I just got out of a meeting with our recruiter, and I got to wondering about the difference between a recruiter's world view and an engineer's. They have a job requisition to fill, and they look for someone with the precise set of skills required for the job at hand.
In engineering, we'd rather look for a...
on Oct 4, 2005
Yesterday I put together a blog showing how easy it is to work with JSTL in NetBeans. One thankful reader asked for a follow-up on using the JSTL XML library. I think this was primarily due to a problem he was having with a package name change from JDK1.4 to 5 (see my response for more details). But it's simple enough, so here goes anyhow. I'll basically just do what I did yesterday, display a...
on Sep 30, 2005
I came across this post from a frustrated developer today, and couldn't help but wonder - are we keeping NetBeans a secret? Poor Dan is just trying to create a simple JSP. For some reason, I couldn't see the code referenced in his post, but I think I got the gist of what he's trying to do. Let's tackle them one frustration at a time:
Frustration #1 - Create a Hello World Web Project
on Sep 29, 2005
It's an old comic routine, where a grumpy old man complains about how much easier "kids today" have it than he did. Personally I think Dana Carvey perfected it in his Saturday Night Live character, but I bet most of us have at least one older relative who sounds like this guy at times. With the way software development changes so rapidly, it's easy for any of us with a few years experience to...
on Sep 28, 2005
One big difference between the application server project and the NetBeans project is how often we release. The application server release schedule is basically driven by the JCP, which pumps out a new J2EE spec every couple of years, at best. With NetBeans, we target roughly a 6-9 month release schedule. The upshot - we get many more release parties than my friends on the application server team...
on Sep 28, 2005
Once again, a company (to remain nameless... in fact, let's call this a hypothetical situation) made a broad, sweeping decision to commit all of its in-house developers to a single IDE platform for all internal development. Let's just say that it's either Eclipse or Netbeans. (No need to get all holy-[ide]-war in this post; that's not the point.)
One IDE for all... Sounds kinda silly, doesn't...
on Sep 26, 2005
Java 5 has a lot of major improvements to the platform, to the point where some of the smaller features can get overlooked. Like many developers (including Calvin Austin his J2SE in a Nutshell article), I thought it great that varargs methods were added so printf() could be implemented, but didn't see much other use for the feature.
Yesterday I was updating a Factory class which uses a...
on Sep 24, 2005
As promised, here's a recap of a simple module I built to help me test a bugfix.
There is a feature in NetBeans which allows any FileObject (including files in your project) to be served up by an embedded HTTP server. It is exposed by the API method URLMapper.findURL(FileObject, URL_TYPE). URL_TYPE may be one of three values:
INTERNAL: results in nbres://foo
EXTERNAL: results in file:/foo...
on Sep 22, 2005
Last month at LinuxWorld San Francisco I had the good fortune to meet Leigh Jin - Assistant Professor of Information Systems at San Francisco State University. I say good fortune because I got to do something I love to do, which is speak to university students. You see, I hope my last job title in life is also "Professor".
Anyhow, I believe Professor Jin's opening line to me was: "...
on Sep 20, 2005
I've been playing with creating "follow-mode" for NetBeans - essentially the ability to have a multi-column editor, emacs-style.
Is that a thing anybody wants?
I've written some (admittedly crude) patches that do the very basics; doing it right would be considerably more work (lots of little things like making sure you can't have two selections, eliminating duplicated decorations, etc.)....
on Sep 20, 2005
A few people have mentioned that they would like to see better support for managing import statements in NetBeans.
Having the flu gave me plenty of time to code this weekend...so, here is a module that does that.
There are some bells and whistles still to be added - like using wildcard imports if the number of imports from a single package exceeds some threshold number. But still, right now...
on Sep 20, 2005
Okay, the first half of that title is from a package of cashews I bought in a supermarket in Beijing. I had dinner in a restaurant the other night, where, on the menu was a dish called "The Tile Pot Loves the Fatty Intestine" (I'm afraid I didn't order it). Nothing like a good mistranslation.
As I mentioned above, I've been feverishly growing the NetBeans Developer FAQ for plugin authors -...
on Sep 17, 2005
Other folks have been blogging about the new support for NetBeans module development in the 5.0 stream. However, as the guy who put together the "cluster build harness" for (unofficially) supporting module development in 4.1, I just thought I'd chime in with my own words of praise.
If I were starting a project based on the netbeans platform now, I would not use my cluster build harness. I'd...
on Sep 12, 2005
St. Petersburg is a beautiful city! Other than the nightly battles with mosquitos in my hotel room, the trip was excellent. I spent a week meeting with engineers who are working on NetBeans plugins, and finally got to meet a lot of people I'd conversed with via email. We've got a great group of folks there.
Nevsky Prospect in St. Petersburg at sunset
Saturday, my friend Martin Ryzl, the...
on Sep 12, 2005
In a previous entry, I vented my frustration at scrambled JARs in the netbeans build process.
Well, they're gone.
I'd like to think I had some small part to play in that. I probably didn't, but I'll go on thinking I did :)
on Sep 5, 2005