Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

3 tier architecture advice

 
Fabio Piergentili
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using java swing / tomcat / mysql in a 3 tier architecture. I am looking for some guidance on how to handle persistence on tables. I want to be able to set default table widths,order and save changes made to the widths and order on a per user basis. Are their any example open source projects someone can recommend as a starting point. I am using ant as a build tool and like to stay clear of IDE's.

Thank You.
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Fabio,
You might want to check out Java Preferences
 
Fabio Piergentili
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have looked into the preferences API. I am thinking that it might be advantages to store the preferences in the Database tier instead of on the local file system/ computer. This way they are available for a given user on various computers. Is it possible to point the storage to a database instead of the ( hidden files ( Linux ) , Registry (Wiindows) ....etc ). Is this common practice or am I heading in a bad direction and making things more complicated then they need to be?

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic