Skip to main content

No Brakes

Posted by editor on October 17, 2006 at 5:41 AM PDT


What will emerge as the Blogapps book code evolves?

The Blogapps project might just have the ideal approach for putting a book's example code online. It'd be easy enough to put a zip up on the publisher's website -- actually, I can tell you from experience that managing lots of samples, ensuring that they work and reflect what's in the book isn't as simple as it looks -- but there's another, more ambitious approach, and that's to check the code into a public repository and let it grow.

This is what Dave Johnson (creator of Roller) has done with Blogapps, which is the example code for his book RSS and Atom in Action. It helps that the sample code provides a useful purpose beyond illustrating the book's tips and techniques -- the code is effectively a complete RSS and Atom development kit -- but Dave has done something particularly interesting in regards to the future of the project. There is, after all, a tension between the inherent desire to improve the code base, and the need for it to continue to reflect the book's contents accurately. So what did he do? He forked:

In the Blogapps 1.0 branch, which is supposed to remain true to the code in the book, I will only make changes to fix bugs and to update the code for the final Atom Publishing Protocol specification and for the final release of IE7.

But the Blogapps 2.0 branch can run wild and free. It can deviate from the code in the book. So I (and maybe someday, we) can release new versions of the Blogapps Examples with completely new features and new versions of the Blogapps Server that use newer versions of Roller an JSPWiki.

In our Feature Article, Dave introduces
The Blogapps Project, showing you how to get the examples up and running, and touring the various parts of the code to indicate how you might be able to reuse them in your own projects.


In Java Today,
the NetBeans team has announced that the second release candidate for the NetBeans IDE 5.5 is now available. NetBeans 5.5 supports the Java EE 5 platform, and the Java Persistence, EJB 3 and JAX-WS 2.0 specifications. Also available are updated versions of the Profiler and Mobility Pack. NetBeans 5.5 RC2 Downloads. The final NetBeans IDE 5.5 release is planned for October 30, 2006.

The ninety-eighth issue of the JavaTools Community Newsletter is online. There's only one new project and no graduations this time, but the newsletter continues to round up tool news from around the web, offers useful links to interested community members, and has a tool tip on where to find more tips, namely the Java Tips page.

Got porting nightmares? If you're considering automating the porting your J2ME applications, you may want to think about using a preprocessor. The DevX.com article Automate Your J2ME Application Porting with Preprocessing argues it's the only technique open-ended enough to handle porting to multiple device models.


In today's Forums,
tbee hopes SwingX will be a little less aggressive in assuming painting responsibilities, which has led to
the battle of the highlighters:
"I used to extend FTable, but nowadays I extend JXTable, since that seems to be where the development is. Aside from the easy-entry part, "my" JTable also was extended with the "usual" stuff like alternating colors, etc, plus some business related renderers like "show values < 0 in red". All these components date back to Java 1.2. So far for the intro. Now, JXTable does a great job at fixing the bugs, but I keep having to fight some of the extentions, especially the highlighters seem very persistant in wanting to set the foreground color of the renderers - even if highlighting is not configured. I just had to implement a NoActionResetDTCRColorHighlighter class, just to keep JXTable from setting the foreground."

ylzhao wants to know
Is the Java Compiler Framework available to Mac OS X?:
"I have tested the Java Compiler Framework on windows successfully, but after I installed JDK 6.0 beta on Mac OS X, it seems that the Java Compiler Framework is not available. It looks like that Apple has not yet added support for the JavaCompiler interface or is it not part of the standard installation?"

mohank needs platform-specific GlassFish advice for
Running on port 80 (Linux):
"I know this has been asked before, is there any way to run glassfish on port 80 as a non-root user on linux? I have seen the blogs for Solaris 10 and Mac OS on how to do it. I really don't want to front it with Apache, if possible. I have been running Tomcat 5.5 by using the bundled 'jsvc' and it has really worked great? Is it possible that glassfish could maybe use jsvc sometime?