Different Between TransactionParticipant and AbortParticipant

Today, i want to share about the different between TransactionParticipant and AbortParticipant interface on jPOS iso 8583 framework. you need to implement one of these interface when you are using Transaction Manager on your jPOS project. you can find my post about how to implement Transaction Manager here. back to the main topic in this post. What is different between TransactionParticipant and AbortParticipant interface, and when you use AbortParticipant instead TransactionParticipant interface. I have looking for the information about this on jPOS programmer guide: developer can implement the optional AbortParticipant

Continue reading

Implementation JPos Transaction Manager

Today i want to share about Implementation JPos Transaction Manager. In this post, i will implement the integration with ISORequestListener, Transaction Manager Group Selector, Transaction Participant, and Abort Participant. From JPos Programmer guide book, the explanation of TransactionManager is: The TransactionManager implementation takes care of ‘driving’ the transaction by calling all of the participants’ prepare methods. If all of them return ‘PREPARED’, then the transaction moves to the committing phase, at which point the TransactionManager will call all of the participants’ commit methods. If one of the participants’ prepare methods

Continue reading