From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,484b00716058f98f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-09 08:50:57 PST Path: supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3A841202.5851E36C@earthlink.net> From: "Marc A. Criley" Organization: Quadrus Corporation X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: JGNAT, Byte arrays, and Stream_Element_Arrays References: <3A806533.8EFCFB0@earthlink.net> <3A829458.19037392@earthlink.net> <3A830904.1814A9BD@earthlink.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 09 Feb 2001 16:50:56 GMT NNTP-Posting-Host: 63.178.180.2 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 981737456 63.178.180.2 (Fri, 09 Feb 2001 08:50:56 PST) NNTP-Posting-Date: Fri, 09 Feb 2001 08:50:56 PST Xref: supernews.google.com comp.lang.ada:5072 Date: 2001-02-09T16:50:56+00:00 List-Id: Stephen Leake wrote: > > "Marc A. Criley" writes: > > > The idea of trying to get the DSA to work with a natively compiled > > server and a JVM client scares me even more than using the Java sockets > > class! > > I gather you are not familiar with the DSA, but are familiar with > sockets. However, the DSA was _designed_ to solve exactly the problem > you are experiencing, in a _portable_ way. Sockets are a low-level > tool in the solution. > > Think of it this way; the DSA is to sockets as Ada rendezvous and > protected types are to mutex and semaphores. > > Take the time to learn the DSA; it will be worth it! (Well, assuming > the DSA is implemented by JGNAT; if not, maybe you could now implement > it, and do us all a great service). > Actually I am comfortable with the DSA, though I've not used it on a production contract, I've messed around with it a lot at home. Before..uh..certain factors came into play at my former employer, I had started to lay out the design for a migration from an explicit socket-based IPC to the DSA facilities. I changed employers before anything could come of it, though. Using JGNAT to generate the client isn't being done entirely for the novelty value :-), there is a _code_ portability factor, as well as the potential for running the client as an (gn)applet. For easing data portability I may get into an XML approach (and the design/implementation is flexible enough to "plug in" an XML "conversion module"), but I'm focusing on raw functionality at the moment. Marc A. Criley