Click to See Complete Forum and Search --> : what are the best ways of linux communicating with external linux or windows system?


shilpa
01-09-2006, 04:40 AM
what are the best ways of linux communicating with external linux or windows system?

i wanted to know whether we can use sockets, RPC ,IPC , web services like corba, Soap.
what are the other ways
which is preferred?

dkeav
01-09-2006, 05:03 AM
would you mind being a little more specific

ssh
samba (SMB/CIFS)
the list goes on, if you have a specific task you need done we could narrow it down

endoalpha
01-09-2006, 05:20 AM
My vote would have to be tcp/ip. After that protocol, the next layer is up to you.

Parcival
01-09-2006, 07:13 AM
If you want your Linux to talk to a Windows box or Apple OSX, go for Samba. If you want various Linux boxes to talk with each other, go for NFS.

dkeav
01-09-2006, 08:51 AM
providing that the "talking" you refer to is referring to "sharing files"

Parcival
01-09-2006, 09:10 AM
providing that the "talking" you refer to is referring to "sharing files"

Exactly. :) Since it's a first poster I assumed he wants to do what most Linux newbies want to do, i.e. sharing files (and printers) between their networked machines. :)

stiles
01-09-2006, 08:27 PM
i wanted to know whether we can use sockets, RPC ,IPC , web services like corba, Soap.
what are the other ways
which is preferred?

What developement enviroment do you prefer and what do you have experence with? Sockets is probably the most used in the unix world. In UNIX the IPC options that are netowork centric is sockets, the others like named pipes and semaphores are local. Corba is used by GNOME, most use ORBit (http://orbit-resource.sourceforge.net/) IIRC. SOAP is very viable too, implimentations are available for C/C++ (http://www.cs.fsu.edu/~engelen/soap.html), python, perl (http://soaplite.com/), java, .net (http://www.mono-project.com) etc...

As for preference, if you go the web services route SOAP has the mindshare IMO. If not use sockets.

david(dallas)
01-12-2006, 11:19 AM
I'm in a simular boat. I'm looking for a Interprocess communication package that would ONLY have to interface with Linux OS apps on the same server. Some of these will be 3rd party apps that are already out there or will be implemented. Need to support C and JAVA. So need something that is widely know. CORBA has been shot down already.
A number of packages to chose from. DCE, SOAP, D-BUS, DCOP, XML-RPC.
If anybody can point me to any publications that discuss in depth, I would appreciate.
Or can make some cases for the best from the list OR is there something better.

Needs:

1. 3rd party supported, is there one that is more widely supported now that others?
2. Simple Implemenation
3. No or small license fee
4. C, C++, and JAVA supported
5. Linux Redhat compatiable
6. Speed isn't a major concern, so XML based packages are exceptable.

Thanks in advance.