You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by da...@davidkarlsen.com on 2009/09/22 14:58:00 UTC

mina suitable for all kinds of transports?

Hi.

I'm looking into refurbishing a homebrew communication server.
In practice it's:
*supporting several transports, TCP, SNA, MQ, whatever
*protocol converter on top of that, e.g. for example send in propitary 
format A over transport T1, convert it to format B and send it over 
transport T2. The protocols are entirely propietary

I'm looking into MINA to provide the backbones/framework of a 
refactoring/rewrite/cleanup/whatever, and it looks promising, however, 
mina looks quite Scoket (tcp/udp) centric - at least for 1.x?

have anybody used mina for other transports, and how suitable is it for 
that?

>From http://mina.apache.org/mina-based-application-architecture.html it 
looks quite general - but this might be for 2.0, which isnt in a final 
release yet (are there any roadmaps or estimates on release dates?)


--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com
Sent from my bog-standard SMTP client

Re: mina suitable for all kinds of transports?

Posted by Julien Vermillard <jv...@archean.fr>.
Le Wed, 23 Sep 2009 09:01:50 +0200,
Emmanuel Lecharny <el...@apache.org> a écrit :

> david@davidkarlsen.com wrote:
> >
> > Hi.
> >
> > I'm looking into refurbishing a homebrew communication server.
> > In practice it's:
> > *supporting several transports, TCP, SNA, MQ, whatever
> > *protocol converter on top of that, e.g. for example send in
> > propitary format A over transport T1, convert it to format B and
> > send it over transport T2. The protocols are entirely propietary
> >
> > I'm looking into MINA to provide the backbones/framework of a 
> > refactoring/rewrite/cleanup/whatever, and it looks promising,
> > however, mina looks quite Scoket (tcp/udp) centric - at least for
> > 1.x?
> >
> > have anybody used mina for other transports, and how suitable is it 
> > for that?
> Well, as you said, it's pretty much TCP/UDP oriented (if you except
> the serial part). That does not mean you can't plug your own
> transport, but that would be a consequent effort, IMO.
> 
> What about SNA over TCP, etc ?
> 
> Julien, as you wrote the serial part, can you tell more about how 
> complex is it to plug a transport under MINA ?
> 

Implementing a new tansport is not really complex, if it's polling
based it's even easier because you can extend all the abstract Polling*
classes.
Julien

Re: mina suitable for all kinds of transports?

Posted by Emmanuel Lecharny <el...@apache.org>.
david@davidkarlsen.com wrote:
>
> Hi.
>
> I'm looking into refurbishing a homebrew communication server.
> In practice it's:
> *supporting several transports, TCP, SNA, MQ, whatever
> *protocol converter on top of that, e.g. for example send in propitary 
> format A over transport T1, convert it to format B and send it over 
> transport T2. The protocols are entirely propietary
>
> I'm looking into MINA to provide the backbones/framework of a 
> refactoring/rewrite/cleanup/whatever, and it looks promising, however, 
> mina looks quite Scoket (tcp/udp) centric - at least for 1.x?
>
> have anybody used mina for other transports, and how suitable is it 
> for that?
Well, as you said, it's pretty much TCP/UDP oriented (if you except the 
serial part). That does not mean you can't plug your own transport, but 
that would be a consequent effort, IMO.

What about SNA over TCP, etc ?

Julien, as you wrote the serial part, can you tell more about how 
complex is it to plug a transport under MINA ?

-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org