Skip to main content

Data base tables

Within this blog, and especially within my book “Practical JSF in Java EE 8” [1] I described the Books project. Some listings show the structure of the tables which are used by this app. But I did not describe all every table. In my poor opinion I assumed, it would be very simple to create […]

Live continues…

…and so my blog does. You may have wondered that I didn’t have written any article within this blog such a long time. Last year I agreed, when apress asked me to publish a new version of my book “Web Development with Java and JSF”. My book had been a living book so far. I […]

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 […]

JavaLand 2017

JavaLand 2017

The fourth edition of JavaLand had been on March 28th + 29th 2017. JavaLand is one of the biggest Java Congresses in Europe and is hosted in my home town. Yesterday I wrote my reports for an online channel as well as for a German printed magazine. Here I’ll blog about it from three personal […]

Using WebSockets with Java EE, part 2.2

This post is part of my short series about WebSockets with Java EE. Technical aspects of the WebSocket protocol WebSockets in a Java EE 7 application JSF 2.3 and WebSockets As I mentioned before, there are personal reasons which reduce my current time. Thus I divided part 2 into smaller sections. This is the second […]

Using WebSockets with Java EE, part 2.1

Using WebSockets with Java EE, part 2.1

Before my holidays I started this short series about WebSockets and announced more articles during February. The day I started working on this matter, my godson died. So I did (and will do) other things than writing. I broke down my next article into two smaller pieces. One of them is the following writing. The […]