Jersey is the reference implementation of JSR 311, the specification for creating RESTful web services on the Java platform. NetBeans 6.1, the existing, current version of NetBeans, contains a copy of the Jersey library, but it may be outdated now. Recently, the Jersey implementation reached version 1.0, and NetBeans 6.1 contains a copy of an earlier 0.8 release.
If you're already using the...
on Nov 3, 2008
Bonjour, comment Jython?
Jython 2.5 beta release has been announced by Frank
Wierzbicki. Cool, this is yet another strong addition to the JVM
supported scripting languages. Let's see how long it will take to get a
IDE support, and of course a Python container module in GlassFish
on Nov 1, 2008
0.000 000 000 000 000 000 000 000 000 000 000 001 one undecillionth
0.000 000 000 000 000 000 000 000 000 000 001one decillionth
0.000 000 000 000 000 000 000 000 000 001 one nonillionth
0.000 000 000 000 000 000 000 000 001 one octillionth
0.000 000 000 000 000 000 000 001 one septillionth
0.000 000 000 000 000 000 001 one sextillionth
0.000 000 000 000 000 001 one quintillionth
0.000 000 000...
on Oct 30, 2008
Since I'm back to working in development full-time, I've been setting up a fine little desktop machine. In the process I ran across one of the weirdest bits of software I ever wrote, now available to you too.
Basically it generates grammatical english sentences from a randomized vocabulary and set of sentence structures. I've had a fascination with getting computers to emit human language...
on Oct 29, 2008
Its all over the blogosphere yesterday, NetBeans Innovator Grants Results are out. I won't copy paste the whole stuff, as there already many postings in Planet NetBeans about this.
So, you can check out the podcasts, announcements related to the results, here's a list for you-
Podcast featuring Jiri Kovalsky, Technical Community Manager
Podcast featuring Gold Award...
on Oct 1, 2008
In the first week of September, I was called up by Angad Singh, CA Tech Lead, and he told me, that I am invited to conduct a workshop at Amity University, during their hosting of Sun CA Induction Program for 40 new CA's from North India.
NetBeans Plugin Development Workshop
Finally, the day arrived for my first ever workshop, and it got started by Angad, who introduced me to the new CA's, as a...
on Sep 13, 2008
Bonjour, comment Java?
GlassFish V3 Prelude development is in full speed. Yesterday, I was
happily surprised by the ease of use of the GlassFish Update Center...
For some reasons (installing iTunes 8.0 and QuickTime), I had to reboot
my MacBookPro, and on reboot, I noticed a nice "Update Tool Notifier"
on my desktop:
Woa...Nice...So I clicked on it, (expecting for a failure as GlassFish
on Sep 10, 2008
While aiming at blueMarine 1.0 for the end of the year, the effort is being put not only to stability and performance, but also on cleaning up the APIs in order to have a polished and stable version that others might use.
On that purpose I'm finding an excellent tool in the book "Practical API Design: Confessions of a Java Framework Architect" by Jaroslav Tulach (I've not finished it yet, I'll...
on Sep 2, 2008
The folding GUI is an often neglected part of the IDE. It allows you to focus on the work at hand by hiding the unneeded parts of the code. What it didn't have so far in the NetBeans IDE was... style.
Actually style and an extra feature: the ability to close a fold by clicking at the end of it not just at the beginning. This is folding so far:
Note the familiar features:
on Sep 2, 2008
Apologies in advance to those of you expecting a weightier post. Unfortunately, I've been busy lately, I haven't had time to come up with working examples of applications that handle things like many-to-many relationships or which display information from multiple tables in one cell. But I do have time to squeeze out entries on other simple-but-cool things that have been on my mind a long time....
on Aug 30, 2008
Few weeks back, I had blogged at my other blog, about "Getting your basics right?". I don't know how many of you would agree, however the discussion that took place for filing an RFE, which eventually got filed as Issue #142112, was a long lasting one, and if people had clarity of concepts, then it might not have extended that long.
Anyways, I think you would like to comment on that. Read my blog...
on Aug 21, 2008
I wrote this blog nearly two years ago, and was politely asked/advised not to publish it. If I rewrote it today, I'd probably make it a bit shorter. But I think the points are ones our industry needs to learn. The important one is very, very simple: playing to the ego of a non-person is a really lousy marketing strategy.
So, today's the day I publish this rather benign rant, and either ruin...
on Aug 18, 2008
Addendum, two days later: The solution here almost works, but doesn't. You really need the actual servlet, not something being proxied by WicketFilter - action processing happens before the ThreadLocal for the HTTP request and response have been assigned. Basically, you can get a wicket portlet up in OpenPortal this way, but the first request after that will fail.
I have patched OpenPortal to...
on Aug 16, 2008
I reported that NetBeans 6.1's project charset encoding feature would allow an unsuspecting user to destroy file data. That's still true...through no fault of NetBeans really. It's just a matter of fact -- if you start out with UTF-8 and convert your project files to ASCII or ISO-8859-1 or any other subset of Unicode, you will lose any characters that are not also in the target charset.
on Aug 4, 2008
Here's three blogs in one (I know, I know, you're not supposed to do that):
My friend Geertjan and I just did NetBeans Day Manila, in the Philippines, followed by two days of plugin-writing training at the University of the Philippines. The students were wonderful and bright and motivated and it's always a joy to teach to people who are really interested in what you have to say.
on Jun 24, 2008
I have published a draft of an extended tutorial on creating desktop Java applications on netbeans.org. The tutorial is based on my recent series of blog posts. Thanks to everybody who provided questions and suggestions! A lot of them have been incorporated into the tutorial. Others are on my to-do list and are not forgotten.
The main things that appear in the tutorial that were missing from the...
on Jun 24, 2008
Next week, I'll be in Zurich for the Jazoon
with the GlassFish crew. This is a Java conference, and I'll be talking
about....PHP and OpenSolaris and the OpenSolaris WebStack (Apache,
MySQL, PHP,...). What!!! PHP at a Java conference? Am I crazy?
I hope not. OpenSolaris
2008.05 is not your father's Solaris. It is something I can
use and it comes with a modern AMP stack. So...
on Jun 20, 2008
Unfortunately, NetBeans 6.1 has not yet made it into the package repository for OpenSolaris 2008.05 yet. Here's how to install it.
Step 1: Install the JDK
OpenSolaris 2008.05 does not ship with the JDK, so if you haven't already done so, it needs to be installed first.
Download JDK 6 Update 6 (or newer)
For the Platform select Solaris x86. Even if you're running in 64-bit mode you need to...
on Jun 19, 2008
Now and again someone will ask me how you can search records in a desktop database app. Here's a reasonably simple way to do so, using mechanisms that exist in Swing and the Beans Binding library. We will create a binding between the rowSorter property of the master table in the example in my previous entries and a text field that I've just added for the search string. For this binding we will...
on Jun 5, 2008
Four years ago, I went on a hunt for best practices for doing tree table components in Swing. We had a tree-table component in NetBeans, whose maintenance was my never-ending nightmare and the biggest source of bugs on my bug list. It had been written, with the best of intentions, based on Scott Violet's Swing Connection article about how to quickly hack up a tree-table component in Swing (...
on Jun 3, 2008