You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Wiström, Magnus <Ma...@consignit.se> on 2005/12/14 11:00:16 UTC

MINA J2EE and MINA

Hi,
 
I'm need to implement socket tcp/ip communication from a J2EE application (using JBoss). They prefered way of doing this from a J2EE container is (as I have understood it) to implement a Java Connector solution.
 
Question 1: Could I ( and should I) implement a Java Connector solution using MINA? Or is there another preferd way of doing this?
 
Question 2: The protocol we are using is very simple and the traffic load is not high. Is it overkill to us MINA? I'm considering doing the socket implementation my self.
 
Thanks for your reply.
 
Magnus

Re: MINA J2EE and MINA

Posted by Trustin Lee <tr...@gmail.com>.
Hi Magnus,

2005/12/14, Wiström, Magnus <Ma...@consignit.se>:
>
> I'm need to implement socket tcp/ip communication from a J2EE application
> (using JBoss). They prefered way of doing this from a J2EE container is (as
> I have understood it) to implement a Java Connector solution.


So you're using JCA.

Question 1: Could I ( and should I) implement a Java Connector solution
> using MINA? Or is there another preferd way of doing this?
>

MINA will fit perfectly to your use case IMHO.  You can also use just plain
sockets, but I think using MINA will be better for the maintainability of
your application.

Question 2: The protocol we are using is very simple and the traffic load is
> not high. Is it overkill to us MINA? I'm considering doing the socket
> implementation my self.
>

It's not overkill at all for you to use MINA.  MINA is designed to fit both
with simplistic and with complex protocols.  If you found it is not, please
let us know.  We're always open for criticism. :)

HTH,
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/