• Post Reply Bookmark Topic Watch Topic
  • New Topic

API Design  RSS feed

 
Srinivasa Raghavan
Ranch Hand
Posts: 1228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?

Srini
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!