• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Passed 147/155

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry, a correction to above. I meant to say
DID NOT track client id in lock/unlock
 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you clarify what sort of design patterns did you use?
Thanx.
Ban
 
ShankarS
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 guess I've been abducted by space aliens. So unprofessional. They tried to probe me with this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic