aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes 3 tier architecture advice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "3 tier architecture advice" Watch "3 tier architecture advice" New topic
Author

3 tier architecture advice

Fabio Piergentili
Ranch Hand

Joined: Sep 04, 2009
Posts: 57
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

Joined: Jul 26, 2007
Posts: 10451
    
    8

Fabio,
You might want to check out Java Preferences


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Fabio Piergentili
Ranch Hand

Joined: Sep 04, 2009
Posts: 57
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 3 tier architecture advice