Understood. Unfortunately, it's not my application using Mina 1. There's a
nice guide at http://mina.apache.org/changes-between-2x-and-1x.html. I'll
see how far I can get porting someone else's application. Any other tips
would be most welcome!


On Tue, Sep 6, 2011 at 5:26 PM, Emmanuel Lécharny <[email protected]>wrote:

> On 9/6/11 10:56 PM, Chris Gamache wrote:
>
>> Thanks for the response. The services built on Mina specifically lack that
>> kind of heavy framework. My exposure to OSGi is limited. Could you explain
>> in more detail how OSGi would help here?
>>
> It was more or less ironic.
>
> Sadly, there is no simple way to make MINA 1 and 2 loaded on the same JVM,
> unless you make the whole project a bundle. That mean you will have to
> integrate an OSGi container in your application. OSGi offers the big
> advantage to have a specific class loader which insolate each bundle from
> the others, allowing you to use two bundles depending on two different sets
> of jars.
>
> Not that it's a complex task, but frankly, you'd better migrate your MINA 1
> application to use MINA 2.
>
>
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>
>

Reply via email to