Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I passed 145

 
Reshma Das
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After a long fight with SUN i final got my scores.
Grade: P
Score: 145
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): 52 Documentation(maximum = 20): 20 GUI(maximum = 24): 20 Server(maximum = 53): 53
 
Greg Georges
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats Reshma! Well the long wait finally paid off.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well it's about time
Congrats Reshma, well done. Can you explain the parts of your server that allowed you to get 53/53 points. I think that section is split into three parts.
locking (30)
error handling (8)
search algorithm: clarity and efficiency (15)
and maybe some comments on why you think your general considerations might have been marked lower, especially since your other marks were all perfect. What did you have in your GUI?
This can help us all out, in our considerations in design.
Thanks
Mark
 
Reshma Das
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mark iam very busy with my project work. pls send me ur personal id , i will mail to u.
hold on if i get time during week ends i will mail my design. sorry for that.
 
Sri Addanki
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats Reshma!!!
Can u please post here.....
 
Burk Hufnagel
Ranch Hand
Posts: 814
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations Reshma!
I'm with Mark. I would also like to know more about your server design. It's always good to learn from folks who score highly, and you can't get better than perfect.
Would you mind posting whatever you send to Mark here as well? Please?
Thanks in advance,
Burk
 
Reshma Das
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Server:
i gave a small GUI for starting/ stopping server. Once start button is presses it contacts a RemoteServerManager which creates an instance of RemoteServerImpl. This Impl class will in turn create an instance of RemoteDataExtension.
RemoteDataExtension extends DataExtension which in turn extends Data. DataExtension will provide implementation of searchcriteria and other methods needed in both modes.
lock, unlock will be placed in RemoteDataExtension. I wont lock records for local client. locking was done in server.
When server shuts down it will issue a lock(-1).

Client:
My client will call a helper class which depending on modes(local/remote) which decides the class (DataExtension->local or RemoteServerImpl ->remote) to be contected with.
I will display the mode in status bar.
My search critiria can hold any no of combinations. I can add any no. of criteria without affecting my search criteria code. it will simply work.
My gui was once screen GUI. i had 3 panels
panel 1 i had drop downs for search criteria.
panel 2 jtable
panel 3 ticket reservation components.
I think what ever flow i did was good.
I had extra generic class for Error handling(Logger.java). Then Util.java for displaying alert and other generic stuff. i had a properites file for setting properties and logging mode. A class to read data from properties file. [ i guess these was too much for a small project like fbn . i might have lost points for these extra stuff. i explained why i did that ]
My directory structure was under scjd\starting i had build, docs, etc, lib, suncertify[ client, db, interfaces, server,util].
My documentation was good i briefed everything i did including the reason for using import a.b.c; instead of a.b.*; I gave simple class diagram.
locking :
i used in-memory array for storing data.(might have lost points for this too) when clients updates any record it gets updated in 2 places. so that when a new client comes we can serve him quickly.
moreover i will lock the records only after ensuring i have enough seats to be booked avoiding expensing synch operations.
i guess i didnt miss anything. pls feel free to tell me the mistakes i made.
- Reshma
 
Reshma Das
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i guess mine was very simple. i just completed the project in 1 full month.
 
girishgowda
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Reshma Das:
i guess mine was very simple. i just completed the project in 1 full month.

hi reshma, how did u handled the lock/unlock, did u used a clientId for locking and unlocking.If so were the client use to send the clientid to server all the times for locking and unlocking ?
 
Reshma Das
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
lock was done by server. client has nothing to do with locking. they will send the flight to be book. server will find the recNum and lock the flight.
I didnt pass any clientId.
 
Reshma Das
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mark,
I was so busy that i forgot to thank u. u helped me the most. This site was very useful for me.
 
Kalichar Rangantittu
Ranch Hand
Posts: 240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good show Reshma...sorry was a bit busy..havent posted for sometime now...
 
Rajesh Matti
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Reshma - Job well done!. I liked the way you shut down the server using lock(-1). Good luck.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic