This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
EJB In Action Page 88: Remote business methods are not required to throw RemoteException unless the business interface extends java.rmi.Remote interface.
a) What is the reason behind this compulsion?
Consider the following code
Here BidManagerBeanRemote extends Remote interface. Since it also extends BidManagerBeanInterface, It inherits its methods which are not marked to throw RemoteException. Is this situation violating the above stated law? The code ran perfectly fine , while invoking addBid() and getBids(). Further the bean implementation class did not throw RemoteException.