Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • 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

Design questions

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've just started desiging my application for the SCJD assignment. I have following issues/questions, could someone help me please...?
1. Which design pattern(s) should we use ? or do we need to use one?
2. The assignment says 'Code should be easily maintainable, does that mean the GUI should be flexible to accomodate future changes? In that case do need an extra layer on top of Swing ? eg. our own framework?
3. How can u manage to handle remote vs. local DB without duplicating yr code? As assignment says "in case of local DB, NO NETWORK functions should be performed. I'm planning to use RMI.
Thanks in advance for any help.
Cheers,
Dewang
 
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Using design Patterns - Absolutely. I am using Command,Adaptor, Factory
2. GUI should be flexible to accomodate new changes. I don't think you have to build a full framework though.
3. Local vs Remote is accomplished by using Design Patterns. I am sure that if you copy your code you will fail automatically.
 
Thank you my well lotioned goddess! Here, have my favorite tiny ad!
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic