Web Development with Java and JSF

Developing web applications with Java, JavaServer Faces and NetBeans had been a great pleasure (and success) to me for a couple of years, when I first wanted to write a book about JSF in late 2010. At this time, I got in touch with some German publishers. My goal was to write apx. 200-250 pages about this subject, nothing more. “No thanks, too special” had been the common answer. And: “Great. Add some more pages, e.g, another thousand, and write about the whole Java Enterprise edition. Keep JSF smaller than 200 pages.” Frustrating answers. Continue reading

Posted in NetBeans, Programming | 3 Comments

JSF and Bean Validation issue

To prevent injections and other attacks, input validation is a kind of must. JSF supports this by its own validator concept. Beside this, JSF takes advantage of Bean Validation (JSR 349): You may define constraints within your class, e.g. an entity. JSF will call this validation for every field or getter which is annotated with a constraint. Every field? No, there is a strange behavior. Continue reading

Posted in NetBeans, Programming | Leave a comment

JSF: Invalidate session

To preserve state, a cookie with a session id is send to the client’s browser. During the next request, this cookie is transmitted to the server. By this, the server is able to restore state.

For security reasons, it is good practice to renew this session number once the user logs in or out. Continue reading

Posted in NetBeans, Programming | Leave a comment

CDI issue using GlassFish 4

In my former post about a “CDI issue using GlassFish” [1] I talked about a problem which seems to be widely spread . So far, I recognized a lot of visits, and some people reported similar problems in their comments. Beside the possible solution I described in my blog, memory tuning seemed to help. Read my recent comment of this blog entry [1].

[1] http://blog.mueller-bruehl.de/programming/cdi-issue-using-glassfish-4/

Posted in NetBeans, Programming | Leave a comment


I recently visited the German conference for parallel programming. Read my report [1] (German).

[1] Parallel2014 – klein, aber fein


Posted in Programming | Leave a comment