(The "dev" list is probably more appropriate for this discussion.)
Here's the background:
http://www.seamframework.org/Documentation/WhatIsBeansxmlAndWhyDoINeedIt
I'd go ahead and call Fediz' files spring-config.xml to fix the
immediate problem, as the name of the file doesn't have to be the same
across all examples. For Spring-derived servlets (I'm not sure if we're
using any), the defaults of spring-servlet.xml or applicationContext.xml
(http://stackoverflow.com/questions/3652090/difference-between-applicationcontext-and-spring-servlet-xml-in-spring)
might be better in certain cases as it could require less web.xml
configuration.
As for the other samples, I'm not sure they can be deployed anyway in a
JEE6 server, as relatively few of them are WAR-based, they're mostly
standalone apps. But I can update the few that are deployed as WARs if
desired.
Glen
On 06/06/2012 08:02 AM, Oliver Wulff wrote:
Hi all
Romain made me aware of that the examples in fediz are not compliant with the
CDI spec which means you can't deploy the samples in a JEE6 server.
The resource location WEB-INF/beans.xml is used by CDI.
I've scanned our CXF examples and figured out 53 cases where WEB-INF/beans.xml
is used.
IMHO, we should change it.
What do you think about the following proposal: WEB-INF/spring-config.xml?
Thanks
Oli
------
Oliver Wulff
Blog: http://owulff.blogspot.com<http://owulff.blogspot.com/>
Solution Architect
http://coders.talend.com
<http://coders.talend.com>Talend Application Integration Division
http://www.talend.com
--
Glen Mazza
Talend Community Coders
coders.talend.com
blog: www.jroller.com/gmazza