• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF + Spring integration

 
mo sayed
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm looking for a simple example for integrating Spring with JSF.
I'd appreciate any pointers to any resources that provide this.
Thanks in advance.

regards,
Mo
 
Daniel Amadei
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

You can find it in the Spring Docs.

You just declare a Spring's Custom Variable Resolver and is able to inject Spring beans into JFS Managed Beans directly.

[]s
Daniel
 
mo sayed
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Daniel,
Thanks for that.
Have you tried this?
If so was it straight forward or difficult?
kinf regards,
mo
 
Daniel Amadei
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Very, very very easy ;)

I had no problems to integrate both technologies and this support from Spring allows you to reduce the amount of code needed in your backing beans.

Daniel
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!