sahoo007tm (2) [Avatar] Offline
#1
In section 3.3.2 of the book, its
@Remote
public interface BidderAccountCreator implements Remote {
void addLoginInfo(LoginInfo loginInfo);
void addBiographicalInfo(BiographicalInfo biographicalInfo);
void addBillingInfo(BillingInfo billingInfo);
void cancelAccountCreation();
void createAccount();
}


implements should be extends.

Other question I have is all the business method in such scenario should throw RemoteException?

If yes then that should also be corrected in this interface.
reza_rahman (456) [Avatar] Offline
#2
Re: 3.3.2 Remote interface implementation
Good catch. Indeed, we don't really need to have the remote exception declarations as of EJB 3.0.