The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

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.