Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UnicastRemoteObject versus Activatable

 
Ian McGarry
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am starting to look at the network section of my assignment (B&S) and have decided to choose RMI as my connection protocol.

One of the first questions I am facing is whether to extend my RMI Server from UnicastRemoteObject or Activatable. I�ve read that Activatable is more efficient as it will only instantiate remote objects as needed. Yet from what I gather most people go with the UnicastRemoteObject. I know that I will probably have very few remote objects (maybe even one) but none the less why don�t people use Activatable in the assignment? Is it a lot more difficult to implement? Does it break the dynamic class downloading requirement?

It would be good to know the pros and cons if I get asked a question on it in the written exam�.

Cheers,
Ian
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic