• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java Corba ?

 
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am confused about a few things with how the idlj works with corba.

Question 1)
When I compile my module called Test.idl with idlj I get 6 java files
I am just confused about what goes with what.
I have for instance
Test.java
TestOperations.java
TestPOA.java
_TestStub.java
TestHelper.java
TestHolder.java

Ok so here is my understanding TestOperations is the interface that defineds all the functions given in the Test.idl.
Test.java is just an interface that extends TestOperations and adds nothing else could have used just TestOperations.
TestPOA correct me if I am wrong is used for the serverside corba call this is where you extend this abstract class and code the functions that are to be called by the clientside.



Ok if I am correct so far then great. Here is my trouble area...
_TestStub.java looks like this is the clientside class that calls the serverside class.
TestHelper.java and TestHolder.java seem just to be the classes used by _TestStub.java to write/read the object over the network.


Question 2)
If my understanding is correct then here is my main problem.
I have a big corba project that the serverside was written in C/C++ using idl but the clientside uses java idlj. I am adding on to some of the clientside code as well as creating standalone class's that use the serverside functions but I cann't get it to work. I keep getting an runtime error saying this


I am trying to invoke the functions by creating a new _TestStub in my main method and calling _TestStub functions is this not the correct way of calling a corba function?
What does the delgate not set mean and how do I correct that.

Thanks for any help.
 
Of course, I found a very beautiful couch. Definitely. And this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic