Hi Sebastien,
Remoting is the greatest thing since sliced worms. No question about it.
Seriously, though, when you say "RMI", are you referring to Java RMI or generic
"remote method invocation"? Actually, Remoting offers both, in the sense that
there is an "RMI" transport that uses Java RMI and a "socket"
transport that implements the usual "old i/o" structure of an acceptor thread
and multiple worker threads. The latter is the default transport for EJB3s. You can
certainly use hundreds of worker threads. Your mileage may vary as to when the
performance starts leveling off. You might want to try some simple experiments to see how
invocations with Remoting compare to your MINA based system. If you get some interesting
results, please let us know.
Of course, one advantage to using Remoting is that when something goes wrong, you have
someone else to blame. :-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4155518#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...