Today i want to review about Chapter 7 on jPOS Programmer guide.
from the programmer guide,
jPOS’s Space is a general-purpose coordination component inspired after The Linda Coordination Language.
You can think about jPOS’s Space component as being like a Map where its entries are lists of objects and its operations are fully synchronized.
I think, space is very usefull. In this post, i will share some jPOS Space Tips. we can communicate between servers and clients on deployed jPOS application. For example on my post jPOS client receive response specific port i use space for store the response with bit 11 as a key using Space.out(bit11, ISOMsg) and getting the response using Space.in(bit11, timeout) method.
Another oportunity while using jPOS Space is for temporary storage. In my case, there are two messaging type for payment: inquiry and flagging. see the diagram below: