concept UserTransaction in category osgi

This is an excerpt from Manning's book OSGi in Depth.
The JTA provider is responsible for registering the TransactionManager service and the UserTransaction service. You’ve seen the use of the former one already; the latter will be described in future sections. There can be at most one JTA provider in the OSGi framework, which means that there’s only a single instance of the TransactionManager and UserTransaction services. Therefore, you can retrieve these services from the OSGi registry by using the service interface, such as TransactionManager.
This is possible with the UserTransaction service. Similar to the TransactionManager service, the JTA provider registers the UserTransaction service, and you’re guaranteed to have just one of it in the system. Using the UserTransaction service, a client can explicitly define the transaction boundaries by invoking the methods begin(), commit(), and even rollback().