sane-project-website/old-archive/1997-02/0081.html

67 wiersze
3.2 KiB
HTML

<!-- received="Tue Apr 22 18:05:54 1997 MST" -->
<!-- sent="Tue, 22 Apr 1997 17:43:26 -0700" -->
<!-- name="David Mosberger-Tang" -->
<!-- email="davidm@azstarnet.com" -->
<!-- subject="Re: Connecting SANE and Java?" -->
<!-- id="199704230043.RAA18877@panda.mosberger" -->
<!-- inreplyto="Connecting SANE and Java?" -->
<title>sane-devel: Re: Connecting SANE and Java?</title>
<h1>Re: Connecting SANE and Java?</h1>
<b>David Mosberger-Tang</b> (<a href="mailto:davidm@azstarnet.com"><i>davidm@azstarnet.com</i></a>)<br>
<i>Tue, 22 Apr 1997 17:43:26 -0700</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#81">[ date ]</a><a href="index.html#81">[ thread ]</a><a href="subject.html#81">[ subject ]</a><a href="author.html#81">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0082.html">David Mosberger-Tang: "sane-0.55 now available!"</a>
<li> <b>Previous message:</b> <a href="0080.html">Reimond Rombey: "Re: sane-0.54 now available!"</a>
<li> <b>Maybe in reply to:</b> <a href="0068.html">Guido Muesch: "Connecting SANE and Java?"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0073.html">Reimond Rombey: "Re: sane-0.54 now available!"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
<i>&gt;&gt;&gt;&gt;&gt; On Tue, 22 Apr 1997 16:47:52 -0700, Jeremy Rosenberger &lt;<a href="mailto:mustang@henge1.henge.com">mustang@henge1.henge.com</a>&gt; said:</i><br>
<p>
Jeremy&gt; RMI is like RPC in the sense that both are used to invoke<br>
Jeremy&gt; methods remotely, but that's about where the similarity<br>
Jeremy&gt; ends--RPC and RMI are not compatible. Furthermore, RMI is a<br>
Jeremy&gt; Java-only protocol, so it can only be used to connect Java<br>
Jeremy&gt; to Java. The way I see it, your options are these (and maybe<br>
Jeremy&gt; I'm missing a couple):<br>
<p>
Confusion alert!<br>
<p>
RPC != Sun RPC<br>
<p>
RPC simply stands for Remote Procedure Call. RMI is one RPC<br>
implementation, Sun RPC another, and SANE RPC a third.<br>
Implementation-wise, SANE RPC has nothing in common with Sun RPC.<br>
<p>
To get SANE support in Java, somebody has to write the equivalent of<br>
sanei_wire.c and sanei_net.c. You'll find that the implementation<br>
strategy is indeed patterened after Sun RPC, but SANE RPC is a much<br>
simpler since it doesn't have to be able to support arbitrary C<br>
types---just the ones needed by SANE.<br>
<p>
--david<br>
<p>
PS: Please read doc/net.tex for info on the SANE network protocol.<br>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.azstarnet.com/~axplinux/sane/">http://www.azstarnet.com/~axplinux/sane/</a>
To unsubscribe: mail -s unsubscribe <a href="mailto:sane-devel-request@listserv.azstarnet.com">sane-devel-request@listserv.azstarnet.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0082.html">David Mosberger-Tang: "sane-0.55 now available!"</a>
<li> <b>Previous message:</b> <a href="0080.html">Reimond Rombey: "Re: sane-0.54 now available!"</a>
<li> <b>Maybe in reply to:</b> <a href="0068.html">Guido Muesch: "Connecting SANE and Java?"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0073.html">Reimond Rombey: "Re: sane-0.54 now available!"</a>
<!-- reply="end" -->
</ul>