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?
You are browsing archives for
Tag: Web development
Interactive Java using Nashorn (part II)
In my last blog [1] I showed you how to invoke Nashorn, how to add a Java class and how to invoke a method on it. Now, we want to perform some queries on a bigger amount of data. You can find a description of this data structure on the free sample pages of my […]
NetBeans and Java EE: Code Templates
NetBeans offers a real cool feature called Code Templates. This feature is available throughout the whole IDE. In my series, I explain it within the context of Java EE, but you might use it anywhere.
JavaLand 2015 & Java aktuell
Last week I visited JavaLand 2015. This great software conference [1] with lot of community activities resides in my home town Brühl [2]. Beside attending lots of tracks I had the opportunity to meet a couple of people face-to-face like Ed Burns (JSF Spec Lead), Geertjan Wielenga (NetBeans product manager), Arun Gupta (Java EE evangelist) […]
Conversation Scope
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 […]
Conferences
During the next few moth, I’m going to attend the JavaLand [1] conference as well as the Parallel 2015 [2]. The first one resides in my home town. It’s a conference about various up-to-date Java topics. And you might meet some members of the JSF expert group there.
Web Development with Java and JSF: Bean ...
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 […]
Source code available
I finished the chapter “Internationalization and Localization” of my book “Web Development with Java and JSF” [1] . Now the book reached about 250 pages. Source code for the applications as described so far is available from [2]. Developed with the current version of NetBeans and GlassFish. [1] leanpub.com/jsf [2] webdevelopment-java.info
Copy Static Resources on Save
Have you heard about the series “My top 5 NetBeans features”? NetBeans users report their favorite features. I just want to point out only one small (and almost hidden), but valuable feature, which is included in the upcoming version NetBeans 8.0.1.
Using Lambda expressions with JSF 2.2
JSF 2.2 comes in conjunction with EL 3.0. This version of the expression language offers a rarely known highlight: It is capable of using lambda expressions and streams. Even thought defined withing the Jave EE 7 spec (and not Java 8), you can still use these cool features!