The fourth edition of JavaLand had been on March 28th + 29th 2017. JavaLand is one of the biggest Java Congresses in Europe and is hosted in my home town. Yesterday I wrote my reports for an online channel as well as for a German printed magazine. Here I’ll blog about it from three personal […]
Posts in category JSF
This post is part of my short series about WebSockets with Java EE. Technical aspects of the WebSocket protocol WebSockets in a Java EE 7 application JSF 2.3 and WebSockets As I mentioned before, there are personal reasons which reduce my current time. Thus I divided part 2 into smaller sections. This is the second […]
Before my holidays I started this short series about WebSockets and announced more articles during February. The day I started working on this matter, my godson died. So I did (and will do) other things than writing. I broke down my next article into two smaller pieces. One of them is the following writing. The […]
Since JSF 2.0 it is preferred to use CDI beans over JSF managed beans . Different annotations are available to support different scopes, e.g. @RequestScope or @SessionScope. Sometimes you need to access such a bean from a piece of software where you don’t have direct access to the FacesContext. Lets assume, you run a different, […]
Let’s assume, we use JSF to write an application which offers a simple registration form. This form queries the user for his first name, last name, and email. The page definition might be similar to the one following, but can’t we avoid the repetition of code?
In Java Aktuell I wrote about Java generics and some problems with type erasure. Using JSF it is possible to re-produce a problem which occurs due to type erasure. A similar problem might appear in other situations. A developer, who doesn’t know about the special problems might get roped into endless debugging sessions. Here it […]
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.
Haben Sie eine Applikation mittels JSF oder anderen Techniken auf einem Applikationsserver, z. B. GlassFish, erstellt und soll diese vom Internet erreichbar sein, so können Sie natürlich den AppServer direkt an Port 80 lauschen lassen. Oft aber ist es sinnvoll, einen HTTP-Server vorzuschalten, der sich dann um Lastverteilung oder bereitstellung statischer Seiten kümmern kann. Das […]