• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

Do JSF Release Notes Exist?  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'm trying to upgrade our Maven dependency of JSF and I wanted to review the release notes.... but I can't seem to find them.

Our dependency:
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-api</artifactId>
<version>2.2.10</version>
</dependency>

Now there is a 2.2.18 you can find on [MVN Repository]( https://mvnrepository.com/artifact/com.sun.faces/jsf-api/2.2.18) but there is no documentation.

I can see that Mojarra has better documentation but I'm out of my element here overall. Mojarra is up to 2.3 but uses a different groupId and artifactId:
<dependency>
<groupId>javax.faces</groupId>
<artifactId>javax.faces-api</artifactId>
<version>2.3</version>
<scope>provided</scope>
</dependency>

Did Oracle migrate away from the com.sun.faces to javax.faces or something? Why can't I find any release notes on this or any documentation at all?

I would really appreciate any advice, thanks.
 
Saloon Keeper
Posts: 5391
143
Android Firefox Browser Mac OS X Safari Tomcat Server VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mojarra release notes can be found at https://javaserverfaces.github.io/2.2/releasenotes.html

I'll let Tim Holloway chime in on the differences between the various JSP libraries
 
Daniel McCarthy
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Tim Moores wrote:Mojarra release notes can be found at https://javaserverfaces.github.io/2.2/releasenotes.html

I'll let Tim Holloway chime in on the differences between the various JSP libraries



Hey Tim!

Thanks for the quick response. The link you provided works but all of the release notes seem to be missing if you try to inspect them. No dice while digging through the provided options as well.

Any ideas?
 
Tim Moores
Saloon Keeper
Posts: 5391
143
Android Firefox Browser Mac OS X Safari Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ugh. Sorry about that. I know little about JSF, but hopefully sooner or later Tim H will chime in who knows a great deal about it.
 
Saloon Keeper
Posts: 20635
122
Android Eclipse IDE Java Linux Redhat Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, here I am! :)

Because JSF is an integral part of JEE, you cannot just grab any version of it that you want to. Full-stack JEE servers have JSF built into them, so the only Maven dependencies you'd normally use are a JSF-api of the same version (in "provided" scope) that your server provides. Or (at some risk) a newer version.

Tomcat and jetty don't have built-in JSF, so in their case you'd need not only the JSF API dependency but JSF implementation to go with it. But as compensation, you can use any JSF implementation that works that that particular version of Tomcat/jetty. The vendor doesn't really matter, so long as they've provided a faithful implementation of the spec, Mojarra was simply the reference implementation.

You can often override the JSF version on full-stack JEE servers, counter to what I said above, but you have to manually override the built-in JSF and provide your own implementation. A medium-difficult task, so you're advised to avoid it unless you have strong motivation and a desire to spend extra resources keeping it going.
 
Daniel McCarthy
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Tim Holloway wrote:OK, here I am! :)

Because JSF is an integral part of JEE, you cannot just grab any version of it that you want to. Full-stack JEE servers have JSF built into them, so the only Maven dependencies you'd normally use are a JSF-api of the same version (in "provided" scope) that your server provides. Or (at some risk) a newer version.

Tomcat and jetty don't have built-in JSF, so in their case you'd need not only the JSF API dependency but JSF implementation to go with it. But as compensation, you can use any JSF implementation that works that that particular version of Tomcat/jetty. The vendor doesn't really matter, so long as they've provided a faithful implementation of the spec, Mojarra was simply the reference implementation.

You can often override the JSF version on full-stack JEE servers, counter to what I said above, but you have to manually override the built-in JSF and provide your own implementation. A medium-difficult task, so you're advised to avoid it unless you have strong motivation and a desire to spend extra resources keeping it going.



This makes much more sense to me and I wish it were readily apparent after a quick search. Thank you so much for your explanation!

So if I can extrapolate, since we are currently running JSF 2.2.10 on our Tomcat server, I should be able to update us to 2.2.18 (hopefully) without any issues since the specification for this version of JSP/JSF has not changed. (Source: http://tomcat.apache.org/whichversion.html)
 
Tim Holloway
Saloon Keeper
Posts: 20635
122
Android Eclipse IDE Java Linux Redhat Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Go for it!
 
I have gone to look for myself. If I should return before I get back, keep me here with this tiny ad:
Create Edit Print & Convert PDF Using Free API with Java
https://coderanch.com/wiki/703735/Create-Convert-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!