This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Originally posted by long lingyu: I use the rmic to generate the stub for remote interface,but there are error. Can I change the DBAccess interface from SUN?
Hi Long, Its not advisable to change the given interface. But you can try to implement a new interface which extends DBAccess and use it. Or you can create a new interface which has only business methods that are required by client, then use it in RMI. And depending on the design, there are many ways to do this. Good Luck
Joined: Feb 15, 2004
Should I create a new interface extending from remote,but not extend from DBAccess?