Which is better to use RTC Plain Java API or RTC REST/OSLC API
![](http://jazz.net/_images/myphoto/b22bfdab4d4afc9c8c22f08d050e3058.jpg)
One answer
![](http://jazz.net/_images/myphoto/b22bfdab4d4afc9c8c22f08d050e3058.jpg)
I don't know which is better.. but see the accepted answer here https://jazz.net/forum/questions/94776/assertionfailedexception-problem-with-getting-the-values-of-attributes
for a sample app that executes a predefined query and works thru all the workitems.
note that the forum tool causes stuff in <> brackets to get lowercased.. so you will have a few compile errors til those are fixed.
for a sample app that executes a predefined query and works thru all the workitems.
note that the forum tool causes stuff in <> brackets to get lowercased.. so you will have a few compile errors til those are fixed.