This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes Help needed with JSF-Spring in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Help needed with JSF-Spring in eclipse" Watch "Help needed with JSF-Spring in eclipse" New topic
Author

Help needed with JSF-Spring in eclipse

deshki raja
Greenhorn

Joined: Apr 03, 2009
Posts: 12
Hi,
I want to make a JSF-Spring Application in Eclipse....What are the jars I need....? What are the steps to be followed ? I have been trying it for sometime..but some how or other its not working out...can anyone help me on this ?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15951
    
  19

Eclipse has nothing to do with it.

Here's a snippet of my Maven POM for a Spring-based JSF project:


Some of these items are optional. For example, unless you're using JPA (and it's a good thing to use), you can omit spring-jpa. The first one is definitely required, the next 2 probably, after that I'm not sure. I added them as I needed them.

You also need to have this in your faces-config.xml file so that the spring beans can be seen (and injected) by the JSF EL processor:



The part that counts is the DelegatingVariableResolver. The others are mostly just good practice.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
wood burning stoves
 
subject: Help needed with JSF-Spring in eclipse
 
Similar Threads
JSF with Spring MVC
Spring vs JSF
J2ee Spring project
Eclipse IDE
Integration of Spring And JSF