Review list updated

I just updated the list of my reviews [1]. And added a new review about “The Art of unit Testing” (Ger) [2].

Do you like an English translation?



Posted in Books | Leave a comment

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 pages you might use named beans with request scope. If you need some session-wide info, you can use CDI:

@inject SessionBean mySessionBean

I moved an application which ran without known problems on GlassFish 3 to GlassFish 4. Everything worked fine, as long as I tested the app for myself. But using this app concurrent with other users, sometimes the app showed me a session timeout, could not restore a conversation or, in one case, showed me data of a concurrent user. It seemed, a SessionBean object of a different user had been injected to the request bean assigned to my request. Continue reading

Posted in NetBeans, Programming, Web development | Tagged , | 2 Comments

WebSite key-figures

Since beginning of 2012, I track visits of my web site to generate some anonymous statistics. This is done by using Piwik on my local server. To keep your privacy, only shortened IP addresses are recorded by this tracking system.

I’m going to present some key-figures, which might be interesting to know about. My blog is almost about computer science, especially web development. Developers may prefer other systems and devices than users with different interests. Thus, these key-figures cannot be generalized. They only represent data about visitors of my blog. Continue reading

Posted in Configuration, NetBeans | Leave a comment

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 technology entirely independent from JSF. Same applies to simple form log-in. But, it’s possible to embed this into some JSF techniques. And, further on, using programmatic log-in, this is done by the use of JSF. Continue reading

Posted in NetBeans, Programming, Tutorial, Web development | Tagged , , , , , , | Leave a comment

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. Continue reading

Posted in NetBeans, Programming, Tutorial, Web development | Leave a comment