6

At my current company we are considering using jPOS to do our ISO 8583 integration with other systems. I've been reading the free documentation for a while, but I still have a lot of gaps. For instance:

  1. How is jPOS supposed to work in prod? Should I just start a Q2 server and it would act like and endpoint receiving or sending ISO8583 messages? How am I suppose to integrate that with my application server?

  2. In which cases and how should I use the jPOS Space?

  3. My basic use case is send/receive ISO messages. Do I need all of that stuff?

  4. Are there any other references out there or examples of this basic system that receives ISO 8583 messages, do some stuff and then replies in ISO8583 messages?

Thank you,

neilson
  • 401
  • 1
  • 4
  • 13

1 Answers1

6
  1. How is jPOS supposed to work in prod? Should I just start a Q2 server and it would act like and endpoint receiving or sending ISO8583 messages?

Yes, that's the preferred way.

How am I suppose to integrate that with my application server?

If your application server is based on OSGi, you can start Q2 as an OSGi bundle. Otherwise, you can just instantiate Q2 from your code and start it, i.e.:

Q2 q2 = new Q2("/path/to/your/deploy");
q2.start();

There's a good detailed thread on how to run jPOS as a JBoss SAR here: https://groups.google.com/forum/#!topic/jpos-users/Ro5wLB7qwKw - could be used as a reference for other app servers.

In which cases and how should I use the jPOS Space?

You don't have to, unless you find it useful. jPOS uses the spaces internally for inter-service communications.

Are there any other references out there or examples of this basic system that receives ISO 8583 messages, do some stuff and then replies in ISO8583 messages?

You may want to try the 'clientsimulator' and 'serversimulator' examples from the jPOS-EE project. You can find the documentation for those here: http://jpos.org/doc/jPOS-EE.pdf

You can find jPOS-EE here: http://github.com/jpos/jPOS-EE

apr
  • 1,288
  • 7
  • 8
  • 1
    Thanks for your answer, @apr. Maybe you sent me the wrong thread :) That one is about some crazy spring configuration problems... Nothing useful unfortunately. In any case, can I start the Q2 as a spring bean? The "/path/to/your/deploy" is the real path in the server to the place where my war file is deployed? After Q2 gets a message, how do I "transport" that message to my business classes/services? I mean, what is the linking between the Q2 server and my app code? – neilson Mar 13 '14 at 08:15
  • 1
    final question: When I buy jPOS license, which one do I get, jPOS or jPOSEE? Thank you!! PS: please forget about the thread comment... I had another tab open here with some other stuff :) You sent me the right link... – neilson Mar 13 '14 at 08:20
  • 1
    I guess you can start Q2 as a spring bean. The '/path/to/deploy' is the path for Q2 deployment descriptors. Take a look at http://jpos.org/learn – apr Mar 25 '14 at 00:13