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

need help on rmi server implementation

 
kamal kant
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have made my rmi server by extending unicastremoteobject. is there any other way exist to the same. above mentioned way of implementing server will be accepted by sun or not. i am in doubt. any comments are greatly appreciated.
 
Aron J. Skantz
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kamal
It is possible to create a RMI server without extending UnicastRemoteObject. However, UnicastRemoteObject hides most of the details of making an object available to clients. So if you choose not to extend it you still have to use its static methods to export and unexport the implementing object.
The most common way is to extend.
Regards,
Aron
 
kamal kant
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for reply aron.
my strategy will work or not (extending unicastremoteobject).
i want to listen from someone else that he is also doing the same means he is also extending unicastremoteobject for rmi server. accrding to specs this strategy will do all the jobs provided by son . so i think it is ok. it is my request to those people who had passed scjd please told me what to do. actully i don't need to start from low level because what are the requirements of assignment i had can be easily completed by that high level server. for example i don't need to maintain a log or i don't need to identify locking or unlocking thread etc etc.
i can do both the jobs booking and searching very conveniently without going too deep. any comments are greatly appreciated.
please help me.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic