It's not a secret anymore!
The moose likes Java in General and the fly likes API Design Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "API Design " Watch "API Design " New topic

API Design

Srinivasa Raghavan
Ranch Hand

Joined: Sep 28, 2004
Posts: 1228
Hi all,
I have some set of classes these classes are to be accessed from a remote machine, Can any one suggest a design for this.
What is preferable either RMI or CORBA ?
Are there any links for this ?


Thanks & regards, Srini
MCP, SCJP-1.4, NCFM (Financial Markets), Oracle 9i - SQL ( 1Z0-007 ), ITIL Certified
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
If the access is to be direct from other Java apps, RMI sounds logical.
CORBA gives more flexibility as you can call the classes from non-Java apps as well but at the expense of more expensive infrastructure and more coding effort.
EJB is another option, but has the same disadvantages as CORBA.

I agree. Here's the link:
subject: API Design
It's not a secret anymore!