How to communicate java and erlang
From Erlang Community
(Difference between revisions)
| Revision as of 09:58, 16 January 2009 (edit) Thil (Talk | contribs) (werl) ← Previous diff |
Revision as of 09:59, 16 January 2009 (edit) (undo) Thil (Talk | contribs) Next diff → |
||
| Line 15: | Line 15: | ||
| First we create a Erlang node. In windows you can create a erlang node by using the command | First we create a Erlang node. In windows you can create a erlang node by using the command | ||
| <pre> | <pre> | ||
| - | + | werl -sname enode -setcookie erlang | |
| </pre> | </pre> | ||
| - | For | + | For Linux |
| <pre> | <pre> | ||
| - | + | erl -sname enode -setcookie erlang | |
| </pre> | </pre> | ||
Revision as of 09:59, 16 January 2009
Contents |
Author
Thilani Abeysinghe <a.thilani at gmail.com>
Overview
The purpose of this tutorial is to illustrate how to use jinterface for communicating with an Erlang backend
The reader is also encouraged to read the mailing list question.It's about 'Strategies to connect from Java' Refer Erlang Manual for more details on jinterface
Introduction
This tutorial demonstrates how to communicate with an Erlang process (node) using a Java program For this example I have used java 1.5.0_07 and Erlang OTP12B distribution.
Erlang Backend
First we create a Erlang node. In windows you can create a erlang node by using the command
werl -sname enode -setcookie erlang
For Linux
erl -sname enode -setcookie erlang

Digg It
Del.icio.us
Reddit
Facebook
Stumble Upon
Technorati

