Anton Golovin (anton.golovin@gmail.com) SCJP, SCJD, SCBCD, SCWCD, OCEJWSD, SCEA/OCMJEA [JEE certs from Sun/Oracle]
Anton Golovin (anton.golovin@gmail.com) SCJP, SCJD, SCBCD, SCWCD, OCEJWSD, SCEA/OCMJEA [JEE certs from Sun/Oracle]
SCJP 1.4, SCJD
Originally posted by Jashua Ni:
Mike:
Like I said before, you are pushing the business function back to server. I don't see that for client server, server should not know about business rules at all.
SCJP 1.4, SCJD
SCJP 1.4, SCJD
SCJP 1.4, SCJD
What exactly are you proposing to do with the caught RemoteException?
Presumably the user needs to know,
and XException may not be meaningful as a wrapper for it.
No Exception may even be thrown by that X interface method.
As I see it RemoteXWrapper has no responsibility to do view related stuff like notify user,
but maybe this is the only way to do it.
Originally posted by Marlene Miller:
The examples are simpler if I allow the RemoteException to go all the way to the user of m(). This is the simplest way I could think of if I want to hide the RemoteException.
What do you think?
[ August 18, 2004: Message edited by: Marlene Miller ]
SCJP 1.4, SCJD
SCJP 1.4, SCJD
Originally posted by Marlene Miller:
Hi Mike. You�ve raised a good question. Why have a remote interface?
Here are two mechanical RMI reasons we must create an interface that implements Remote...
SCJP 1.4, SCJD
Does the interface ContractorAccess implement Remote?
Originally posted by Marcus Beale:
I believe that the logic of your decision to split the B Interface, means you should have B inherit from RemoteB
Does not the basic rule of inheritence mean that B is everything RemoteB is.
So B should really describe a Remote object with some extras.
SCJP 1.4, SCJD
The program must be able to work in a non-networked mode. In this mode, the database and GUI must run in the same VM and must perform no networking, must not use loopback networking, and must not involve the serialization of any objects when communicating between the GUI and database elements.
No�l
I'm so happy! And I wish to make this tiny ad happy too:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|