Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

"Dead simple" example of Ruby (w/ Sinatra) on frontend, Java on backend, talking thru ActiveMQ, with little help of memcached

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.txt
Simple demo of Java on the backend, Ruby w/ Sinatra framework on the frontend, communicating asynchronously through ActiveMQ, and a little help from memcached. It may have some references name to atomkeep.com, as partial code was from there.

Assuming you have ActiveMQ download and installed in /usr/local/activemq:

# sudo /usr/local/activemq/bin/activemq &
# sudo port install memcached libmemcached
# memcached -d -l 127.0.0.1 -p 17898 -m 256 -P /tmp/memcached.pid

# sudo gem install sinatra
# sudo gem install memcache-client

# ./c.sh
# ./r.sh
....

# ruby app.rb
...
Something went wrong with that request. Please try again.