• Post Reply Bookmark Topic Watch Topic
  • New Topic

CORBA Client and threading

 
John Ryan
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I have a multi-threaded Java application which acts as both a CORBA client and server. As a client there are multiple threads which can invoke methods on the server and each of these threads share a single object reference to the object on the server which carries out the necessary processing.

I'm wondering if there are any issues (performance, thread safety or others) with having multiple threads sharing the same object reference?

Thanks for your help,
John
 
Edward Harned
Ranch Hand
Posts: 291
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
None that I know of.

We do this all the time. A reference is just a reference. You may pass it around to any client. You may even pass it to another rmi server. We do that too.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!