GeeCON Prague 2014*
The moose likes Distributed Java and the fly likes CORBA, C++, Java Basic Examples Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Distributed Java
Bookmark "CORBA, C++, Java Basic Examples" Watch "CORBA, C++, Java Basic Examples" New topic
Author

CORBA, C++, Java Basic Examples

Robin Davies
Ranch Hand

Joined: Dec 26, 2003
Posts: 64
Hello,
Can anyone tell me a site on the web which shows source code examples, with the above 3 technologies??


BSc, MSc
Chris Shepherd
Ranch Hand

Joined: Jun 27, 2000
Posts: 286
google
Robin Davies
Ranch Hand

Joined: Dec 26, 2003
Posts: 64
I can find java and corba.
But not java, corba, c++!
any suggestions other than search engines. Im looking for a site!
Chris Shepherd
Ranch Hand

Joined: Jun 27, 2000
Posts: 286
Maybe you could look at some standard examples of coding such as the hello world programs that just about every language uses as a basic example. It's not much, but its something. Why do you need direct comparisons? You could just buy 3 books and read them simultaneously. Or at least read the matching chapters on the basics(looping,variables,compiling,etc). That should give you enough of the basics to determine which to use/learn/implement for whatever you are trying to do(what are you trying to do?). The likely hood that anyone has compared all 3 in one place as you have found is slim to none.
Chris
Robin Davies
Ranch Hand

Joined: Dec 26, 2003
Posts: 64
I am trying to use CORBA to integrate C++ with Java!
Chris Shepherd
Ranch Hand

Joined: Jun 27, 2000
Posts: 286
Oooh, My apologies, I thought you were trying to compare the three for some reason.... I'm sorry, I don't know CORBA or C++ well enough to help you on that. Maybe someone else here could. Any chance you could use JNI, or are you trying to use java inside a C++ program?
Sorry I can't help more,
Chris
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Originally posted by Robin Davies:
I am trying to use CORBA to integrate C++ with Java!

When you're writing the Java part, C++ is irrelevant; when you're writing the C++ part, Java is irrelevant. That's the whole point of CORBA -- it's language-independent. So basically, you have to learn two things: writing CORBA code in C++, and writing CORBA code in Java. The resulting programs will automatically interoperate (as long as they use the same IDL file to define the interfaces, of course.)


[Jess in Action][AskingGoodQuestions]
 
GeeCON Prague 2014
 
subject: CORBA, C++, Java Basic Examples