Java Transaction API

Transaction: an exchange or interaction between people.

Native Support
https://en.wikipedia.org/wiki/Java_Transaction_API
http://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-jta.html

Third Party Support
http://narayana.io/index.html
https://www.atomikos.com/
https://github.com/bitronix/

Notes:
1. If we are doing credit card transaction, we need to do reverse swipe separately (We can write separate task and execute, but to be careful and need to handle, if we fail to perform reverse swipe).
2. If credit card transaction failed, we can’t do it again and again.
We need to understand and apply common sense on how to deal with it.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s