Interfacing with Java, C# ......
[1/10] from: tmoeller:fastmail:fm at: 2-Aug-2006 12:13
Hi,
i am just thinking about some integration issues arising in my daily
work and the use REBOL .
Is it in general possible to establish a communication between Rebol an
other programming language programs (perhaps via sockets), has anybody
done something like that and what is the best method (performance,
stability ...) if there are more than one?? It should be as universally
as possible.
Any 2c are welcome!!!
Thorsten
--
http://www.fastmail.fm - Does exactly what it says on the tin
[2/10] from: tim-johnsons:web at: 2-Aug-2006 16:29
* Thorsten Moeller <tmoeller-fastmail.fm> [060802 02:30]:
> Hi,
> i am just thinking about some integration issues arising in my daily
<<quoted lines omitted: 4>>
> stability ...) if there are more than one?? It should be as universally
> as possible.
Hi Thorsten:
Interesting that you should bring that up.. :-) My biz partner is a
perlmonger and some years ago we experimented with communicating
between rebol and perl applications via sockets. I don't have any of
that code laying around that I can use as an example, but the upshot
was that it would be very doable.
We thought about have a perl "tk server" that would take strings
from a rebol application and translate it to rendering of a tk based
gui. We also thought about having a perl "template server" (using the
perl templating features).
That discussion went to the exchange format and we thought that we
would start with something like an http query string, since the parsing
mechanism is pretty universal.
M2c worth
tj
> Any 2c are welcome!!!
> Thorsten
<<quoted lines omitted: 3>>
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
--
Tim Johnson <tim-johnsons-web.com>
http://www.alaska-internet-solutions.com
[3/10] from: tim-johnsons::web::com at: 2-Aug-2006 16:43
Sorry meant to include this, since our code examples
funky as they were are gone.
http://www.rebolforces.com/articles/hipe.html
You should find this *very* informative, as well
as rugby itself.
Enjoy
tim
* Tim Johnson <tim-johnsons-web.com> [060802 16:33]:
> * Thorsten Moeller <tmoeller-fastmail.fm> [060802 02:30]:
> >
<<quoted lines omitted: 40>>
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
--
Tim Johnson <tim-johnsons-web.com>
http://www.alaska-internet-solutions.com
[4/10] from: greggirwin:mindspring at: 3-Aug-2006 8:59
Hi Thorsten,
TM> Is it in general possible to establish a communication between Rebol an
TM> other programming language programs (perhaps via sockets), has anybody
TM> done something like that and what is the best method (performance,
TM> stability ...) if there are more than one?? It should be as universally
TM> as possible.
Yes, sockets are sockets. What is easiest will depend on who you're
talking to (i.e. the other langauge). It may be that there are
specific protocols, or format handling, built in that play to one
approach or another.
-- Gregg
[5/10] from: massung:gma:il at: 3-Aug-2006 10:04
Just a thought, but I sent an email to Carl asking if REBOL 3.0 would
have an embeddable component to it. His reply was:
Thank you for your message...
Yes. We call that embedded REBOL, and that method will be supported by
our REBOL 3.0 product.
-REBOL Support
You may want to wait and use this.
Jeff M.
--
massung-gmail.com
On 8/3/06, Gregg Irwin <greggirwin-mindspring.com> wrote:
[6/10] from: tmoeller:fastmail:fm at: 4-Aug-2006 10:04
Hi,
thanks to all responding to this issue. In general i think i was right
about the way, using sockets, but i think i will wait for 3.0 to see
whats coming up in the new release.
Is there anything known about release dates for 3.0 betas etc....??
Thorsten
On Thu, 3 Aug 2006 10:04:56 -0500, "Jeff Massung" <massung-gmail.com>
said:
> Just a thought, but I sent an email to Carl asking if REBOL 3.0 would
> have an embeddable component to it. His reply was:
<<quoted lines omitted: 33>>
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
--
http://www.fastmail.fm - Does exactly what it says on the tin
[7/10] from: yeksoon:neusteps at: 3-Aug-2006 10:51
Hi Thorsten,
I believe, many years back, Jeff Kreis published some sample codes
showing REBOL-Tk integration.
IIRC, it is done through ports.
Unfortnately, I do not know where the sample code lies now.
Regards,
YekSoon
Thorsten Moeller wrote:
[8/10] from: petr::krenzelok::trz::cz at: 4-Aug-2006 10:08
Thorsten Moeller napsal(a):
> Hi,
>
> thanks to all responding to this issue. In general i think i was right
> about the way, using sockets, but i think i will wait for 3.0 to see
> whats coming up in the new release.
>
> Is there anything known about release dates for 3.0 betas etc....??
>
No. Sadly no. Altnough there is a rule for RT - when they are silent,
they are working hard on something, that kind of non-communication is
quite disturbing .... There are two blogs, yet none of them provided
community with actual R3 development state update, which is a pity, as
official announcement was mentioning alpha in late May, beta in June ....
-pekr-
[9/10] from: volker::nitsch::gmail::com at: 4-Aug-2006 12:43
On 8/2/06, Thorsten Moeller <tmoeller-fastmail.fm> wrote:
> Hi,
> i am just thinking about some integration issues arising in my daily
<<quoted lines omitted: 4>>
> stability ...) if there are more than one?? It should be as universally
> as possible.
Sockets work. You can also call rebol from the other language and
redirect IO, like cgi does. And then work like tcp, only a bit safer
and faster (nobody else can connect). I am not sure if that works
everywhere, with apache/linux 'wait does not work. Which is needed to
wait for command/response, or at least the simplest way. IIRC i tried
java and perl/linux(open3) and tcl/linux sucessfull.
A way i am thinking about is to use a webserver and use cgis which
call other cgis as "subroutines". Slow, but most languages have good
support to run as cgi.
Also other languages can usually be embedded, so with /library you
could call them from rebol.
> Any 2c are welcome!!!
> Thorsten
<<quoted lines omitted: 3>>
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
--
-Volker
Any problem in computer science can be solved with another layer of
indirection. But that usually will create another problem.
David
Wheeler
[10/10] from: tim-johnsons::web::com at: 4-Aug-2006 10:49
* Gregg Irwin <greggirwin-mindspring.com> [060803 07:21]:
> Hi Thorsten,
> TM> Is it in general possible to establish a communication between Rebol an
<<quoted lines omitted: 6>>
> specific protocols, or format handling, built in that play to one
> approach or another.
In addition to what I say here, see my earlier post on this subject:
A large organization - in the communication business and happens to
be *very* proprietory - is running hundreds of small applications in
a system driven by socket (or port-to-port) communication. Most of
these applications are either perl or rebol. It appears to work very
well. (A family member is on the management oversite)
In fact I think that this approach is really in keeping with RT's
advertised approach to computing and built-in TCP functionality ...
tim
> -- Gregg
>
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
--
Tim Johnson <tim-johnsons-web.com>
http://www.alaska-internet-solutions.com
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted