Java and Erlang are not mutually exclusive, they complement each other. I personally have learned to embrace both because very few complex business problems can be modeled exclusively from an object oriented or functional paradigm. The solutions to these problems can be sequential or concurrent. Jinterface can cleanly divide (and conquer) a system into parts suitable for Java and parts suitable for Erlang.Read Integrating Java and Erlang Editor's Note: Dennis will also be presenting the following session at TSSJS 2008 this March -- Concurrent Programming with Java and Erlang
-
Article: Integrating Java and Erlang (9 messages)
- Posted by: Nitin Bharti
- Posted on: January 07 2008 22:36 EST
The world of enterprise software development has a new face: Erlang. Erlang is a functional programming language with native constructs for concurrency and reliability. In this article, Dennis Byrne provides an introduction to the Erlang programming language and Jinterface, an open source component of Ericsson's Open Telecom Platform. Jinterface gives us the ability to integrate Java and Erlang.Threaded Messages (9)
- Re: Article: Integrating Java and Erlang by Amin Abbaspour on January 08 2008 02:05 EST
- Re: Article: Integrating Java and Erlang by Kit Davies on January 08 2008 04:57 EST
- Erlang RPC protocol by Alex Besogonov on January 08 2008 10:45 EST
- Erlang by Tom Eugelink on January 09 2008 05:26 EST
- Re: Erlang by Amin Abbaspour on January 11 2008 07:47 EST
- Re: Article: Integrating Java and Erlang by Kouao Philippe on January 08 2008 09:59 EST
- Re: Article: Integrating Java and Erlang by john walton on January 09 2008 09:56 EST
- Re: Article: Integrating Java and Erlang by James Watson on January 11 2008 12:17 EST
- Re: Article: Integrating Java and Erlang by Mike Spiridonov on January 22 2008 18:23 EST
-
Re: Article: Integrating Java and Erlang[ Go to top ]
- Posted by: Amin Abbaspour
- Posted on: January 08 2008 02:05 EST
- in response to Nitin Bharti
Great work! Java world really lacks such an articles. -
Re: Article: Integrating Java and Erlang[ Go to top ]
- Posted by: Kit Davies
- Posted on: January 08 2008 04:57 EST
- in response to Nitin Bharti
That's very interesting. Does anyone know if the Erlang RPC protocol is publicly available? You would think there would be value in that, to create a market for integrating with Erlang servers. Kit -
Erlang RPC protocol[ Go to top ]
- Posted by: Alex Besogonov
- Posted on: January 08 2008 10:45 EST
- in response to Kit Davies
Yes, Erlang RPC protocol is open. In fact, the whole Erlang interpreter is open :) You can look at the source yourself. -
Erlang[ Go to top ]
- Posted by: Tom Eugelink
- Posted on: January 09 2008 05:26 EST
- in response to Kit Davies
This may be beside the point since it focuses on Erlang, but anyhow... I remember the days when it was considered smart coding to try and work as much logic into a single line of code as possible. Especially C with it pointers allowed for great hacks. One of my collegue students was very adept in this and there was no way I would explain to him the concept of readability. Now, I fully understand that a new language needs some getting used to, but I'm not charmed by the incredible compact notation that Erlang has. Cobol proved that writing in "regular" English is not practical, but writing with just symbols is the other side of the equation. IMHO there is some kind of standarisation happening in the syntax used by programming languages; like {} for blocks, ; for line terminators, [] for lists, | to stream data, etc. Why people keep thinking they know better symbols to use, keeps eluding me. Why is {} better for a list than []? Why is . better than ;? And the compile optimisation for recursion really got me baffeld: in order to apply a endless loop we do a compiler optimisation? rrrrrright. Anyhow, personally I would have chosen something like this for the loop code: loop() { forever { receive() | [From, [First, Second]]; [mathserver, First + Second] | From; } } Well, I'm just rambling. -
Re: Erlang[ Go to top ]
- Posted by: Amin Abbaspour
- Posted on: January 11 2008 07:47 EST
- in response to Tom Eugelink
Tom, Your comments clearly show you don't have even a minimal understanding of neither Erlang nor any other functional language. You simply don't know what a great thing tail-recursion (as a basis of lambda calculus) is. I would even recommend tail-recursion to be added to Java compiler, since it really improves functional programming habit. You don't even know when we use '.' or ';' in Erlang. My advice: get back and read a bit about this (new!) language. Also, if I was in your shoes, I wouldn't have called Prof.Armstrong 'people'. -
Re: Article: Integrating Java and Erlang[ Go to top ]
- Posted by: Kouao Philippe
- Posted on: January 08 2008 09:59 EST
- in response to Nitin Bharti
Very instructive article in fact. Thanks for the links. -
Re: Article: Integrating Java and Erlang[ Go to top ]
- Posted by: john walton
- Posted on: January 09 2008 09:56 EST
- in response to Nitin Bharti
Although not java but if anyone is looking for .net and erlang integration can found it on the following url. http://weblogs.asp.net/nleghari/archive/2008/01/08/integrating-net-and-erlang-using-otp-net.aspx -
Re: Article: Integrating Java and Erlang[ Go to top ]
- Posted by: James Watson
- Posted on: January 11 2008 12:17 EST
- in response to Nitin Bharti
I'm a little late in asking this, but does this mean that something like Yaws could be adapted to be a Servlet container or address the same basic needs? -
Re: Article: Integrating Java and Erlang[ Go to top ]
- Posted by: Mike Spiridonov
- Posted on: January 22 2008 18:23 EST
- in response to James Watson
http://erlyweb.orgErlyWeb is a component-oriented web development framework that simplifies the creation of web applications in Erlang according to the tried-and-true MVC pattern. ErlyWeb's goal is to let web developers enjoy all the benefits of Erlang/OTP while creating web applications with simplicity, productivity and fun. ErlyWeb is designed to work with Yaws, a high-performance Erlang web server. For more information on Yaws, visit http://yaws.hyber.org.