Vishal Kaushal wrote:
Can MINA be deployed as an Inbound Resource Adapter (JCA 1.5) within a J2EE container?
I have a great idea! Why don't you post your question a fourth time;
you might get lucky. ;)
Or better yet, just try it. It seems to me that MINA is pretty
flexible, both in terms of its lifecycle, and the variety of protocols
and application state machines it will support.
As for whether the app server will let the number of threads usable by a
Resource Adapter be completely unrelated to the number of requests... If
it won't, you won't be able to do anything asynchronous with MINA or any
other async IO framework.
I'd be surprised if this kind of constraint were hardwired into EE 5,
considering the sharp turn towards sanity the whole thing has taken in
the last year or two.
-0xe1a