[erlang-questions] Calling Java from Erlang

Anthony Molinaro <>
Mon Jan 9 18:53:43 CET 2012

There are many, many options.  Most likely you'd want to roll your own
based around thrift, protobuf, messagepack or some other interchange
format that allows you to easily pass values between erlang and java.

Some of these provide RPC mechanisms (thrift and messagepack), some
do not (protobuf).  I would guess that thrift might be a good choice
as it has bindings for all the languages you list as well as a dozen
or so more.  It's also an Apache project so the license is compatible
with most business needs.


Good luck,


On Mon, Jan 09, 2012 at 11:44:35AM -0600, ilya goberman wrote:
> Hello,We are a market data API vendor. We have APIs to consume market data in Java, .Net, and C++. One of the clients indicated interest in using our API from Erlang.So I would like to find out if it is possible to interface with any of these language APIs from Erlang.
> I looked briefly at jinterface, but it appears to be designed to make calls from Java to Erlang, but not in the other directions.I have found a post http://www.javalimit.com/2010/06/a-java-api-for-erjang.html for the Erlang-java calls, but it does not seem to be a finished product.
> What is the best bet to accomplish the integration?
> Any advice is appreciated.Thanks

> _______________________________________________
> erlang-questions mailing list
> http://erlang.org/mailman/listinfo/erlang-questions

Anthony Molinaro                           <>

More information about the erlang-questions mailing list