I would recommend you buy the developers guide as a good starting
point. Access "buy it now" via the download link on www.jpos.org ( or
http://tinyurl.com/acw2j ). You can get the source via this process if
you have not already done so.
Also scan this mailing list archive, the easy way to build and execute
tests for jpos has been mentioned a couple of times.
--
Mark
ServerSocket programs which listens and enables sockets connections on
Tcp connection.
I found that it would be much simpler if i use this approach. However,
do u think this
will work i mean securely. We are connecting to the bank's NAC via Tcp.
Tq.
p:s I will consider buying the developers guide.
When you say securely, do you mean that your conversation with "the
bank" cannot be seen or interfered with?
There is nothing inherently secure about the TCP/IP protocol, you need
to ensure the data you send via TCP/IP is encrypted, this could be
acheived in software at connection negotiation (like SSL) or indeed
left to the hardware controlling the wires.
I think jPos does have SSL channel support (based upon name or comments
- I have not used it). Can anyone else comment on this?
--
Mark
At what point actually?. In my case, I just pack/unpack the packet
using jPOS, so i dont really see where i must interface to jPOS after
that..( Or did i mised somethings already? Please advice.)
Regarding security, yes Mark, you have clearly answer my question.
Thank you very much, and i welcome further comments from u and others .
--
Mark
If u could just give your opinion, while doing this things I frequently
gets the SocketException: Connection Reset Exception..
the funny thing is, when i try to send a lot of data
(infinite loop) in the connection (of ServerSocket and Socket), the
exception is not being thrown,
but this only happens when i try to send data singularly (not in loop).
After the exception is being thrown, i can still use the connection,
but only to find the same scenario.
The following is the exception stacktrace
exception stacktrace
===============
java.net.SocketException: Connection reset at
java.net.SocketInputStream.read(SocketInputStream.java:168)
at
sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411)
at
sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183)
at java.io.InputStreamReader.read(InputStreamReader.java:167)
at java.io.BufferedReader.fill(BufferedReader.java:136)
at java.io.BufferedReader.readLine(BufferedReader.java:299)
at java.io.BufferedReader.readLine(BufferedReader.java:362)
at ISO8583SocketThread.run(ISO8583SocketThread.java:45)
Thanks.
We might be in the danger of getting a little off topic, so...
I would consider saving myself the effort of finding my way through the
Socket jungle and reuse the effort already invested in getting jPos to
handle these things for me.
JPos adds little overhead than that which is necessary to communicate
with another system over TCP/IP.
--
Mark
Thx again. Cheers.
Another thing now, I wonder if ISO 8583 -87/93(B), ISO 8583 -87/93(A)
is acknowledged by ISO
or just variety in jPOS. Thanks.