This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 63b52b19e486c9f04b71d1d17f9f9980d3fcdfa0
tree bb4914fe5893b41a8b6ffede51175355456a3a19
parent d70f8d270fe9560f2f9ed52487a2c14675d131af
tree bb4914fe5893b41a8b6ffede51175355456a3a19
parent d70f8d270fe9560f2f9ed52487a2c14675d131af
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sat Nov 22 13:30:16 -0800 2008 | |
| |
Readme.markdown | Sat Nov 22 13:18:22 -0800 2008 | |
| |
clustering_jruby.patch | Sat Nov 22 11:53:00 -0800 2008 | |
| |
examples/ | Sat Nov 22 11:21:54 -0800 2008 | |
| |
jmaglev/ | Sat Nov 22 11:21:54 -0800 2008 | |
| |
pom.xml | Sat Nov 22 11:21:54 -0800 2008 | |
| |
src/ | Sat Nov 22 11:21:54 -0800 2008 |
Readme.markdown
Step-by-step to run the JMaglev demo
Pull from github:
git clone git://github.com/fabiokung/clustered-jruby.gitLong time waiting, because terracotta-2.7.1 (vanilla) and jruby-complete (patched) are bundled.
Change to the project directory:
cd clustered-jrubyBuild it:
(althoughmvn installmvn packageis enough)Change to the jmaglev demo directory:
cd jmaglevStart the terracotta server:
lib/terracotta-2.7.1/bin/start-tc-server.shOpen another two terminals
Run the simplified jirb inside them:
cd clustered-jruby/jmaglev ./bin/jmaglev jmaglev.rbFollow the demo. You will be able to share global variables among all jmaglevs:
require 'hat' $hat require 'rabbit' $hat.put(Rabbit.new)in the other terminal, try to see the magic hat contents:
$hat







