File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Spring in jsf Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Spring in jsf" Watch "Spring in jsf" New topic
Author

Spring in jsf

ahmet temiz
Greenhorn

Joined: Apr 09, 2010
Posts: 10
Hello
I want to use spring in jsf
Is there any tutorial you can recommend.
I have no experience on sPring

Regards

Ahmet Temiz
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15964
    
  19

I don't know of any tutorials myself, since I've been doing this so long I forgot where I learned it.

For the most part, adding Spring to a JSF program is pretty simple. You have to add a Spring EL resolver to the faces-config.xml file in order for the Managed Beans and View Definitions to be able to reference the Spring Beans in EL, but other than that, it's essentially the same as a non-JSF Spring webapp setup. Note that some Spring webapps may require adding 1 or 2 spring support libraries to your webapp server for annotation/instrumentation support, though. That's a Spring issue, not a JSF issue.

My JSF web.xml contains the following Spring definitions:


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring in jsf
 
Similar Threads
What Is the Next Marketable Technology To Learn
Spring vs JSF
need advice please help----Recession???
JSF + Spring
JSF, strange form action generated