Java News from Tuesday, January 24, 2006

Martin Clausen has released the IBM Secure Shell Library for Java, "a lightweight implementation of the IETF SSH-2 protocol. The library currently implements only the basic SSH features such as password log-in and command execution. Advanced features such as tunning and X-forwarding are currently not supported." Licensing is not immediately apparent but this looks to be closed source.


Christian Schlichtherle has released TrueZip 5.0, a drop-in replacement for the java's file I/O classes. Apparently he's reproduced the java.io classes in a new package so you just change import java.io.* to import de.schlichtherle.io.*; and you're using TrueZip instead of java.io. It's an inspired hack. The reason for doing this is that TrueZip "enables an application to access EAR, JAR, WAR, ZIP or even RAES encrypted ZIP files as if they were just directories in a file's path name. This works recursively, so your ZIP compatible file may even be enclosed in another ZIP compatible file! Even if your application will never use any ZIP file, using TrueZIP might still be beneficial because of its enhanced file operations such as recursive renaming, deleting or (archive) copying with limited support for transactions. These operations use asynchronous I/O and hence deliver a performance which is comparable to the Channel.transfer(...) method in the java.nio package, although they operate on plain InputStream and OutputStream instances." TrueZip is published under the Apache 2.0 license.


The Jakarta Apache Project has declared the previously released version 5.5.15 of the Tomcat open source servlet container to be ready for production deployment. This is the official reference implementation of the Java Servlet API 2.4 and Java Server Pages (JSP) 2.0. "Tomcat 5.5 is designed to run on J2SE 5.0 and later, and requires configuration to run on J2SE 1.4....In addition, Tomcat 5.5 uses the Eclipse JDT Java compiler for compiling JSP pages. This means you no longer need to have the complete Java Development Kit (JDK) to run Tomcat, but a Java Runtime Environment (JRE) is sufficient. The Eclipse JDT Java compiler is bundled with the binary Tomcat distributions. Tomcat can also be configured to use the compiler from the JDK to compile JSPs, or any other Java compiler supported by Apache Ant."