This example tries to replicate the functionality of the "teiid's quick start example" from http://www.jboss.org/teiid/quickstart

Take look at the above link and see the usecase, try to set up your data sources. Note that the directions from above may be very 
specific to using a JBoss AS, however with this example the details about the JBoss AS will be omitted. 