Communicating between VB 6 and Java

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Jean-Yves Fiset (jyfiset_at_shumac.qc.ca)
Date: 05/04/04


Date: Mon, 3 May 2004 21:28:44 -0700

Hi you all,
I need to exchange data from a VB 6 application to a Java application on the
same machine. I read a bit on this but would appreciate some advice wrt:
- SOAP could be an option, but I understand that it uses TCP and requires an
HTTP server. I think this is a bit too much overhead, but I might be wrong
(wouldn't be the first time :-) ).
- Socket to socket communication might be a better choice, or would it?
- Writing with VB to a binary file and "polling" the file with Java is the
brute force approach but might be easier to get going. However,
synchronization is likely to be an issue.

Any thoughts would be appreciated.

Thx,

Jean-Yves



Relevant Pages