[REBOL] Re: Java bindings?
From: nitsch-lists:netcologne at: 23-Jun-2003 15:43
>> Most compilable (C/C++ for example) and scripting (Perl, python) allow
>> system calls.As does Java, I believe.
>> That gives you the opportunity to harness rebol
>> applications by launching them from other applications.
>> Messages can be sent from an application to another via tcp/ip, which
>> rebol 'shines' at. One could then have 'two-way messenging'.
>> Since CGI programming is stateless, a web 'application' can call on
>> scripts from any number of language sources. The good 'ol Common
>> Gateway Interface still does the job....
>Thanks for that. It pretty much confirms what I'd been thinking.
>Having another App (in whatever language) fire up a REBOL console whenever
>needed is a simple solution. But it may have all sorts of performance downsides,
>especially if REBOL has to handshake with MySQL each time.
>Having a long-running task that talks via TCP/IP to the boss is simpler
>conceptually. but adds reliability headaches -- whose job is it to restart the LRTs
>if they fall over?
you could run only one instance of rebol. java can send commands to
rebols stdin, and get output on stdout.
like cgi. but you don't do one request, but keep rebol running for other
prtokoll: send rebol [size-of-data data], wait for reply of
[size-of-data data]. and again.