Announcement Announcement Module
Collapse
No announcement yet.
Can Spring bring anything to a JSF 2 environment? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can Spring bring anything to a JSF 2 environment?

    Hi,

    I was wondering what are the advantages, if any, of integrating Spring into a JSF 2 application? Does Spring buy us anything? Is there anything Spring can do for us which JSF does not do already?

    Note I am only speaking about Spring, not Spring MVC. So instead of JSF managed beans we would have Spring beans like so...

    Code:
    import org.springframework.context.annotation.Scope;
    import org.springframework.stereotype.Component;
    
    @Component("adviceInquiry")
    @Scope("session")
    public class AdviceInquiry
    Thanks,
    Jahan

  • #2
    Just to get this discussion started, it seems Spring container is more advanced than whatever JSF is using. For example it offers dependency injection and services like txn management and security.

    Does anyone have anything to add this?

    Comment

    Working...
    X