-
Notifications
You must be signed in to change notification settings - Fork 0
alx242/erljavacall
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ERL to JAVA CALL ================ WIP! Very crude at the moment...fixing this stuff up soon soooooon... BTW This might even be broken atm...*SOOOOORRY* Connect erlang towards java. COPYRIGHT AND LICENSE ===================== This software was written by me, Alexander Schüssler <alex at xalx dot net>. Copyright (c) 2014 Alexander Schüssler <alex at xalx dot net>. All rights reserved. Redistribution and use in source and binary forms are permitted provided that the above copyright notice and this paragraph are duplicated in all such forms and that any documentation, advertising materials, and other materials related to such distribution and use acknowledge that the software was developed by the <organization>. The name of the <organization> may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. This is distributed under the GNU Lesser GPL. See LICENSE for the license terms. DESCRIPTION =========== Allows calls from erlang using message passing towards a specific java class/service... Building: $> javac -classpath ".:/usr/lib/erlang/lib/jinterface-1.5.8/priv/OtpErlang.jar:/usr/local/lib/erlang/lib/jinterface-1.4.2/priv/OtpErlang.jar" ErlCallNode.java Example of launcher: ErlCallNode foo@server service erlang Remember that the cookie needs to be shared between the nodes, example: erl -sname bar@server -setcookie cookie_name or erlang:set_cookie('cookie_name'). within a shell This should now be possible if everything is well: $> net:ping('foo@server') pong Send a message to this server: {'mailbox_name', 'foo@server'} ! {self(), Command, Args}
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published