cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies" <bim2...@basistech.com>
Subject cxf-servlet versus arbitrary beans
Date Fri, 23 Nov 2007 03:30:14 GMT
Glen,

I think your explanation would be clearer if you highlighted the
difference between 

<context-param>
		<param-name>contextConfigLocation</param-name>
		<param-value>WEB-INF/beans.xml</param-value>
	</context-param>

and 

<init-param>
<param-name>config-location</param-name>
<param-value>/org/apache/cxf/systest/servlet/cxf-servlet.xml</param-valu
e>
</init-param>

I find it kind of counter-intuitive that we use two different ways of
doing this, instead of one param to specify which type of init to do,
and another param to specift the name of the bean file.

The reader shouldn't have to stare at the two web.xml files and figure
it out.

--benson
 

Mime
View raw message