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
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
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
In my former post about a “CDI issue using GlassFish”  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 .
I recently visited the German conference for parallel programming. Read my report  (German).
 Parallel2014 – klein, aber fein