When you do that, you'll find this in the New Project wizard:
So, these are jMaki samples. They're from the jMaki Project's sources; all I've done is create NetBeans projects for them. All of them can be deployed as soon as you finish the wizard, because they all work on Tomcat and that is the server that is bundled with the IDE. The only one that has problems on Tomcat (for reasons I don't understand) is the one I blogged about yesterday—the Scriptaculous In Place Editor sample. (It works fine on Glassfish.) All the others work on Tomcat. Another thing to understand is that I haven't packaged the jMaki classes in a JAR file—they're all exposed in each sample's Source Packages folder; so they're editable, although that is unnecessary. You can look at them there, but I just haven't figured out how to JAR them correctly. That's the only reason why they aren't in a JAR file attached to each sample. The Yahoo Calendar has one problem—you can't move from month to month, but I'm not sure if that functionality is provided in the sample at all (and so I'm not sure if I did something wrong or if the sample came that way).
As an example of what you'll get when you click Finish in the New Project wizard, here's the Projects window for the jMaki Sudoku Game sample:
Things to notice in the screenshot above:
<%@ taglib prefix="a" uri="http://java.sun.com/jmaki" %>
And that's all that you really need to know, if you're a user of the widget. In that case, all you need is the tag in the JSP file. As a developer of the widget, you need to know how to put the widget together. But even if you're the widget developer, you already have the jMaki library (here, as pointed out, erroneously available as editable files in the Source Packages folder). You also always have the jmaki.js file, which performs actions like widget bootstrapping.
Give the samples a try. One of my favorites is the jMaki List sample. Here, as you can see below, you can add items to a list. But the cool part is that when you move the mouse over an item, it is highlighted as shown below. Even better—when you click on a selected item, it is deleted. Pretty powerful. Here's the screenshot, to give some context:
So, if you're interested in AJAX, and want to make your life a lot easier, I'd recommend giving Project jMaki a chance. And what better place to start than with a bunch of samples?