Java

Apache's Jakarta Project has released Commons/Net, an Internet protocol library for Java that includes "Finger, Whois, TFTP, Telnet, POP3, FTP, NNTP, SMTP, and some miscellaneous protocols like Time and Echo as well as BSD R command support." ... (read more)Aspiring game developers looking for a ground-floor opportunity should be developing for the wireless Web, according to XML and Java developer Russell Beattie: If you're just starting, you're not at the super-bleeding edge, but you're definitely an early-adopter, and that's not a bad place to be. Others have already shed the blood and worked out the standards and now you get to concentrate on making cool apps. ... (read more)Linux Magazine has posted my two-part series on J2SE 1.4's java.nio networking package: The Buffer Zone (on the new Buffer classes) and Non-Blocking Connections (on its new networking features). ... (read more)My article on XOM has been submitted to Linux Magazine and will be appearing in an upcoming issue focused on Java. I've been writing the Java Matters column for the magazine since August, giving me a great excuse to putter around with new Java APIs like XOM and Apache XML-RPC. My first two columns, which cover the Log4J logging class library and Java 2's new assertions feature, have been published online. People who want to know more about XOM now can read Michael Fitzgerald's recent article, ... (read more)I'm finishing a magazine article today on XOM, a new XML object model for Java by Elliotte Rusty Harold. The class library is impressive -- I haven't found a more easy to use, intuitive way to read, write, and manipulate XML documents with Java. Harold describes his design principles for XOM in a provocative essay that's worth reading by any programmer designing an API regardless of language. It's filled with quotable advice like this: "One of the jobs of the expert or experts who designs the ... (read more)Columbia House DVD is making heavy use of Java, according to an incredibly detailed error message on the site this morning. ... (read more)Self-promotion: My new book, Sams Teach Yourself Java 2 in 24 Hours, Third Edition, is now available. Features of the book's Web site -- a homebrew PHP/MySQL application -- include an RSS feed for site updates and a place to download Yahoo's discontinued News Ticker Java applet. One of these days I'm going to rewrite it to work with any RSS 1.0 or RSS 2.0 feed. ... (read more)I'm writing Java code to read Advogato diary entries using the site's XML-RPC interface and the Apache XML-RPC library. I can't get the getDates() method to work, and the cause appears to be some off-spec XML-RPC encoding in the response, as I describe on the XML-RPC discussion board. Help from XML-RPC gurus would be appreciated. I'm so deep into this debugging effort that I feel like Kurtz in Apocalypse Now ("The horror. The horror."). ... (read more)I had a chance this past week to evaluate Apache XML-RPC, an open source Java class library for XML-RPC programming. It's a nicely designed library that makes it trivial to create an XML-RPC server or software that makes XML-RPC calls. Remote methods are called in a manner comparable to calling any other method in Java -- XML-RPC and networking are handled by the library. Once you have figured out which Java data types to use in remote method calls and remote methods, described in this table, ... (read more)Elliotte Rusty Harold has released XOM, a new XML object model for Java. "Like DOM, JDOM, dom4j, and ElectricXML, XOM is a read/write API that represents XML documents as trees of nodes," Harold explains on his weblog. "Where XOM diverges from these models is that it strives for absolute correctness and maximum simplicity." ... (read more)