[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Remoting - Client Asynchronous Calls
genman
do-not-reply at jboss.com
Tue Oct 24 00:19:18 EDT 2006
Having reviewed what you wrote and the remoting API, I don't quite understand why additional methods are necessary.
"2. Synchronous raw send" - In general, I find APIs that use byte[] sort of cumbersome. Its brother "send(byte [], int off, int len)" is better, but still ugly. I would avoid that sort of thing. Using actual objects is better. I mean, if you really want to optimize things, have your objects implement Externalizable. I don't see how "instanceof" and a cast would be slow.
"4. asynchSend" - I can't see how this is different than "invokeOneWay" I guess you say that, but still suggest adding it?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980249#3980249
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980249
More information about the jboss-dev-forums
mailing list