Heh, already had to update this. The first example didn't generate javadocs for the client, and used the .ear file for its class defs. Sloppy me!
Anyway, you'll need ant 1.4.1, and a recent XDoclet to build this example. What I like about it is that there's only one source file for the example bean, and one source file for the client. The home and remote interfaces are generated by xdoclet and compiled. Also, the client jar is constructed correctly for use by clients. And finally, the bean and client both produce javadocs.
Hope this is useful to someone.