Win a copy of Emmy in the Key of Code this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Help needed with JSF-Spring in eclipse

Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
Saloon Keeper
Posts: 21240
Android Eclipse IDE Tomcat Server Redhat Java 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.
if you think brussel sprouts are yummy, you should try any other food. And this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!