This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 12761
    
    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: 24183
    
  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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Vector as return type in a CORBA idl function
 
Similar Threads
Problem compiling IDL in JBuilder 9
Custom Objects in Java to IDL
Problem compiling IDL in JBuilder 9
CORBA, C++, Java Basic Examples
Help Needed CORBA conversion from WAS to JBoss