comp.lang.ada
 help / color / mirror / Atom feed
From: Jacob Sparre Andersen <sparre@nbi.dk>
Subject: Re: Mixing languages with Ada
Date: 06 Aug 2008 13:53:17 +0200
Date: 2008-08-06T13:53:17+02:00	[thread overview]
Message-ID: <87zlnq8imq.fsf@nbi.dk> (raw)
In-Reply-To: 4eb01401-f094-444d-8ab2-cebeab2d839c@b1g2000hsg.googlegroups.com

Tomek Walkuski wrote:

> I need to do some co-op work in client-server environment. I have to
> write (some) server and I want to do this in Ada.  Team mate has to
> write client communicating with my server and he wants to use, for
> example, Java. What is the best choice to mix those languages? Any
> simple solution? Protocol between server and client will be
> "simple".

Consider implementing your protocol directly on top of TCP/IP (for
example using GNAT.Sockets).

If you need some examples, then you're welcome to take a look at
<http://edb.jacob-sparre.dk/Posix_in_Ada/11/> and
<http://edb.jacob-sparre.dk/Posix_in_Ada/12/>.

My students have solved several project exercises, where they have
written servers in Ada and clients in Java.

Greetings,

Jacob
-- 
Stop the proliferation of weapons of maths instruction!



      parent reply	other threads:[~2008-08-06 11:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-23  9:08 Mixing languages with Ada Tomek Walkuski
2008-07-23  9:12 ` xavier grave
2008-07-23 11:44   ` Tomek Walkuski
2008-07-23 11:56     ` xavier grave
2008-07-23 16:55 ` anon
2008-08-06 11:53 ` Jacob Sparre Andersen [this message]
replies disabled

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