This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help needed with JSF-Spring in eclipse

 
deshki raja
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic