Design Pattern Advise

Hi,

I want to create an API for the GUI piece of my application to hook up to. The GUI will basically query a database and display the results, it will also be used to edit database rows. Are there any patterns that I can use for this activity so that either the front or back end technologies can change without effecting my API and so I can change or add new queries without effecting the code?

Thank you in advance.

[437 byte] By [java_swing_dudea] at [2007-11-26 20:14:56]
# 1
note to anyone about to reply: this is a [url= http://forum.java.sun.com/thread.jspa?threadID=5143308&messageID=9529733#9529733]cross-post[/url] which has already been answered:-)
georgemca at 2007-7-9 23:21:23 > top of Java-index,Other Topics,Patterns & OO Design...
# 2
117 posts and he's still cross-posting? He's lucky to get ananswer at all.
es5f2000a at 2007-7-9 23:21:23 > top of Java-index,Other Topics,Patterns & OO Design...