• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

CORBA Client and threading

 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 291
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic