Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I am an OCM, Java SE 6 Developer

 
Rehan Zahoor
Ranch Hand
Posts: 83
Android Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Passed 14JUN2013

Here is a brief design overview of my solution
1) Database Layer: having Data class, CleanExit class that can talk outside the package
i) String record[8] for internal working of reading and writing while String record[7] as argument and return value
ii) A cacheRecords is loaded when the database is started first time. cacheRecords has all the records in db file and is updated whenever db file is updated
2) Service Layer: Room class as data transfer object, Adapting the Data class for service layer.
i) Talks in terms of Room ISO String[]
ii) Exceptions were taken into consideration with respect to this layer
3) Network Layer: using RMI so that a given protocol + available API is used
i) Adapted Data class of service layer further with this layer requirement
ii) Implemented java.rmi.server.Unreferenced
4) GUI layer: Such interface was designed as DataEntryOperator is able to work using keyboard only
i) MVC taking initial parameters(database location etc.) with Strategy pattern for different type of initial window
ii) MVC with displaying records table with Strategy pattern for different type of Main window (Note that only controller of 1st MVC can talk to controller of 2nd MVC)


For me use of Design Patterns was relatively new, so Head First design patterns, online design patterns catalogues and this forum has been a big help
 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations!
 
Jhonson Ferndando
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations !
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic