• 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 with 147/155

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I just got my results from sun.
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): 17 GUI(maximum = 24): 23 Server(maximum = 53): 49
I want to thank all of you for the wonderful posts and especially Mark and Peter, who gave me some great ideas.
Thanks, guys.
By the way, I took my written exam on 3/28 and i was surprised to get the results so soon (2 weeks).
When submitting the assignment I moved some images into another directory to decrease the jar file size and i forgot to update the links in the documentation. I guess that's why they took 3 points out.
But the most important things is that i learned a lot of new stuff and of course the fact that i passed the exam.
regards
Roddy
SCJD
 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats.
will u explain how did u got full score in general consideration and GUI ?
 
ranger
Posts: 17346
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats Roddy. Well done.
Mark
 
Roddy Georgieva
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Reshma,
I am not sure from where to start, but I'll do my best to explain what i did. so,
- each of my components have clearly defined responsibilities.
- i moved the application logic (booking and search criteria generation) into another class, called DataFacade, which uses the facade pattern, thus creating a thin layer between the gui and the data client. I tried to follow the mvc model.
- i implemented the data client following the instructions. i provided two constructors (for local and remote mode), as required, though the factory pattern would be a better solution.
- i modified the data class. i used linear algorithm for the criteriaFind method and used StringTokenizer to parse the criteria string. I wrote another method that returns all values in a column.
- i implemented the record locking in a LockManager class and left the lock and unlock methods in Data class empty (they are not needed in local mode).
- i provided additional locking for the db.db file.
- i used rmi and i applied the factory pattern to it (thanks to Mark and Peter)
- my RemoteData implements the Unreferenced interface and takes care of unlocked records, when its client dies.
the gui has two jcomboboxes where the airports are listed alphabetically. the search result is displayed in a jtable. i played a little bit more with the table and allowed the user to sort flights by each column.
The user enters the number of seats in a JTextField, to which i attached a listener who was checking for valid user inputs.
i allowed to user to change the connection mode, too. I used the GridBagLayout manager.
I think this explains most of the things i did.
regards
roddy
 
Roddy Georgieva
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Mark.
 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi there,
I have huge problems with criteriafind.
Any ideas to help me out ?
thanks
 
Aaaaaand ... we're on the march. Stylin. Get with it tiny ad.
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic