Archiv der Kategorie: 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 … Weiterlesen

Veröffentlicht unter NetBeans, Web development | Verschlagwortet mit , , | 4 Kommentare

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, … Weiterlesen

Veröffentlicht unter NetBeans, Programming, Tutorial @en, Web development | Hinterlasse einen Kommentar

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 … Weiterlesen

Veröffentlicht unter NetBeans, Programming, Web development | Verschlagwortet mit , | 8 Kommentare

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 … Weiterlesen

Veröffentlicht unter NetBeans, Programming, Tutorial @en, Web development | Verschlagwortet mit , , , , , , | Hinterlasse einen Kommentar

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.

Veröffentlicht unter NetBeans, Programming, Tutorial @en, Web development | Hinterlasse einen Kommentar