• Post Reply Bookmark Topic Watch Topic
  • New Topic

CORBA: C-client and Java Server  RSS feed

 
Alexandr Shvedov
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!
I am writing an application where there is a Java Server and C client (have to connect to server). I am not very good at CORBA. Can you recommend me some sample code or articles to read?
As far as I understand to use CORBA you need ORB. J2SE has already had ORB, and what about C, where can I get ORB for it?
Thank you!
 
Peter Chase
Ranch Hand
Posts: 1970
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you need an ORB for your C code. Is it really restricted to C, or can you use C++?

I use OmniORB. It's free and pretty fair. There's also TAO ORB. Google for these. There are lots of commercial ones, too, which I know little of.

Writing CORBA code in C++ is pretty difficult, and even worse in C. Memory management, in particular, is horrendous. Java is much easier, because GC deals with many of the memory management and lifecycle issues.

If you are not an experienced C/C++ programmer, you will have a great deal of trouble. Frankly, if you *are* an experienced one, you'll still have plenty.

At least you are doing it the easy way around. You are writing the client in C++ and the server in Java. That's not so bad.

Get a good book and/or go on a decent course - that's my advice.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!