• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

CORBA Doubt

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
i am new to CORBA and was practising an example .i got a error when i was compling the server.java .the code is as follows
import test.*;
import org.omg.CosNaming.*;
import org.omg.CORBA.*;
public class Server
{
public static void main (String[] args) throws Exception
{
org.omg.CORBA.ORB orb=org.omg.CORBA.ORB.init();
org.omg.CORBA.BOA boa=orb.BOA_init();
test.Hello h1=new test._example_Hello("server");
boa.obj_is_ready(h1);
System.out.println("Server object ready");
boa.impl_is_ready();
}
}
when i am compiling the java file using Visigneic broker it is giving the error-Cannot resolve the symbol ,method BOA_init() and the location it is pointing to is the dot operatot in orb.BOA_init();
Could any one please tell me what is wrong in this .
Thanks in advance
Lakshmi
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
generally the vbjc accepts only POA. So if u wanna use BOA u r supposed to use the tag -boa in IDL 2 java/c++ compliation. hope this mat solve ur problem.
suria
 
get schwifty. tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic