C++/Java full-duplex communication


 
Thread Tools Search this Thread
Top Forums Programming C++/Java full-duplex communication
# 1  
Old 01-09-2010
Question C++/Java full-duplex communication

Hello,
here's my situation: I have a C++ server running on a well known machine and a number of Java clients running on other machines (assumed as unknown) on the same LAN. What I want to achieve is full duplex communication between those applications, in order to exchange complex objects and data (the client initiates communication and then the server can communicate freely by sending messages asynchronously without the need for other requests from the client). I would like to use some standard, widely used protocol instead of simple sockets, so as to promote easy extendability of the system (the first version will have only a server and a client, but subsequent versions could include other components as well, mainly in Java, but could be any language).
I've googled a little but found nothing that fits, I was interested by SOAP and similar protocols, but it seems to me that it is only one-way. I've also seen that someone (eg. Silverlight) is achieving full-duplex for SOAP by implementing a polling mechanism but I don't like this approach.
What should I use?

Thanks a lot,
Gabriele Genta
# 2  
Old 01-09-2010
Have a look at Advanced Message Queuing Protocol and it's derivatives.
# 3  
Old 01-09-2010
MySQL

Perfect! Smilie Great suggestion. I found Apache ActiveMQ (which supports AMQP) that seems to fit my problem!

Thanks a lot,
Gabriele Genta
# 4  
Old 01-10-2010
Here is a good introductory article on AMQP from Linux Journal which you should read.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How to find half duplex or full duplex

Hi, How to find whether the server is running with half duplex or full duplex. I tried with the following command ndd -get /dev/ but am not getting any output,. Is the command correct? Also let me know how to change from half to full duplex. (1 Reply)
Discussion started by: rogerben
1 Replies

2. UNIX for Advanced & Expert Users

How to set full duplex for solaris 5.5

I would like to change half duplex to full duplex on solaris 5.5. I tried with below commands but they didnt work on solaris 5.5. #ndd -set /dev/le adv_100fdx_cap 1 (6 Replies)
Discussion started by: csreenivas
6 Replies

3. SuSE

configure full duplex

How do I configure full duplex on suse 8.2 I tried ethtool -s eth0 speed 100 duplex full autoneg off the above works but when I reboot the machine the configure was lost. How do I configure full duplex so that when the machine get rebooted the configuration will stay. My interface... (4 Replies)
Discussion started by: hassan2
4 Replies

4. Solaris

How to force a full duplex

I need to change some Ip addresses for my servers to reflect in the NIS map. I also need to force full duplex on the 10/100 cards & 1/2 duplex in the 10 cards. I can change the IP by doing ifconfig <NIC card > plumb up <newip>. Not quite sure on how to force the full / half duplex & how to... (2 Replies)
Discussion started by: Remi
2 Replies

5. Red Hat

RedHat 9 Force full duplex

All, I have a RedHat 9 box which I need to figure out how to get it to stay in full duplex mode after a reboot. I have tried ethtool -s eth0 speed 100 duplex full autoneg off I have tried to add a line to the /etc/sysconfig/network-scripts/ifcfg-eth0 like this: ETHTOOL_OPTS="speed... (4 Replies)
Discussion started by: bubba112557
4 Replies

6. Solaris

100 gigabit full duplex

How can I tell on Solaris 9 sparc if my nics are running 100 gigabit full duplex... (4 Replies)
Discussion started by: csaunders
4 Replies

7. Programming

full -duplex ?

what is meant by full duplex and half duplex? b'coz in differences b\w hub and switch ,i heard lot this duplex word so please help me (1 Reply)
Discussion started by: parvathy
1 Replies

8. UNIX for Dummies Questions & Answers

Full Duplex Howto

Dear Members, I was reading a few posts and saw something about installing two Nics so one could use Full Duplex. I remember back in the day of dial up, you could have two modems and use one for upstream and one for downstream. This was called shotgunning. It seems that you can now do the same... (4 Replies)
Discussion started by: Phobos
4 Replies

9. UNIX for Dummies Questions & Answers

Full duplex at HUB?

Ok at the moment I have a hub whit 5 computers connected to it. It's a 10/100 NetGear hub. Ok I heard that there is some command I can run or a file I edit or something like that. But what the command/file/script/whatever does is tells you what connect speed it's connecting to the hub to. ... (4 Replies)
Discussion started by: merlin
4 Replies

10. IP Networking

Problems switching to Full Duplex

We run Compaq UNIX Tru64 5.1. After a switch got replaced our ethernet-card was magically set to half duplex! We saw, that the card was set to Autonegotiate: vmunix: ee1: Autonegotiated, 100 Mbps full duplex So we set the card with ifconfig to 100 Mbps full duplex with the following... (3 Replies)
Discussion started by: arn_ch
3 Replies
Login or Register to Ask a Question