SCJP 1.4 100%
SCJD 99.5%
Alecsandru Cocarla wrote:I just received my results today - 398/400.
Both points were lost on general considerations.
I'm really happy, and I just wanted to brag a little bit about it(although, it's true, I expected a full 400/400
)
I don't have the time right now to write details about my implementation, but I promise I'll come back with them in a day or two.
Many thanks to all those who wrote on this forum, now or in the past!
SCJP 5.0, SCJD URLyBird 1.3.3, OCMJEA 5 (SCEA) Factory Homes
SCJP, SCJD
SCJP 1.4 100%
SCJD 99.5%
In order to avoid RemoteException in my local services implementation, I chose the following design: Services interface, declaring RemoteExceptions. The LocalServices interface extends Services, but without the RemoteException. The LocalServicesImpl impements LocalServices. The RemoteServices extends both Services and java.rmi.Remote.
SCJP 1.4 100%
SCJD 99.5%
Roel De Nijs wrote:Alecsandru,
But why not just use Services for both the local and the remote interface. because an exception in the method declaration indicates that the method could throw that exception but is not a must
SCJP 1.4 100%
SCJD 99.5%
Alecsandru Cocarla wrote:
I can throw away the Services interface
Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
Roel De Nijs wrote:
I guess that you have somewhere in your code
Services services = (appMode="standalone"?getLocalClient():getRemoteClient());
or something a bit more readiblethen throwing the Services-interface would be a little bit stupid? or did you work with LocalServices and RemoteServices in your client?
Roel De Nijs wrote:
And another question: did you expose locking methods to the client? or did you just used a bookRoom and findRooms method?
Alain Dickson wrote:I have a quick question: Did allow user to search for any name and any location i.e (load all records into JTable)?
SCJP 1.4 100%
SCJD 99.5%
Alecsandru Cocarla wrote:
Of course not. Why would I have a three layer architecture then?
you don't really have a 3 tier system - you have a 2 tier system where you have logically put the business logic in the same tier as the database. You may have separated the business logic into it's own packages (which would be a good thing), but that in itself doesn't make it a 3 tier system. You could similarly have the business logic in it's own package in a thick client system (which would allow for reuse).
SCJP 1.4 100%
SCJD 99.5%
SCJP 1.4 100%
SCJD 99.5%
SCJP 5.0, SCJD, SCWCD, IBM WCS
Leandro Coutinho wrote:Amazing!!!
![]()
What was your strategy to change the jpanels? Did you use CardLayout?
SCJP 1.4 100%
SCJD 99.5%
Alecsandru Cocarla wrote:
What I did is sent them an email right after the essay exam, requesting to know if everything went all right (upload), and informing about my taking the essay exam. I don't know if sending this email helped in a faster grading...