Our next task is to create a new book entry or to edit an existing one. The book editor shall consist of a tab panel offering one page for the books meta data like title, author, publisher, and one page for each language, where you can edit a review. It must be possible to switch […]
Posts in category Tutorial @en
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 essential for an application for potentially “unknown” users. Later on, when developing Alumni, we will […]
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, which allows you to store the user information within the database.
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 […]
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 description of the project, please refer to Tutorial web development (with JSF) III: Basic arithmetics. […]
Do you build web applications with JSF and GlassFish? And do you need to process inputs with characters which are coded with multi-bytes using UTF-8, e.g. German Umlauts? You might have recognized a strange behavior if you use GlassFish 4. Now, let’s check for the problem by building a simple application. With NetBeans, simply choose […]
Do you like to read about web development with JSF? Try my tutorial . Even though the examples are explained with NetBeans, you may follow this tutorial using any other IDE. If you like this tutorial (and want me to continue), please leave a comment.  http://blog.mueller-bruehl.de/tutorial-web-development/ (You may support this web site by flattr […]
JSF 2.2 is on it’s way. In this lesson I want to introduce one of the new features, HTML5 friendly markup (using Pass Through Elements).
In part VII of this tutorial you’ll find some requirements of the book application. The application is live now, and you can find it here . The information about the books and the reviews is stored in a database. JavaServer Faces is well suited for databaseÂ driven server applications. Thus, developing web applications with JSF […]