Skip to main content

JSF: import constants

With the current version of Java EE 8 / JSF 2.3 we can implement an internal navigation using enums. And this is what we use for Alumni’s [1] navigation. As an example we pick the forgot password link. 1 <div> 2 #{msg.lblForgotPassword} 3 <h:link value=”#{msg.lblRequestPassword}” 4 outcome=”#{Page.RequestPassword.url()}”/> 5 </div> Take a look onto line 4. […]

Custom Realm

Custom Realm

Do you remember the requirements for secure passwords? • We need an algorithm, which takes some time to calculate to prevent from brute force attacks (or at least to reduce its chance to success). JdbcRealm allows to determine the algorithm. • We need to add a salt to every password to protect against rainbow tables. […]

Securing my WebSites

In my book about web development, I’m describing how to build applications with Java EE 7 and Java EE 8 (including some step by step tutorials by means of NetBeans). One application is a social network app called Alumni. This needs to be secured. I finally installed TLS on my web sites (including this blog), […]

Living book. Pausing soon.

Living book. Pausing soon.

In 2014 I started writing my book “Web Development with Java and JSF”. My intention was to write a book of apx. 200-250 pages. In my book I combined the theoretical background with a practical approach by building real applications. Can you build applications with JSF only? Nope. A JSF app runs within a servlet […]

Impressions from Brühl I

Impressions from Brühl I

Flys like a hummingbird, looks like a butterfly with shortened wings. It’s a hummingbird hawk-moth. And it had been really hard to take this photo. Usually, when I focused onto this hawk-moth, it suddenly disappeared and came out on another bloom.

Oshiro Makro Objektiv

Oshiro Makro Objektiv

Die Photos auf meinem Blog zeigen, dass ich gerne Nahaufnahmen mache. Bisher nutzte ich dafür das Olympus 14-42 mm Objektiv mit Makrokonverter an einer OM-D 10 Mark II . Auf der Suche nach einem “richtigen” Makroobjektiv habe ich einerseits mit dem Olympus 60mm geliebäugelt. Andererseits kommt es bei so kurzen Distanzen auf die richtige Fokusierung […]