You will have to create a file whose name ends with -ds.xml and place it in the %JBOSS_HOME%\server\< serverName>\deploy folder. The %JBOSS_HOME%\docs\examples\jca folder has some -ds.xml files (including one for SQLServer) which you can use for reference. Also, remember to place the driver jar file in %JBOSS_HOME%\server\< serverName>\lib folder.