This week's book giveaway is in the Object Relational Mapping forum. We're giving away four copies of Pro JPA 2: Mastering the Java Persistence API and have Mike Keith and Merrick Schincariol on-line! See this thread for details.
After 33 days of my essay-exam, It was 00:30 here and I just had a look at certmanager scraper,
found a new line … scjd is passed . It took months of reading, writing, designing, testing and
burning midnight oil.
My scorecard says General Con: 100 92
Documentation: 70 70
OOD: 30 30
GUI: 40 33
Locking: 80 80
Data Store: 40 40
Network Server: 40 40
Total: 400 385
I am thankful to all those for inspiration, guidance and support, to name a few
Andrew for the book
Cathy and Bert for giving the start
Roberto for his data locking test case
Roel for his submission jar test case and Ant script
Tsang and many other ranchers for excellent stuffs in Javaranch
The story starts with downloading the sun’s interface and cramming Andrew’s book. Initially I gone for
a prototype and later did 3 levels of major enhancements to it. Every time I felt application is improving.
I choose for a 3-tier architecture (Presentation-Business-Data) and used patterns Façade, Adapter,
Singleton, Value Object, Observable and factory.
A basic outline of my attempt
Data class
My Interfaces are used to cover up RMI
File reading is dynamic
Reused deleted record numbers
Treated a row as record, hasn’t gone much for a room object
GUI
Used menus, tooltips, message dialogs, status bar
Search in two modes (Name-Location & Any Filed)
Validation on TextFields after entry
Used customized table model
Network
I preferred RMI
Generated stubs just to be on safer side
Used a remote and local interfaces
Others
Have a business service
Client knows only business-exceptions
Haven’t gone after the 48 hours rule
I have used Eclipse, Junit, Checkstyle, Sun doc check, Ant and Visual source safe (I don’t have a cvs )
Probably I lost points in general consideration due to the reason that, my design choices was big, 800 lines and I added a class diagram. Another reason might be because I messed up somewhere with coding standards
as well .
GUI section loss of points might be due to a toggling visibility search panel, for two search modes.
or because of an Observable for listening to gui updates.
Thanks Roel and all,
If Observable doesn't prove costly, then another fault might be
I have made a fancy about-box using JEditorPane and setting content-type to "text/html"