Stateful & standalone apache XML-RPC server

Introduction Apache WS-XMLRPC is arguably one of the most popular Java xml-rpc library around. However having tasted the lightness of python I’m really missing the quick and easy SimpleXmlRpcServer. So here is a simple class that’ll do the job. Download WS-XMLRPC In case you haven’t got it already, here’s a link to the ws-xmlrpc download…

Java: Date, ISO string, and timezone

This is a convenience class around SimpleDateFormat to parse/format date from/to ISO string: yyyy-MM-dd’T’HH:mm:ssZ. The printing bit allows for timezone to be specified, which just wraps around DateFormat’s .setTimezone() method. Note that Date object in java is not timezone-specific. The Timezone conversion is required only during formatting. Usage

DateUtil.java