01-09-2010
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
10 More Discussions You Might Find Interesting
1. IP Networking
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
2. UNIX for Dummies Questions & Answers
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
3. UNIX for Dummies Questions & Answers
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
4. Programming
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
5. Solaris
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
6. Red Hat
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
7. Solaris
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
8. SuSE
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
9. UNIX for Advanced & Expert Users
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
10. Solaris
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
LEARN ABOUT DEBIAN
soap::deserializer
SOAP::Deserializer(3pm) User Contributed Perl Documentation SOAP::Deserializer(3pm)
NAME
SOAP::Deserializer - the means by which the toolkit manages the conversion of XML into an object manageable by a developer
DESCRIPTION
SOAP::Deserializer provides the means by which incoming XML is decoded into a Perl data structure.
METHODS
context
This provides access to the calling context of "SOAP::Deserializer". In a client side context the often means a reference to an
instance of SOAP::Lite. In a server side context this means a reference to a SOAP::Server instance.
EXAMPLES
DESERIALIZING RAW XML INTO A SOAP::SOM OBJECT
A useful utility for SOAP::Deserializer is for parsing raw XML documents or fragments into a SOAP::SOM object. SOAP::Lite developers use
this technique to write unit tests for the SOAP::Lite module itself. It is a lot more efficient for testing aspects of the toolkit than
generating client calls over the network. This is a perfect way for developers to write unit tests for their custom data types for example.
Here is an example of how raw XML content can be parsed into a SOAP::SOM object by using SOAP::Deserializer:
$xml = <<END_XML;
<foo>
<person>
<foo>123</foo>
<foo>456</foo>
</person>
<person>
<foo>789</foo>
<foo>012</foo>
</person>
</foo>
END_XML
my $som = SOAP::Deserializer->deserialize($xml);
COPYRIGHT
Copyright (C) 2000-2004 Paul Kulchenko. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHORS
Byrne Reese (byrne@majordojo.com)
perl v5.12.4 2010-06-03 SOAP::Deserializer(3pm)