[jboss-user] [Snowdrop] - Re: Newbie question about Spring integration

Marius Bogoevici do-not-reply at jboss.com
Tue Jul 19 09:56:02 EDT 2011

Marius Bogoevici [http://community.jboss.org/people/marius.bogoevici] created the discussion

"Re: Newbie question about Spring integration"

To view the discussion, visit: http://community.jboss.org/message/616131#616131

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 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110719/ff9a6d1c/attachment.html 

More information about the jboss-user mailing list