There is no essentiell difference in settinge up informix for a local or a remote database server.
In $JBOSS_HOME/docs/examples/jca you can find informix-service.xml.
Copy a modified version to deploy-dir.
You have to replace
- myhost.mydomain.com with the name or IP of the Database server
- 1557 with the correct port used by the informix instance on database server
- mydb with the name of the database
- myserver with the correct name from informix-file sqlhosts