On 1/26/12 9:39 AM, Alexander Christian wrote:
On Thu, 26 Jan 2012 09:12:59 +0100, Emmanuel Lecharny wrote:
On 1/26/12 4:02 AM, Chad Beaulac wrote:
Punt on Java 6 and just goto Java 7 with Mina 3?

That could be an option, but I'm afraid that Java 6 will be around
for a few years before Java 7 become the main version in use.

I'd rather think about a solution that detect which Java version is
in use, and if it's Java 7, then allow AIO to be used.

Wouldn't it be possible to provide the AIO Support as a additional library (for mina 2.x)?

I'm a bit reluctant to make any big change in MINA 2. The code base is really crippled, and changing anything may make the whole stuff to crawl down...

I mean: NIO is provided with the NioSocketAcceptor etc. and is included in the mina lib. Why not create AioSocketAcceptor-class stuff and provide it as a separate library, which has to be used with mina 2.x.

So mina can be compiled with java6 sdk and the Aio-Addon-Lib with java7?!
We have to check what could be the impact of such a modification on the current code base (MINA 3). I'd like MINA 3 to be usable on Java 6 and Java 7. Not sure it's an option though...


--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Reply via email to