http://innig.net/macker/ This may work to enforce the separation of client/common/server code in jars, and prevent server code from accidently leaking into the client side.