Navigate the Maze of the End-User Experience and pick up this APM Essential guide, brought to you in partnership with CA Technologies.
The Spring IoC can
be used to initialize web service implementation classes in CXF.xml.
This also means that Soring beans initialized using beanfactory or
applicationcontext are also available in CXF configuration.
datasource or DAO bean initialized by the regulaar spring configuration
can be injected into the CXF implementation classes. By CXF
implementation class, I mean the SOAP or REST based web service
Here is an example of how to initialize the DAO and then inject that DAO bean to the web service class using the CXF.xml
- - - - - - - - - -
- - - - - - - - -
<bean class="com.company.app.SampleDAO" id="sampleDAO">
<ref bean="sampleDAO" />
<bean class="com.company.app.SampleService" id="sampleWebService">
Thrive in the application economy with an APM model that is strategic. Be E.P.I.C. with CA APM. Brought to you in partnership with CA Technologies.