A very good set of documentation on this subject can be found here. (thanks to Zentrix for this URL.)