Matt, If you only need a servlet container, you can use jetty or tomcat and use whatever thread model you like. But if your MINA app must run inside a full-blown J2EE server like WebSphere then you probably need to use the WorkManager as Peter suggested.
On 5/22/07, peter royal <[EMAIL PROTECTED]> wrote:
On May 21, 2007, at 7:07 AM, Matt Mehalso wrote: > Has anyone had any success using Mina within a WebContainer, such as > WebSphere? Is there any way to configure Mina to run in a single > thread, or > to integrate the framework with a WorkManager (container-managed > thread > pool)? using the constructors that take an Executor, you can then have control over threads because MINA will provide Runnable's to the Executor. Just make an Executor implementation that delegates into your WebSphere WorkManager -pete -- [EMAIL PROTECTED] - http://fotap.org/~osi
