• Post Reply Bookmark Topic Watch Topic
  • New Topic

Single rmi invocation for String[] or multiple invocations for each String.  RSS feed

 
Rahul Rathore
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am designing a chat-server in RMI. I keep a message queue of Strings which I need to pass to a remote object. Should I make a single rmi invocation and pass entire queue as String[] or should I make separate invocation for each String. Which is more efficient? Please help
 
Saibaskar Parthasarathy
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
u can send an array of string across, it is not a problem, better use a vector class to store the messages which will be more efficient than a string array.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!