comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: JGNAT, Byte arrays, and Stream_Element_Arrays
Date: 09 Feb 2001 09:19:55 -0500
Date: 2001-02-09T14:33:15+00:00	[thread overview]
Message-ID: <uy9vgaqgk.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: 3A830904.1814A9BD@earthlink.net

"Marc A. Criley" <mcquadex@earthlink.net> writes:

> <snip>
> I am very much aware that I'm playing close to implementation and
> platform dependencies :-)  And that the solutions I come up with may not
> be portable across platforms.  But I had to start banging my head
> against the wall somewhere :-)
> 
> > You need to use the Distributed Annex facilities to make this work
> > properly (never used them myself, so I can't help more).
> 
> 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).

> And by the way, got the whole thing happily working.  Had to step out
> and do the "Engineer's Dance"!

Congratulations !

-- 
-- Stephe



  reply	other threads:[~2001-02-09 14:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3A806533.8EFCFB0@earthlink.net>
2001-02-07 19:46 ` JGNAT, Byte arrays, and Stream_Element_Arrays Stephen Leake
     [not found]   ` <3A829458.19037392@earthlink.net>
2001-02-08 18:28     ` Stephen Leake
2001-02-08 22:00       ` Marc A. Criley
2001-02-09 14:19         ` Stephen Leake [this message]
2001-02-09 16:50           ` Marc A. Criley
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox