Monday, September 18, 2006

Java or C++

After ice and applet problem surfaced, I had to decide how to do the communication.

  • Do the whole ting in the coordinator itself in c++

  • Write additional code for an 'server-side proxy' to connect to the applet with usual TCP connection and with Ice protocol to to the coordinator.


Currently, I decided to take the second route because:

  • Socket programming is easier in Java, especially as the other side is also Java.

  • Serialization of objects is straightforward, thaere are no endianess issues. (ok, there are, but handled by Ice)

  • Standalone communication module is needed anyway, as coordinator will most likely be running on a firewalled machine

No comments: