This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

multiple top-level environments (one per ServletContext)


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]