J2SE 6 has some interesting new XML functionality called JAXB. Using JAXB, you can take an XSD file and compile it into Java classes. You can then add those classes to your project, create an Unmarshaler object, feed it some XML which meets the XSD, and it will pass you back a tree of appropriate POJOs you can mess with.The only problem is that the XML file my source application generates refers to a DTD which JAXB tries to load via xerxes, causing epic fail.


Fedora Core 1 died, so I installed the latest rev of the corporate desktop based on something else… which means I’m stuck with GNOME, as there aren’t any working KDE installs I can find. With KDE it was really easy to install fonts. Almost Mac-like, in fact. Open the fonts window in Konqueror, drag the TrueType and Type 1 font files in, drop. Done. In GNOME, I open my directory of fonts.

J2EE is teh suck

21:32:26,041 ERROR [Server] start failed org.jboss.deployment.DeploymentException: Could not create deployment: file:/opt/jboss-3.0.6_tomcat-4.1.18/server/default/conf/jboss-service.xml; – nested throwable: (java.lang.AbstractMethodError: org/jboss/deployment/scanner/AbstractDeploymentScanner.scan) at org.jboss.deployment.MainDeployer.start( […etc etc…] Stock JBoss/tomcat downloaded 10 minutes ago, stock RedHat 8, Java 1.4.0. You know, J2EE really sucks dog balls. Every J2EE environment I’ve tried to get working has had some massive brokenness about it. Does anyone have any suggestions?