This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum 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
Register / Login


JavaRanch » Java Forums » Java » Distributed Java
Reply 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: 12325
    
    1
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: 4967

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 ]

Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24081
    
  15

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