On Fri, May 2, 2008 at 2:42 PM, Christian Seiler <[EMAIL PROTECTED]> wrote:

> Yes, but right now I happily and simply instantiate this shared stuff in
> Rails plugins. I think I wouldn't like to mess around with classloaders.
> It
> would be really an annoyance to me.


If shared jars are in your WEB-INF/lib you won't have any problems as they
are loaded by application context classloader, which should (?) be common
parent for all JRuby classloaders.

Just instantiate shared classes and put in some context shared by runtimes,
such as ServletContext.

-- 
Fabio Kung
http://www.fabiokung.com

Reply via email to