which jsf-impl should i use?

独自空忆成欢 提交于 2019-12-13 13:24:40

问题


Where can i find a jsf-impl for my jsf 2 webapp ?

In maven's repo i got the 1.2 version.

In the http://download.java.net/maven/2/javax/faces/, i can see only the jsf-api, but no jsf-impl

Im currently using tomcat 7, and experimenting with primefaces.

Thank you !


UPDATE

I've been able to get both the api and the impl using this, but im still not sure which impl i should really use :

    <dependency>
        <groupId>com.sun.faces</groupId>
        <artifactId>jsf-api</artifactId>
        <version>2.0.3</version>
        <scope>compile</scope>
    </dependency>
    <dependency>
        <groupId>com.sun.faces</groupId>
        <artifactId>jsf-impl</artifactId>
        <version>2.0.3</version>
        <scope>compile</scope>
    </dependency>

UPDATE

Sorry for not being clear, but it's not only about which version i should use.

I was doubtful because :

  1. I notice the existence of 2 groupIds of javax.faces and com.sun.faces
  2. I dont see the jsf-impl from the maven repository
  3. What repository i should use to get the newest version

Thank you :-) !


回答1:


My suggestion is to use jsf-api and jsf-impl version 2.0.4. Because it has lot of bugfixes and improvements over 2.0.3.

You can download them from this page at this link. And have a look at the MigrationGuide also.



来源:https://stackoverflow.com/questions/5337325/which-jsf-impl-should-i-use

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!