Steps To integrate 1. Configure "ContextLoaderListener" in the web.xml file to read the spring configuration file... org.springframework.web.context.ContextLoaderListener By default "ContextLoaderListener" takes the spring configuration file name as "applicationContext.xml", If the spring configuration file name is different then we need configure it using "contextConfigLocation" property. 2. To inject service -> Bean (Student), Let's configure "DelegatingVariableResolver" in the "faces-config.xml". Note : 1. Here we are giving JSF Bean entry in the " faces-config.xml" file and service class entry in the "applicationContext.xml". 2. We need to inject Service -> Bean so let's configure it in t he "facesconfig.xml" using service #{service} is similar to in Spring. "DelegatingVariableResolver" will resolve spring configuration file entries in the JSF configuration file... --FacesContexttAndWithOutCLL 2nd Approach : FacesContext Steps To integrate 1. Configure "ContextLoaderListener" in the web.xml file to read the spring configuration file... org.springframework.web.context.ContextLoaderListener By default "ContextLoaderListener" takes the spring configuration file name as
51 NARESH I Technologies, Opp.Satyam Theatre,Ameerpet,Hyd. Ph Nos : 23746666 23734842, Email:[email protected], www.nareshit.comĀ
Thank you for interesting in our services. We are a non-profit group that run this website to share documents. We need your help to maintenance this website.