JMRI support, the Java Model Railroad Interface. You'll find some references for using JMRI with terminal servers.