From the course: Java EE 8: JavaServer Faces JSF 2.3

Improved JDK Support in JSF 2.3

From the course: Java EE 8: JavaServer Faces JSF 2.3

Start my 1-month free trial

Improved JDK Support in JSF 2.3

- [Instructor] Things have moved at breakneck speed since Java 7 came around and we're knocking on the door of JDK 13 as of the time of this video. There were little inconveniences and compatibility issues related to working with JSF on a bleeding-edge version of the JDK. Well, let me tell you: JSF 2.3 is here to absolutely annihilate those compatibility issues. JSF 2.3 now supports almost any data container you could imagine. Prior to this version, you could connect only Java.util.List implementations to data components like the H:dataTable. Version 2.3 brings a lot more to the table pun intended so for example now we can load Nulls, Lists, anything that implements Collection, anything that offers an Iterable, Objects, ResultSets, and a bunch of other things. Also brand-spanking new in JSF 2.3 is the support for a slew of new date-time types. For example the F:convertDateTime component is now very friendly with the LocalDateTime, ZoneDateTime, and OffsetDateTime components, and anything in between, of course while maintaining compatibility for what is now the legacy Date-Time types. Next up, generics! See, JSF converters, validators, and a couple of other pieces didn't have JDK generics support. They just didn't. Now it's a generics party all around. Generics in converters, parameter loading, and a bunch of other places where they weren't allowed prior. You are going to have a lot of fun working with JSF now on newer versions of the JDK.

Contents