I'd like to deploy my datasource configuration as part of the application,
packaged in an ear file.
After all the datasource should not be accesible to other applications
running on the same server.
JBoss handles this quite nicely:
1) I add my oracle-ds.xml to the top level of the ear file.
2) I add this entry in application.xml
How to do "1)" when building with Idea?