Category Archives: Tutorial

Web Development with Java and JSF: Bean Validation

As stated before, Books is an application, maintained by just one author, who should know about the expected data. Thus, there is no user interface with immediate response after each input or lots of hints. Of course, those features are … Continue reading

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

Tutorial web development (with JSF) XV – Security with JDBCRealm

Ok, we secured our JSF web application by using a JSF form. The user information is still stored in a flat text file. But as stated before, your application server provides more. This lesson, we move forward to GlassFish’s JDBCRealm, … Continue reading

Posted in NetBeans, Programming, Tutorial, Web development | 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 … 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.

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

Tutorial web development (with JSF) XII – Security Part I

Sometimes it is crucial to protect an application or data against unauthorized access. Although there is no need to secure my tiny calculator, I’m going to demonstrate the principals of container based security by using this small app. For a … Continue reading

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