Hello - Static Analysis ----------------- A static analysis of the 0.3.9.1 Java sources, using an import to VisualAge for Java showed up 34 errors and 43 warnings. The errors are about: missing packages, classes, and methods; access to invisible members; illegal language constructs.
I wish one of the deployment administrator would do a static analysis of the code before shipping it. I recommend to use the free and very fast IBM Jikes Java compiler in pedantic mode [+P] to do this. This compiler and the integrated analysis have afaik the best check for conformance with the Java specifications, which can prevent several kinds of runtime errors. Package Dependencies -------------------------- I wanted to create a small shrink wrapped Freenet client that includes only the necessary code of the required Java node. There's some client code that refers to the Freenet.servlet package and to Freenet Servlet classes. For your interest, I'm using IBM JAX (free at the AlphaWorks site) which builds the dependency graph and removes unnecessary members (classes, methods, fields). Signing and Versioning the Freenet.jar ------------------------------------------- For data integrity and authentication the JAR could be signed. Thawte (www.thawte.com) provides Java code certificates for US$ 200. Versioning the JAR can help client implementations to check and identify the correct code basis. Add something like: <manifest additions> Specification-Title: Freenet Specification-Vendor: The Freenet Project Specification-Version: 0.4 Implementation-Title: Freenet implementation Implementation-Vendor: The Freenet Project Implementation-Version: 0.4.1 build 12 </manifest additions> Java Web Start ----------------- Also, signing the JAR would be the first step in preparing the binary Java distribution for beeing JNLP enabled. It then could be seamlessly installed, updated, verified and started from a single click in the Web browser, using the Java Web Start reference implementation or compatible technology. See, http://www.javasoft.com/products/javawebstart/ How can I help? ------------------ I'd like to contribute to the Freenet project. I have already written well received advanced Swing-based Java 2 freeware client apps. Since my key area of specialisation is GUI development, the best I can give is probably an elegant Freenet client GUI. Please check my recent tool "jPathReport" from http://www.jgoodies.com/ and tell me your wish list. BTW, jPathReport is an example of a Web startable app and provides graphical reports about the freenet.jar [and other class paths]. Freenet fans should run the Beta->Sound Test... ;-) Kind regards, Karsten Lentzsch * www.jGoodies.com _______________________________________________ Devl mailing list Devl at freenetproject.org http://lists.freenetproject.org/mailman/listinfo/devl
