JSF 2.2 comes in conjunction with EL 3.0. This version of the expression language offers a rarely known highlight: It is capable of using lambda expressions and streams. Even thought defined withing the Jave EE 7 spec (and not Java 8), you can still use these cool features!
Posts in category Web development
Ok, we secured our JSF web application by using a JSF form. The user information is still stored in a flat text file. But as stated before, your application server provides more. This lesson, we move forward to GlassFish’s JDBCRealm, which allows you to store the user information within the database.
Within a web application, you often need a state to create a session lifecycle. You may create a CDI named been with session scope, to keep track of some user data. Suppose, you have a JSF application. Assigned to your pages you might use named beans with request scope. If you need some session-wide info, […]
Now, after we’ve addressed basic log-in with simple file realm, I want to move on by exchanging the authentication method. Remember, this tutorial is about web development with JavaServer Faces. All I showed for container based security so far, is technology entirely independent from JSF. Same applies to simple form log-in. But, it’s possible to […]
Sometimes it is crucial to protect an application or data against unauthorized access. Although there is no need to secure my tiny calculator, I’m going to demonstrate the principals of container based security by using this small app. For a description of the project, please refer to Tutorial web development (with JSF) III: Basic arithmetics. […]
Do you build web applications with JSF and GlassFish? And do you need to process inputs with characters which are coded with multi-bytes using UTF-8, e.g. German Umlauts? You might have recognized a strange behavior if you use GlassFish 4. Now, let’s check for the problem by building a simple application. With NetBeans, simply choose […]
Have you seen the schedule for NetBeans 8.0 ? Beside lots of other great features, there will be a couple of enhancements with respect to JSF 2.2. Read about New and Noteworthy in NB 8 . This page is going to be completed during the further development.  http://wiki.netbeans.org/NetBeans_80  http://wiki.netbeans.org/NewAndNoteworthyNB80
The JSF 2.2 Proposal Final Draft was posted by the expert group spec leader Ed Burns today. Read his blog about this issue . The draft is available at the JCP JSR 344 page . JSF 2.2 is included in GlassFish4. I’m still waiting for this GF4 being bundled with NetBeans daily builds.
In my recent article, I wondered why GlassFish 4 is internally still 3, even though truly recognized by NetBeans EE7. Currently the GlassFish team prepares a rename . And I hope, it will be bundled to NetBeans, just after the 7.3 release. NetBeans 7.3 will be available dureing the next few days.  https://wikis.oracle.com/display/GlassFish/glassfish3+to+glassfish4+Rename