Roel De Nijs wrote:I read the schema section, my good friend and SCJD guru Roberto Perillo hardcoded the field metadata and we both passed.
Cheers, Roberto Perillo
SCJP, SCWCD, SCJD, SCBCD
Roberto Perillo wrote:Well, you are still the one who got 400/400, champion!
Hieu Lam wrote:Is my current code violate that rule because my standalone code use impl class which depends on RemoteException and UnicastRemoteObject ?
Cheers, Roberto Perillo
SCJP, SCWCD, SCJD, SCBCD
Roberto Perillo wrote:
Actually, you shouldn't need UnicastRemoteObject in standalone mode. How exactly do you instantiate your business object in standalone mode? If you simply instantiate it without using UnicastRemoteObject to export it, then it's ok.
Cheers, Roberto Perillo
SCJP, SCWCD, SCJD, SCBCD
Hieu Lam wrote:the code still depends on RemoteException, and UniCastRemoteObject.
Roel De Nijs wrote:
My remote business service implementation does not have a dependency on UniCastRemoteObject, like Roberto already indicated. You can use its exportObject method instead of extending.
Hieu Lam wrote:Still one concern, to expose the remote service with RMI, I extends UnicastRemoteObject, however I see there's other way to achieve this. So which one is correct and is that the different between RMI versions ???
Cheers, Roberto Perillo
SCJP, SCWCD, SCJD, SCBCD
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |