SharePoint Web Services, Spring, and NTLM authentication

SharePoint is widely known among .NET developers, but not so recognized in the group of JVM worshippers. Yet, sometimes integration between these two universes is required and one of possible choices to perform the connection is the set of SOAP web services exposed by the platform. It this article you’ll learn how to communicate your Spring application with a SharePoint instance.

Continue reading SharePoint Web Services, Spring, and NTLM authentication

Facebooktwittergoogle_plusredditlinkedinmail

Java 8 Optional use cases

It’s been almost two years since Java 8 was officially released and many excellent articles about new enhancements and related best practices have been written through that time. Surprisingly, one of the more controversial topics amongst all the added features is the Optional class. The type is a container, which can be either empty or contain a non-null value. Such construction reminds the user of an Optional object that the situation when there’s nothing inside must be handled appropriately. Although the definition of the type on Javadoc is quite descriptive, when it comes to identifying valid use cases it’s getting more problematic.

This article has also been published on DZone.

Continue reading Java 8 Optional use cases

Facebooktwittergoogle_plusredditlinkedinmail