I’m currently using the glassfish gem (0.9.1) with jruby (1.1.6) to host
rails application. I’m wondering if there is a recommended/supported
having a singleton shared among multiple jruby runtimes. It appears
each of the runtimes has its own child class loader (which makes sense)
just naively requiring the jar file causes each runtime to have it’s own
instance. Is there an easy way that I can get my singleton class loaded
into the parent class loader before the runtimes get created?