Hello Morten,
welcome to the forum.
To define connection pools you need to add the driver and the datasource definition to the standalone.xml or domain.xml (depend on the mode you use).
See the description here.
Feel free to ask if you have still questions.