Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Ada > Re: Mixing lang...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 6 Topic 5826 of 5881
Post > Topic >>

Re: Mixing languages with Ada

by anon@[EMAIL PROTECTED] (anon) Jul 23, 2008 at 04:55 PM

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 sup****ted 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 sup****ts networks.

     3. Or go back and get the Gnat-Glade-2007 package and build the 
        RPC. Which will not be sup****ted, 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@[EMAIL PROTECTED]
>,
Tomek Walkuski <tomek.walkuski@[EMAIL PROTECTED]
> 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".
 




 6 Posts in Topic:
Mixing languages with Ada
Tomek Walkuski <tomek.  2008-07-23 02:08:11 
Re: Mixing languages with Ada
xavier grave <xavier.g  2008-07-23 11:12:28 
Re: Mixing languages with Ada
Tomek Walkuski <tomek.  2008-07-23 04:44:52 
Re: Mixing languages with Ada
xavier grave <xavier.g  2008-07-23 13:56:57 
Re: Mixing languages with Ada
anon@[EMAIL PROTECTED] (  2008-07-23 16:55:09 
Re: Mixing languages with Ada
Jacob Sparre Andersen <  2008-08-06 13:53:17 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Sep 7 8:36:58 CDT 2008.