GeeCON Prague 2014*
The moose likes Distributed Java and the fly likes Vector as return type in a CORBA idl function Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Vector as return type in a CORBA idl function" Watch "Vector as return type in a CORBA idl function" New topic
Author

Vector as return type in a CORBA idl function

sri rallapalli
Ranch Hand

Joined: Mar 15, 2005
Posts: 88
Hi,
I am new to CORBA, I am writing idl files, one place i was writing a function, which is returning a Vector, it is giving error. what can i use instead of Vector?
regards,
Sri.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12792
    
    5
Use an array - there are very convenient methods in the Collections API for converting efficiently between array and List implementations.

Bill
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

The other day, I asked my boss for a raise. She said I didn't need arrays; she said I could use vectors instead.

-Cameron McKenzie
[ June 01, 2007: Message edited by: Cameron W. McKenzie ]
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Originally posted by Cameron W. McKenzie:
The other day, I asked my boss for a raise. She said I didn't need arrays; she said I could use vectors instead.


Ba-dum KISH!


[Jess in Action][AskingGoodQuestions]
 
GeeCON Prague 2014
 
subject: Vector as return type in a CORBA idl function