As I'm currently using Java a lot at work (90% of the time), I started porting some of the classes, that I use a lot to Java and make them available to the public under an open source license. Most of the time, you only read of projects ported from Java to PHP, but I think the PHP community offers a lot of projects which currently are not available in Java and a lot of Java developers can learn a lot from PHP.
The first two projects I ported are
patConfiguration, which is now named
XJConf and
Event_Dispatcher (now called
EventDispatcher).
XJConf allows you to map any XML document to Java objects by defining rules for the mapping process. These rules allow you to call setter-methods and the constructor and define the classes used for the tags and attributes. It also is extendible using XML namespaces, I already implemented basic XInclude support. XJConf is a lot more powerful than the PHP version, but I plan to port the new features back to a PHP5-only version of patConfiguration.
EventDispatcher is a package that helps you build event-centered applications by dispatching the event-objects to the listeners that have been registered for the various objects. The package provides almost the same functionality as the PHP version, which has been developed by
Bertrand Mansion and myself.
Documentation for both packages is available at my new website
java.schst.net, which also provides a web-SVN viewer, ticketing system, a roadmap and many other features (powered by
Trac). Currently there aren't any ready-to-use JAR files, but you can get them from SVN and build them using
ant.