Q

DCOM vs. EJB

What are the pros and cons between Distributed COM and EJB?
Although I'm not that familiar with DCOM, I see the big advantage of EJB over COM is the cross-platform nature of Java. DCOM is, of course, pretty exclusive to Windows. EJB todate runs on Windows, Linux and any number of Unix variants.

From my understanding of DCOM, EJB is a much richer component model. In fact, in some ways it isn't an entirely fair comparison. A more even comparison might be EJB vs. DCOM + ADO (Active Data Objects) which gives you database access + MTS (Microsoft Transaction Service, I believe). EJB includes object-relational mapping capability as well as the easy-to-use remote access through RMI and cross-machine transactional capability.

DCOM is probably cheaper for more robust implementations, although this is changing. DCOM is built in to the Microsoft Server platform. For EJB you need a vendor-provided container. Until very recently, the entry level was a $10,000 investment, but now a couple of cheap and free alternatives are available and they are quickly becoming viable deployment platforms.
This was last published in May 2001

Dig Deeper on Java Web Services

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchSoftwareQuality

SearchCloudApplications

SearchAWS

TheServerSide

SearchWinDevelopment

Close