This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
multiple top-level environments (one per ServletContext)
- To: kawa at sources dot redhat dot com
- Subject: multiple top-level environments (one per ServletContext)
- From: brlewis at alum dot mit dot edu
- Date: Tue, 27 Mar 2001 10:01:50 -0500
I'm looking into separate top-level environments for different
ServletContexts, and wanted to clarify things.
Per wrote back in November:
>First, you may not realize that using separate top-level environments
>requires using separate threads - and specifically Futures. Rather,
>you can have as many environments as you like - but the "current"
>environment is found by Environment.getCurrent(), which checks if the
>current thread is a Future.
This is the way it will continue to be? Code to use Futures
won't become unnecessary at some point?
>Secondly, there are a number of knowm problems with the implementation
>of environments. I think fixing these problems is very urgent. I
>don't know for sure which one specifically is biting you.
Are some of these fixed in the CVS version?
--
Bruce R. Lewis http://brl.sourceforge.net/