I need to communicate between server/client. I saw that CORBA is used for different languages to work like RMI, is it?
In my application I will have to transfer objects between client/server, transfer binary files (which I saw that I can do with RMI) and also play live streaming from one client to another.
I was thinking about CORBA because it also can be used with C++ if I need, isnt it?
So can I play streaming with CORBA?
I need to communicate between server/client. I saw that CORBA is used for different
Share
RMI and CORBA are technologies for distributed objects. You then invoke methods on a remote object the same way as on a local object.
Sure, you can send and receive bytes if you implement methods that do so (e.g.
void sendChunk(byte[] data)). But I wouldn’t consider them appropriate for streaming. Also for streaming, you should pick something to address the quality of service of the stream — which RMI or CORBA definitively don’t do. For that I would maybe have a look at UDP sockets, or something like that, which just drops packets if the channel is saturated.