aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Passed 147/155 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Passed 147/155" Watch "Passed 147/155" New topic
Author

Passed 147/155

shale zaidi
Greenhorn

Joined: Jul 30, 2001
Posts: 5
Grade: P
Score: 147
Comment: This report shows the total points that could have been awarded in each section and the actual number of points you were awarded. This is provided to give you per-section feedback on your strengths. 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): 18 Server(maximum = 53): 51
Here's a summary:
Did track client id in lock/unlock
did not use any policy file,provided all required classes in client.jar
had 4 packages, database, server, client,ui
Used rmi
Used AbstractTableModel
Used textfields to enter airport code.
As you can see I used the "path of least resistence" as advocated by someone on this group. and it works, one of the traits of a good developer is not to over engineer :-).
I would like to thank everyone on this group for all the help, I did'nt post any questions, but with all the knowledge here, I didn't need to. thanks again...
shale zaidi
Greenhorn

Joined: Jul 30, 2001
Posts: 5
sorry, a correction to above. I meant to say
DID NOT track client id in lock/unlock
ShankarS
Greenhorn

Joined: Jul 29, 2001
Posts: 25
Hi,
Congrats, I have a couple of questions for you.
(1) Did u have any lock time out (maximum time that a lock can be held by a client)
(2) Say, If I request for lock, I may want to have time out while requesting th elock itself. Di du implement it?
(3) How you filled the values for the origin & destination combobox
Thanx in adavance,
All the Best for SCEAJ,
Shankar S
shale zaidi
Greenhorn

Joined: Jul 30, 2001
Posts: 5
thanks!!
1. No i did not have any lock timeouts, it was a simple wait() on the lock and notify when unlocking. the assignment did not ask for it, and I don't think you will get or lose anything for it.
2. I used text boxes to enter airport codes, I justified it in my design as follows:
if the number of unique origin and destinations grows to a large number (say >20), combo boxes will be difficult to work with.
/sm
Andras Nemeth
Ranch Hand

Joined: Jul 31, 2001
Posts: 80
Could you clarify what sort of design patterns did you use?
Thanx.
Ban
ShankarS
Greenhorn

Joined: Jul 29, 2001
Posts: 25
Hi,
Thanx a lot for your reply.
I am facing a problem while testing the server with simulating concurrent clients to generate load in the server.
I have no problem, when i tested with 15 concurrent clients. When, increased the numver of clients to 20, I started getting ConnectEception for some clients.
Is there any way/restruction for the rmi registry thats it can serve only a
specific number of connections. Or, the problem is in the OS level?
Did u try testing the server application in this way?
Again, Thanx in advance,
Shankar S
shale zaidi
Greenhorn

Joined: Jul 30, 2001
Posts: 5
The only significant one is singleton, in the client, so the GUI can obtain only one instance of client class...
client.getSingleInstance(dbname)//for local
client.getSingleInstance(server,port)//for remote
shale zaidi
Greenhorn

Joined: Jul 30, 2001
Posts: 5
Shankar,
frankly, I don't think your application needs to be production ready!!!. I doubt if anyone is going to test 15 concurrent connections....don't kill yourself doing this :-) If it works for 2-3, you will be fine
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Passed 147/155