Hi,
I've just generated a new Seam web project in Eclipse with the latest JBoss Tools
installed. In the layout of the project folders there are two versions of perisistence.xml
as well as datasource (MyProject-ds.xml) files.
1. persistence.xmllocated in src/model/META-INF and src/META-INF
When the application is deployed only the first one is put into the war, specifically into
/WEB-INF/classes/META-INF folder.
What is the point in second src/META-INF/persistence.xml?
2. MyProject-ds.xml located in resources/ and src/model/META-INF
The first one goes sibling with .war file (or directory) to the root dir of the deploy
dir, the second goes into /WEB-INF/classes/META-INF, and apparently is ignored by
JBossAS.
What is the point of src/model/META-INF/MyProject-ds.xml?
Is it somehow related to the differences between development/production/testing versions?
Thanks,
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107450#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...