JBoss Community

Re: Newbie question about Spring integration

created by Marius Bogoevici in Snowdrop - View the full discussion

Hi Robert,

 

Thanks for using AS6 and sorry for missing this question.

 

You're not doing the Spring integration incorrectly, but due to the way the JSF integration works, it's relatively hard (if not impossible) to use the deployer (which adds the JSF API+implementation classes at the WAR level) and use shared JSF utility classes (which load in the global classloader).

 

You have a few options:

1. disable the deployer *and* share the JSF API+Implementation classes globally (as Ales says)

2. Keep the current structure and include only the Spring JSF classes in your deployment (not shared)

3. Use your own JSF implementation bundled in the WAR as shown here: http://docs.jboss.org/jbossas/6/JSF_Guide/en-US/html/jsf.deployer.config.html#bundling.jsf.with.war

Reply to this message by going to Community

Start a new discussion in Snowdrop at Community