I am creating a new payment application. What I have is a client application that user selects price, enter its authentication information and then client creates and iso 8583 message and send this data to a bank server.
According to my researches, I can use jPOS for emulating bank server. Actually I need a server for getting the iso messages and response to them but I do not know how can I use jPOS for this propose.
I searched for this in the internet but could not find any resource that answer we clearly. My main question is that whether I need to create an application using jPOS for implementing my requirements or only installing the jPOS on the server is enough for testing my client app?
Well, read jpos library documentation its draft version is available on the web you can find it here
Specific to your question about JPOS Server better to implement your own server. JPos provides class
ISOServer
e.g. following beans initiates a ISO Server inapplicationContext.xml
fileFollowing class to implement packager
In application entry point class you can get the bean and use like following to attach the channel listener
following is the sample listener
NOTE: I have not implemented it yet but jpos provides new way to implement server and client using Q2 you can see documentation of QServer class to implement server, I'll try to share sample as soon as I could.
Happy coding :)