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

Is Remote interface always necessary?

 
Tales Tonini
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, folks!

While studing jGuru's RMI tutorial at 'Transport Layer' section, I got this statement which I still can't understand after having finished the tutorial:

"Some other changes with the Java 2 SDK are that RMI service interfaces are not required to extend from java.rmi.Remote and their service methods do not necessarily throw RemoteException."

Since I need a Remote object to bind with Naming class, how could I make some object remote without making it implement Remote? Is there another way to use RMI over JRMP and not implement Remote?

RMI begginer, I thank everyone's attention in advance,
Tales
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic