Search code examples
springspring-mvccontrollerjsf-2.2managed-bean

spring,jsf and hibernate application : controller and managedbean approch


What is the difference beetween implementing a spring,jsf and hibernate application using managedbean and controller.

I'm working on a project using spring hibernate controller approach and i whould to integrate the jsf to handle the view part but it's unclear for me how to deal with controller and managedbean at the same time because they both happen to have nearly the same role .


Solution

  • My advice is if you want to use JSF use Java EE. If you are sticking with Spring-mvc then use Jquery etc. However checkout the following links:

    Spring 4 and JSF In

    JSF 2.2, Spring 4 and CDI