Results 1 to 2 of 2

Thread: Can Spring bring anything to a JSF 2 environment?

  1. #1

    Default 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. #2

    Default

    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •