PayPal interview question

Characteristics of java, how does a transaction work