Category Archives: Web development

Using Lambda expressions with JSF 2.2

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 … Continue reading

Posted in NetBeans, Web development | Tagged , , | 2 Comments

Tutorial web development (with JSF) XV – Security with JDBCRealm

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, … Continue reading

Posted in NetBeans, Programming, Tutorial, Web development | Leave a comment

CDI issue using GlassFish 4

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 … Continue reading

Posted in NetBeans, Programming, Web development | Tagged , | 5 Comments

Tutorial web development (with JSF) XIV – Security Part III

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 … Continue reading

Posted in NetBeans, Programming, Tutorial, Web development | Tagged , , , , , , | Leave a comment

Tutorial web development (with JSF) XIII – Security Part II

In this part of the security trail, we start with Basic Authentication and fileRealm. For some basic background information, please refer to the former part. To secure the TinyCalutor, we need to add a security constraint to web.xml.

Posted in NetBeans, Programming, Tutorial, Web development | Leave a comment