Featured Post

Applying Email Validation to a JavaFX TextField Using Binding

This example uses the same controller as in a previous post but adds a use case to support email validation.  A Commons Validator object is ...

Saturday, December 13, 2014

Fixing SSL Handshake Error in Apache CXF

Without SSL (TLS), you can programmatically create an Apache CXF web services client using a generated stub and immediately make a call after specifying the URL and the target class.  You need extra configuration if the generated stub's communication needs to be encrypted.

This blog post suggests a fix for an error such as this

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed:

which I experienced building an Apache CXF 2.7.3 client with an https URL.

Thursday, December 11, 2014

Counting Items with Java 8 Streams

With Java 8 Streams, you can count the items a filtered list.  This is a quick post that shows some syntax examples of this new technique.