Announcement Announcement Module
Collapse
No announcement yet.
Advantages and disadvantages of using JSF+Spring integration over JSF applications Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Advantages and disadvantages of using JSF+Spring integration over JSF applications

    Hi
    Can anyone help me out that what are the main benefits and problems of using spring with JSF 2 over using standalone JSF 2 applications. How the use of their integration is useful? Rather what will be the disadvantage if shifting from spring+JSF integrated applications to standalone JSF applications?
    Kindly suggest is it better to use JSF only or application with JSF and spring integration when your form data is linked to database queries and procedures (i.e having dao and service layer)?

  • #2
    It looks like you have posted your query to wrong forum. "Spring Integration" is a project in itself based on Spring framework. It is based Enterprise Integration Patterns (EIP). Your question is more related to integrating Spring Framework with JSF. So repost your query to 'Container' forum to receive better answers.
    However, referring to your question:
    - Spring definitely has features which you can incorporate in your JSF project. For example, you can use Spring Transaction to get all the transaction using configuration. Another advantage would be if you are looking for out of box functionality like auditing, logging, it can be done using Spring AOP. In order to use spring in your JSF project, you just need to add ContextConfigListener and Context config param in web.xml.
    JSF is more about views and navigation in views. This functionality is provided by Spring webflow.

    Comment


    • #3
      Originally posted by nit_mis View Post
      It looks like you have posted your query to wrong forum. "Spring Integration" is a project in itself based on Spring framework. It is based Enterprise Integration Patterns (EIP). Your question is more related to integrating Spring Framework with JSF. So repost your query to 'Container' forum to receive better answers.
      However, referring to your question:
      - Spring definitely has features which you can incorporate in your JSF project. For example, you can use Spring Transaction to get all the transaction using configuration. Another advantage would be if you are looking for out of box functionality like auditing, logging, it can be done using Spring AOP. In order to use spring in your JSF project, you just need to add ContextConfigListener and Context config param in web.xml.
      JSF is more about views and navigation in views. This functionality is provided by Spring webflow.
      Sorry posting in wrong forum actualy new here and also new to Sping framework.I have posted in container forum.
      Still thanks for your answer about SpringTransaction, that was helpful.

      Comment

      Working...
      X