object-sharing

Sinatra/Rails: Persisting custom class instances during app lifetime

Can I assert rails/sinatra apps are initialized only once and all requests share the same app instance? or do new requests spawn new app instances? Is it possible to instance custom classes and persist them during app lifetime without using sessions, database storages or third party services? If so, what are the implications from a thr...

How to share object between java applications?

Hi all, I have 2 separate Java Applications running at a time. (Two separate javaw.exe) I need to share an object between them while they are running. What is the simplest way to achieve this without having any permanent storage? ...