You just really are not understanding what I am saying. TWS has a C++ API. The original poster is more comfortable in C. Why, oh why, would he want to write it in Java then?
Now, if this application were tens, or hundreds, of thousands of lines long, then programmer efficiency and...