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

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

NetBeans 8 contribution

Due to less time, I sadly could only contribute a small amount to NetBeans 8. Following is the report, I received today. Get inspired to contribute too.

Continue reading

Posted in NetBeans | Tagged | Leave a comment

Joining Java Streams

Java 8 introduced some impressive new features. Lambdas in conjunction with Streams finally support a functional style of programming.

But, unlike LINQ of the .NET world, there is no operator to join streams. Thus, I tried to join streams manually. My approach is to use second a stream in a lambda expression within a map operation. Other options are thinkable. Continue reading

Posted in NetBeans, Programming | 2 Comments

Java 8 & NetBeans 8

The official Java 8 release was published today. If you have already installed the Java 8 FCS version, build 132, then usually there is no need to download the current version. It’s almost the same, except some commercial features like Java Flight Recorder, which are bundled to today’s release. Read Mark Reinhold’s blog about JDK 8: General Availability [1].

NetBeans 8 is available too [2]. Take a look on it’s features by some screen-casts [3].

[1] http://mreinhold.org/blog/jdk8-ga
[2] https://netbeans.org/downloads/
[3] https://netbeans.org/kb/docs/intro-screencasts.html

Posted in NetBeans | 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, which allows you to store the user information within the database. Continue reading

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