Sort:  

this would be like a client library

Yes, that is correct.

Java App could make Hive transactions

Yes.