Java to Erlang messages

前端 未结 3 502
别那么骄傲
别那么骄傲 2021-01-12 10:40

I\'m making a application in Erlang, with a GUI in Java. I\'ve managed to establish a connection between the to languages, but now i need to (i guess) send a message from Ja

3条回答
  •  遥遥无期
    2021-01-12 11:32

    Besides classic Java-Erlang communication via OTP jinterface you can research such methods like:

     - thrift
     - ice from zeroC (no official erlang binding)
     - maybe two http servers on both sides (I like this approach) 
     - protocol buffers (rather not, it is better for larger data transfers)
    

    You need to learn the shape of your traffic and choose the best solution. Jinterface is not so bad, tho.. (here is official doc: http://www.erlang.org/doc/apps/jinterface/jinterface_users_guide.html)

提交回复
热议问题