1

Is there such a way to write CORBA IDL to generate stubs for a Hashmap for storing the following for example?

public static final Map<Date, Integer> map = new HashMap<Date, Integer>();
user207421
  • 305,947
  • 44
  • 307
  • 483
MSRahman
  • 79
  • 2
  • 13

1 Answers1

1

If you're in control of the server, define it in a remote interface via RMI/IIOP, implement it via PortableRemoteObject, and then use rmic -idl to generate the IDL, but note that the clients will need an ORB that supports objects-by-value. If the clients are Java just use the RMI/IIOP stubs directly and forget about the IDL altogether.

user207421
  • 305,947
  • 44
  • 307
  • 483