Category: Java

  • Blojsom vs. Roller

    David Czarnecki and Dave Johnson respond to the “Blojsom vs. Roller” question.  The consensus is that Roller is more user friendly while Blojsom is lighter weight.  They’re both quite flexible, just in different ways.

    It boils down to which one fits you best.

  • Roundup: Athlon64, G5, Wireless, Java, Python, Storage, and Design (Oh My!)

    I really need to automate this:

    • CNet: AMD is set to unveil the Athlon64 tomorrow.  Meanwhile, Athlon XP prices are becoming more and more attractive.
    • Emmanuel needs more memory.  Don’t we all?
    • Macworld has more coverage of Virginia Tech’s G5 supercomputer.  Hopefully the cluster will be up and running by October 1 so they can make the next Top500 list.
    • Newsforge covers the ratification of SAML (Security Assertion Markup Language) 1.1.
    • They’re having problems with Linux on Opteron over at OSNews.  Hopefully Linux on x86-64 will be ready for primetime soon.  The desktop chips are coming.
    • Wi-Fi Networking News reports that Boston-Logan aiport will have Wi-Fi by next summer.  When will they be done with the Big Dig?
    • Clustered JDBC 1.0beta11 is out.  There are lots of fixes in this release.
    • Python releases:
      • pyTerra allows you to download images from Terraserver the Python way.
      • Twisted 1.0.7 is out, along with 1.0.8alpha2.
      • PyTables, a “hierarchical database for Python” turns 0.7.2 today.
    • Wei-Meng Lee at the O’Reilly DevCenter shows us how to share files with Bluetooth under Windows XP.
    • Jabber news: JEP-0079: Advanced Message Processing is nearing its final version.
    • CNet notes that Network Appliance is selling cheap storage gear: starting around $10k.
    • Zeldman has a design-related roundup today.
    • CGI:IRC rocks (thanks to Frank for the link).  There’s another thing that I can do in any browser now.
  • Pre-Hurricane Roundup

    Here is a pre-hurricane roundup for you:

  • Rendezvous Under Java

    Seth Ladd has a tutorial for working with Rendezvous under java (with jRendezvous).

    The jRendezvous library is released under the LGPL, which is (or perhaps isn’t) viral in Java, rendering all of your code GPL (or not).  Yes, it’s ambiguous.  I’m pretty sure it was meant to be that way.

  • Netcraft: JSP Usage Up

    Netcraft tracks the trends of JSP usage:

    Last December we reported that the number of JSP sites had grown quickly during 2002, albeit from a small starting point. Reviewing the growth over the past year since July 2002, JSP continues to enjoy fast growth with a 94% increase in ip addresses running JSP based sites to over 44,000 ip addresses running some 105,000 active sites.

    Check out the rest of the article.  The makeup of operating systems running JSP is quite interesting.

  • Struts and OSX

    Apple Developer Connection has an excellent beginners tutorial on using Jakarta Struts under OSX.  It goes over installation and configuration in the OSX environment and also has a few short examples.

  • mjabber Does Not Work on My 3650

    Erik pointed to mjabber earlier today.

    I tried it out on my 3650 with no luck.  It locked up with Logging on.  Please wait...

  • Action on Small Devices

    I didn’t notice it until today, but released a tutorial in June: Designing and Writing Java Action Games for Small Devices:

    This article explains the essentials of Java action game development: it shows how to design, implement, and tune Java games for small devices such as cell phones. We start with a quick discussion of common types of games, followed by the challenges presented in developing these games. Then, we work through two in-depth examples of game development, starting with a simple stand-alone game, followed by a more intricate, networked game. Section two covers the stand-alone game, while the third Section discusses the networked game. For both games, we start with a description of how to play the game, followed by an explanation of the game’s design choices, and, finally, we look at the details of the implementation of each game.

    It’s more in-depth than your tipical ‘hey look at this’ article.  Screenshots and working code abound.

  • Channels Are Back

    Sorry for the outage, but I’ve not been using categories for quite some time because of space issues.

    My web provider recently gave me more storage, so I’ll be posting to categories again.


  • Eclipse 2.1 RC2

    Thanks to Erik via KurtEclipse 2.1 RC2 is out.

  • Apple Finally Releases J2SE 1.4.1


    Apple takes Java to the next level with the latest, certified release of the Java 2 Platform, Standard Edition, version 1.4.1 for Mac OS X. This release incorporates over 60% more features than the previous release, 1.3.1. Improvements include support for new native I/O, XML and Web Services technologies, more security APIs, Unicode 3.0 support and more.

    Bout frickin’ time.  It’s great to have J2SE 1.4.x for OSX though.  Thanks for the hard work Apple, even if it took longer than it should have.

  • Java 1.4.1 Garbage Collection

    Via Java-Channel, 1.4.1 Garbage Collection Algorithms:

    The 1.4.1 SDK was released with at least six different garbage collection algorithms. To understand the differences between these algorithms, you first need to understand that in 1.4.1 (and previous JVMs since one of the 1.2 releases) the JVM heap is divided into two main areas: the young generation and the old generation.

    This article definately raised more questions than it answered for me, but was informative.

  • Deploying J2ME Apps On Apache: Gotchas

    I was running through the Wireless Toolkit demo this afternoon and ran into a little problem while trying to run the app with Over The Air (OTA) from an Apache web server:

    OTA Error Code (37) - The server did not hava a resource with the correct type (code 406) or the JAD downloaded has the wrong media type. [text/plain]

    Of course, the solution is to add a few lines to an .htaccess file in the deployment directory:

    addtype application/java-archive jar
    addtype text/ jad

    Now the demo works fine.  I can download it to the emulator and run it.  Lots of fun!

  • JXTA PR, JXTA 2.0


    Sun’s Jxta software, introduced with great fanfare nearly two years ago, has been downloaded by more than 1 million users, the company said. Sun also noted that there are 12,700 members of Project Jxta, an open-source development organization led by Sun.


    On Tuesday, Sun said it has updated the Jxta specification in what it’s calling Jxta 2.0. The updated software lets developers create a “super peer” on a network that can handle more of the network traffic than less powerful devices.

    Sun has also made the Jxta code more modular so that developers can more easily download and use what they want. The first instance of Jxta 2.0, which is available for download, is for Java programmers.

    Very cool.  I putzed around with JXTA shortly after they announced it.  Has it been over two years now?  While I was at LinuxWorld Expo, I spoke to a couple of Sun guys that were demoing JXTA apps.  One was a shared space app ala Groove, but it ran on any platform supported by a recent version of Java.

    Go, JXTA!

  • Java Web Services Developer Pack + Tutorial


    Check out Java Web Services Developer Pack and the Web Services Tutorial.

    I’ve only ever used Apache Axis for Java SOAP stuff, but the developer pack is both buzzword and alphabet soup compliant: JAXB, JAXM, JAXP, JAX-RPC, SAAJ, JSTL, WSDP, Ant and Tomcat.  Whew.

  • Jakarta Commons Net


    This is an Internet protocol suite Java library originally developed by ORO, Inc. This version supports Finger, Whois, TFTP, Telnet, POP3, FTP, NNTP, SMTP, and some miscellaneous protocols like Time and Echo as well as BSD R command support.

    It looks like some of the implementations might be a little more low level than some of us might want to deal with, but that’s a ton of protocols to have at your disposal.  Rock on, Jakarta.  Get yer goodies here.

  • Andy Oliver is Crazy

    Yep.  Now he’s writing notes to himself:

    As the sole user of your work “Communist Aggregator”, I’m writing to ask you to fix a few bugs and add a few features.

    I wonder if he’s going to ignore himself or add features and tweak the UI like the angry user, er himself, suggests.  <grin/>

  • Web Services Interop vs. A Single Platform

    Phil Waineright:

    There is no ‘split’ between J2EE and .Net — the whole point of web services is to bridge the gap between the two. Tom Welsh explains why in a cogent opinion piece on The Register yesterday. I was amazed to hear recently from a leading manager at a big systems integrator that the biggest issue facing his firm’s clients was consolidation, as if putting everything on a single platform will solve everyone’s IT problems. Far better to concentrate on getting them to work in synch, I would have thought, and as Tom identifies, that’s the real objective of web services. So if .NET does one job well and J2EE does others better, then you can deploy the right platform to do each job without landing yourself with a horrendous integration headache.

  • Falling In Love With Eclipse

    I’ve been using Eclipse 2.1 M5 quite a bit for the last few days after spending a lot of time in Python and .NET.  I must say that I’m falling in love with Eclipse all over again.  I tried out Eclipse on a slow machine many moons ago and also tried the Motif version under Linux and was dissapointed, but saw promise.

    I’ve chosen to use Eclipse as my IDE for a Java web programming course that I’m taking.  Its CVS integration is really slick.  I really like that if I start a javadoc tag (/**) above a method, it automaticly picks up any arguments or return values.  It will add @param and @returns as neccesary.

    File that under wicked cool.

  • Doing It With Ant

    Rafe Colburn:

    After waffling, I finally looked at the list of basic Ant tasks and figured out that I could, in fact, put the whole thing in a build script and be done with it.

    Ant rules.  Read the rest of Rafe’s entry for the juicy details.