How to support both RTC 2.0 and RTC 3.0
3 answers
RTC 2.x and RTC 3.x is a special case, because there was no N-1 compatibility (see http://rsjazz.wordpress.com/2013/07/09/new-version-and-now-experiences-with-sdk-and-plain-java-api-across-tool-versions/ for what that is) in RTC 3.x.
So you would run your Plain Java Client Library programs with a classpath to the 2.x version Plain Java Client Library if you want to talk to 2.x and with a classpath to the 3.x version if you want to talk to 3.x http://rsjazz.wordpress.com/2013/07/12/work-item-command-line-client-to-add-a-comment/ and http://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/ show how to call the code.
Unless you are in the unlucky situation where the API is gone in 3.x, this should in general work.
So you would run your Plain Java Client Library programs with a classpath to the 2.x version Plain Java Client Library if you want to talk to 2.x and with a classpath to the 3.x version if you want to talk to 3.x http://rsjazz.wordpress.com/2013/07/12/work-item-command-line-client-to-add-a-comment/ and http://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/ show how to call the code.
Unless you are in the unlucky situation where the API is gone in 3.x, this should in general work.