ive been looking foward to this moment for some time! it really does feel good when you pass, dont give up!. Score 152 The maximum possible # of points is 155; the minimum to pass is 124. General Considerations(maximum = 58): 58 Documentation(maximum = 20): 20 GUI(maximum = 24): 23 Server(maximum = 53): 51 1.RMI 2.altered lock sig to pass a "client id" back 3.made sure i stuck to javasoft coding conventions 4.design choice document - about 5 pages, well structured 5.locks timed out after 10 seconds (client must have crashed) 6.just let the user type airport code in - no listbox 7.user could change between remote/local db on the fly 8.some basic validation - like no numbers allowed A big thanks to everyone on Javaranch. see you in the SCEA forum! Cheers Joe SCJP SCJD
Conratulations on your good score. Can you clarify my few doubts 1- Data class first constructor does not throw IOException on giving wrong/no database file.Why? 2- Did you use Dynamic downloading ? if yes can you guide me on that. TIA
Conratulations!!! your good score. Can u guide me in.. how did u handled error( and/or exception). Did u modified DatabaseException class to handle more properly exceptions? Totally how many java files did u made for client(gui client) ? (As i just made 4 files for suncertify.client package ). did u used any specific pattern ? I would appriciate your answer on these ... thanks in advance. devu
Joined: Mar 29, 2001
Hi thanks, Niharika: 1. All my Data class methods threw DatabaseException only. 2. No i did not use dynamic downloading. Both server and client jars contained the stubs and skeletons Deva I did not modify DatabaseException. All exceptions were handled in the Client class. Yeah I had about 4 Client package files. I used MVC with the JTable and extended AbstractTable. I also used Adapter pattern, Factory Method patter elsewhere in my project. Hope This Helps, Joe
Joined: Jun 21, 2001
Joy, Thankx for reply. All the Best for future. regards devu
great job , Joe! can you elaborate just a bit on your guidelines? 2.altered lock sig to pass a "client id" back And 5.locks timed out after 10 seconds (client must have crashed) Does this mean your client performs locking explicitely?
6.just let the user type airport code in - no listbox Does this mean that your search form consists only of 3 text boxes?
Joined: Sep 18, 2001
Thanks for your reply.All the best for future.
Joined: Mar 29, 2001
Hi, When the lock() method is called in the server, it passes a string back to the client. The client must show the string to the server when unlocking, this it to prove the client owns the lock. I have a timertask checking to see if any of my lock objects are older than 10seconds, if they are they are removed. I had 2 text boxes for the search box, origin and destination. Hope this helps Cheers Joe
2. No i did not use dynamic downloading. Both server and client jars contained the stubs and skeletons
hi, congratualtion on your good score i understand that you would have stub and skeletons on the server side,but why do we have the stub and skeletons classes in client.jar.Is it because of the local access of the data file .could you clarify this. thanks, kanwal
[This message has been edited by harcharan kanwal (edited October 02, 2001).] [This message has been edited by harcharan kanwal (edited October 02, 2001).]
joe <h2>Congratulations</H2> And Welcome to the Club ------------------ Mahindrakar IBM Application Server & Developer Forum Moderator Consultant - Zensar Technologies ,Pune India. SCJP2, SCJD2 & SCJEA (Part I)