If, for any reason, you couldn't port your APP to Mina 2 (that's the safest
choice), you can always  use different classloaders for the  applications
 (similar to the OSGI suggestion).



2011/9/6 Chris Gamache <cgama...@gmail.com>

> 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 <elecha...@apache.org
> >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