Yes, the Java API is thread safe, If the user has many threads and each one gets a Dimensions connection then they will be able to operate independently without a problem. For example , the Eclipse IDE is a multithreaded application and the Dimensions plugin we wrote calls the public Java API and that works fine.
6. The following should appear under the Libraries tab view 4 E.g. C:\ program files\serena\dimensions 14.1\cm\ java_api \lib if you are not sure of the value, then check the value of the following key in the registry e.g. for 14.1 HKEY_LOCAL_MACHINE\SOFTWARE\Serena\Dimensions\14.1.0\DM_ROOT 7. Click on Finish, dismiss the Welcome View Package Explorer view will be displayed:
This article contains the presentations and examples used during the Serena xChange 2011 break-out sessions: Generate the Right Development Metrics with Java API U
When you retrieve the requestObj in the JAVA examples , where the requestID is the input parameter of the JAVA example : Request requestObj = connection.getObjectFactory().findRequest(requestID);
For example , try to connect to the same host while this "sleeps". DimensionsConnectionDetails details = new DimensionsConnectionDetails(); details.setUsername("dmsys");