aspose file tools*
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 Java 8 in Action this week in the Java 8 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: 12682
    
    5
Use an array - there are very convenient methods in the Collections API for converting efficiently between array and List implementations.

Bill


Java Resources at www.wbrogden.com
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

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: 24168
    
  30

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
Custom Objects in Java to IDL
Help Needed CORBA conversion from WAS to JBoss
CORBA, C++, Java Basic Examples
Problem compiling IDL in JBuilder 9
Problem compiling IDL in JBuilder 9