Reputation: 273582
For a distributed computing project starting today, with 0 legacy components, are there any good reasons to look into CORBA?
Upvotes: 87
Views: 24601
Reputation: 408
No. Do not use corba. (Answer from the future - 2021)
If someone happens to read this very old question, he might think that corba is alive. Legacy applications that where built around year 2000 - 2005 sometimes still have corba.
Companies spend a lot of money to get rid of corba for several reasons.
- The IOR contains internal IP, so you may need to configure it to use FQDN, or add iptables, or some routing/proxy solution.
- Sometimes the app starts on a different port each time, so you will need to limit the port
REST api is a much better solution for now-days. It is very common, works over http, https which is simpler to migrate to the cloud, practically every BE developer knows it. You can use REST from any language, there are frameworks that make it easy to use.
See also this stack-overflow discussion
Upvotes: 4
Reputation: 131
One thing that no one has mentioned here is OPEN, OPEN STANDARDS. Of all the technologies that exist (excepting SOAP) it is the only true open white paper standard. The standard is not reliant on any one organisations technologies. RMI (Sun/Oracle), DCOM (now defuncted - Microsoft). It is completely Vendor and Language neutral. Excepting SOAP, none of the other DOS (Distributed Object Technology) technologies are
I'm a software architect and regularly having to make the choice as which DOS should be used in a system design. If it weren't for the religious war I face each time, it would either be a MOM or CORBA.
Look at it this way, if it were that dead, none of the 3/4G networks would work. 3GPP is totally CORBA specified. The European Satellite System is all CORBA specified. Ask yourselves why? It's because they must be based on Vendor and Language neutral architectures!
Upvotes: 13
Reputation: 55907
I'd say that the current level of maturity of Web Services (including REST) and in the Java world EJBs (which may even use CORBA under the covers) cover what is needed for distributed enterprise systems.
I'd advise that one aspect that you should look at carefully is the degree of asynchronous interaction that you need in your distributed system. I postulate that any distributed system of a non-trivial scale needs asynchronous communications, and the infrastructure chosen should support asynch processing, typically that means queues.
That's not inconsistent with the use of WebServices (or indeed CORBA) but it does point up an aspect of your product selection that can get overlooked in the initial excitment of getting some distributed processing going
Upvotes: 9
Reputation: 718886
There are still situations where CORBA could be a good answer:
But having said that, there are alternatives that do what CORBA does, only better ... or so they claim. For example ZeroC's ICE
EDIT @fnieto chimes in to say (or imply) that ICE is not free, but TAO is.
This is inaccurate and misleading.
The down-side of ICE is lack of interoperability with CORBA middleware stacks, but in my experience interoperability of different CORBA implementations could also be problematic. (Things may have improved in that area ... but I haven't done any CORBA work since ~2002, so I'm a bit out of touch.)
Upvotes: 49
Reputation: 10928
Obviously it depends on the type of server and interprocess communication you are considering. And I think Stephen C and Chris Cleeland cover the Corba's positives very well.
Our application has used CORBA (Orbix) for over 10 years so is legacy now. And for how it is written CORBA is a good technology. However if I was starting over I would probably not use CORBA:
Now depending on the type of communication I wanted I would probably consider:
This is based more on finding staff and expertise, 3rd party support and leveraging open source libraries then the technical quality of CORBA, which I use everyday and is strong if a little cumbersome.
Upvotes: 16
Reputation: 4900
From the existing answers, this gets into almost a religious topic. One can look at CORBA the same way as the half-empty/half-full glass: on one hand, CORBA is dated legacy cruft, and on the other hand it's relatively stable with several implementations available and the "devil you know".
In my line of work, I see CORBA deployed in embedded systems, real-time systems (CORBA has RT extensions), and the like. There aren't many alternatives AFAIK.
Another "advantage" of CORBA is the availability of several high-quality open source implementations, e.g., TAO, MICO, JacORB, etc., with differing licensing and support models. There are also still commercial editions available.
With regard to "most" CORBA apps being implemented in Java--that's not the case in my experience. While the language mapping for CORBA to Java is one of the nicest there is (which may not be saying much), Java already has a very nice distributed computing model that offers richness beyond CORBA, and all-Java apps use that more than CORBA. The vast majority of CORBA development I've seen is in C++ (which is also the worst language mapping).
Finally, CORBA offers standardized asynchronous client-side invocations in the form of AMI, but never offered asynchronous handling on the server side. TAO offers a non-standard server-side implementation called AMH.
Upvotes: 35
Reputation: 485
I believe that Corba was sort of revived by original EJB spec, as EJB's can be easily turned into CORBA beans by a bit of configuration. I suspect that most Corba deployments were actually implemented in Java.
As to the popularity, I think that there might be some high end deployments remaining for a number of decades but for the majority of people Corba is dead.
There are a whole lot of very sexy ways to do the same stuff (excepting the high end mentioned above).
But of course your Milage May Vary.
Upvotes: 21
Reputation: 403501
CORBA is certainly old fashioned, but it also provides certain high-level functions out of the box (see here). This functionality could all be done using modern web services, but probably not in a standard fashion, and not without a great deal of extra work.
For 99% of distributed services, though, CORBA is undesirable. It's ugly, complex and hard to use.
Upvotes: 14