Finally is just a method, if an exception occurs in finally block the program will terminate. So, U just put a try - catch block inside the finally block. Are explicit...
Finally is like any other block or method , but this will be executed untill and unless your JVM is shutdown if an exception occurs in finally blcok and if u dont catch it program will terminate.
For RMI you can find in Appendix of Matering EJB , here is the link http://www.theserverside.com/tt/books/wiley/masteringEJB/downloads/MasteringEJB3rdEd.pdfand comming to servlets basics you can find ...
Thanks for ur reply Mr.Pramod Reddy can u suggest a few refernce books which will be simlpe in language about the RMI and Servletsthankyouregards savitha