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
Joined: Oct 12, 2000
Posts: 26
posted
0
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
Joined: Apr 01, 2001
Posts: 5
posted
0
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.