[Chicago-talk] Interfacing to a Java pgm with API

Jay Strauss me at heyjay.com
Tue Nov 4 10:35:09 CST 2003


Ok, my attempts at using Java.pm and Inline::Java have both dead ended
(though I still have hope for the Inline::Java, the author is looking into
why it doesn't work in my case).

should I use IO::Socket, or is there some other package I should use for
socket communication

Jay

--On Thursday, October 09, 2003 07:46:56 -0500 Jay Strauss <me at
heyjay.com>
wrote:

> The more I've been reading, and the more I understand about the API, I'm
> leaning toward Java.pm.  The API does use sockets, and someone did build
> an example using IO::Socket.  He had to read the C++ code and
> reverse-engineer the calls.  I think it would be better to use their API
> (especially since its still in a state of change), and use some glue to
> talk to it.
>
> The vendor's architecture is: Remote Server <---> Client App <----> Custom
> App (using API)
>
> As I understand from the vendor's message boards they routinely change the
> Server & Client & API to fix bugs and add new functionality.

Then why use Java.pm? The socket interface should be enough -- and
an excellent exercise in working with sockets.

-- 
Steven Lembark                                            2930 W. Palmer
Workhorse Computing                                    Chicago, IL 60647
                                                         +1 888 910 1206




More information about the Chicago-talk mailing list