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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6986b05169a628cb X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.glorb.com!wn11feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!53ab2750!not-for-mail Newsgroups: comp.lang.ada From: anon@anon.org (anon) Subject: Re: Mixing languages with Ada Reply-To: no to spamers (No@email.given.org) References: <4eb01401-f094-444d-8ab2-cebeab2d839c@b1g2000hsg.googlegroups.com> X-Newsreader: IBM NewsReader/2 2.0 Message-ID: Date: Wed, 23 Jul 2008 16:55:09 GMT NNTP-Posting-Host: 12.65.72.78 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1216832109 12.65.72.78 (Wed, 23 Jul 2008 16:55:09 GMT) NNTP-Posting-Date: Wed, 23 Jul 2008 16:55:09 GMT Organization: AT&T Worldnet Xref: g2news1.google.com comp.lang.ada:1291 Date: 2008-07-23T16:55:09+00:00 List-Id: For client/server programming, once the Ada-2005 specs were adopted last year Adacore has decided to stop using the RPC package based in Annex-E by using the RM Annex E.2. (20). Also, back in 2005 they introduce the Java based Partition Communication Subsystem (PCS) called Polyorb. And now it the only PCS package supported by Adacore and GNAT-2008. So, you only have three choices: 1. Use Polyorb, aka Cobra, MOM, etc. In this case, since Polyorb is based from Java Cobra subsystem, I would use Java. Includes examples written in Ada. 2. Write you own PCS. And you can use the language of your choice so long as that language supports networks. 3. Or go back and get the Gnat-Glade-2007 package and build the RPC. Which will not be supported, except maybe from those who have used the package through talks in chatrooms and maybe forums. For this package C or Java is a good bet for a secondary language. Includes Ada examples. Since you say the protocols will be simple I would write my own PCS. Using both Ada and Java for the mixed languages. And you can find C and Java network examples on the net that can be use to help you write your Ada code. Skip the overhead of Polynorb or the updating/compiling for GNAT-Glade-2007 subsystem. In <4eb01401-f094-444d-8ab2-cebeab2d839c@b1g2000hsg.googlegroups.com>, Tomek Walkuski writes: >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".