Spring

November 7, 2018

Open Liberty Loves Spring

We think Open Liberty and Spring go well together. Liberty loves Spring and we want to make it easy for Spring Boot developers to love Liberty. With the new boost-maven-plugin plugin, it's handled automatically as part of your maven build.

Continue reading

June 4, 2018

Creating Spring Boot applications with App ID

A typical problem developers face when creating a new app is implementing their own sign-in and identity management mechanism. This can be easily achieved by developers integrating IBM Cloud App ID into their apps. In this post, I will show you step-by-step, how to integrate App ID into a sample Spring Boot application that uses OAuth 2. The integration gives us the possibility to use OIDC to retrieve user information when users log in to the app.

Continue reading

November 8, 2017

Interpreting Spring Social Twitter Data with Watson Tone Analyzer

In this post, I'll show you how to build a basic Spring app with Twitter login using Spring Social. Then we'll use Watson Tone Analyzer to determine the dominant emotion from each of the tweets on the time of the logged-in user. The project we will create will be similar to the Accessing Twitter Data Spring guide, but with a few modifications.

Continue reading

November 2, 2017

Analyzing Spring Social Facebook Data with Watson Personality Insights

In this post, I'll show you how to build a basic Spring app with Facebook login using Spring Social. Then we'll use Watson Personality Insights to analyze the profile of the logged-in user. The project we will create will be similar to the Accessing Facebook Data Spring guide, but with a few modifications.

Continue reading

October 20, 2017

Vaadin Bakery: Jump-start your business web app

Vaadin Bakery App Starter is a proven full-stack reference application you can use as a starting point for many serious business web apps. It contains many commonly needed features, like RDBMS database accessed using solid JPA+EJB (or Spring) -based persistency and business layer, mindful authentication and authorization, and a UI code structure suitable for non-trivial, large-scale business applications.

Continue reading

October 9, 2017

Using Spring for REST on Liberty Buildpack

During a recent development sprint our team was investigating frameworks in place to support Social Login for a RESTful application. In our research, we found that the common social login areas we were looking at Twitter, Facebook and Google all provided solid documentation on how to integrate into an application.

Continue reading

September 25, 2017

Centralized Configuration for Spring Apps on Bluemix Kubernetes

In this tutorial, we'll adapt the Centralized Configuration guide from the Spring website to be deployed to Bluemix Kubernetes. We'll host our configuration files in a Github repository. Before getting started, you should follow the guide or download the complete version.

Continue reading

September 8, 2017

Distributed Tracing in a Spring Application using Spring Sleuth

In this post, we’ll create a few Spring applications demonstrating Sleuth's distributed tracing functionality, using Zipkin for visualization. The first application will be a Zipkin service; the other apps we create will send tracing data here. The next application will be a delay service; it will take an integer parameter and wait for the appropriate amount of time before responding. This app will allow us to simulate any number of other services and see how slow responses are handled. The last application will call the delay service and pass the time parameter to it. This network of applications will allow us to build some nested spans and see the power of Sleuth and Zipkin.

Continue reading

August 14, 2017

Spring Cloud application with Zuul Gateway on Bluemix Kubernetes

In this post, we'll create a simple Spring Cloud application that demonstrates the Zuul library. Zuul acts as a gateway to other microservices, and provides routing and filtering functionality, among other things. We will build on a project from the Spring guides, and deploy it to Bluemix Kubernetes.

Continue reading