Home » Tag Archives: Spring Boot

Tag Archives: Spring Boot

Processing Twitter feed using Spring Boot

spring-interview-questions-answers

In one of my previous posts I already discussed how to process the Twitter sample feed using Apache Storm, and now we’re going to walk through the steps of creating a sample Spring Boot application that reads messages from Twitter sample feed using the Spring Social Twitter framework and writes data to Neo4J using Spring Data Neo4J. The whole project is available ...

Read More »

Groovier Spring Boot Integration Testing

spring-interview-questions-answers

Recently I had a chance to use Groovy’s groovy.json.JsonSlurper in a soapUI REST project. The usage scenario in soapUI (in particular, soapUI Open Source) was very simple: in a Groovy assertion, load the content of a response into a variable and than verify it like this: import groovy.json.JsonSlurper; def slurper = new JsonSlurper() def result = slurper.parseText(messageExchange.responseContent) assert result.incidentType == ...

Read More »

Spring Boot Integration Testing with Selenium

selenium-logo

Web integration tests allow integration testing of Spring Boot application without any mocking. By using @WebIntegrationTest and @SpringApplicationConfiguration we can create tests that loads the application and listen on normal ports. This small addition to Spring Boot makes much easier to create integration tests with Selenium WebDriver. Test Dependencies The application that we will be testing is a simple Spring ...

Read More »

Integration testing on REST urls with Spring Boot

spring-interview-questions-answers

We are building a Spring Boot application with a REST interface and at some point we wanted to test our REST interface, and if possible, integrate this testing with our regular unit tests. One way of doing this, would be to @Autowire our REST controllers and call our endpoints using that. However, this won’t give full converage, since it will ...

Read More »

Java Bootstrap: Dropwizard vs. Spring Boot

spring-interview-questions-answers

How to get a production ready Java application off the ground in the shortest time possible? I’m not a morning person, so sometimes it takes a while for the “all systems are go” cue to kick in. This used to be true for Java applications until not too long ago, but unlike the invention of the snooze function on the ...

Read More »

Quick Start: Spring Boot and WildfFly 8.2 on OpenShift

redhat-openshift-logo

A really “Quick Start” with Spring Boot, WildFly and OpenShift as opposed to my last, more descriptive article. Prerequisite Before we can start building the application, we need to have an OpenShift free account and client tools installed. Step 1: Create WildFly application To create an application using client tools, type the following command: rhc create-app <app-name> jboss-wildfly-8 --scaling This ...

Read More »

Openshift: Build Spring Boot application on Wildfly 8.2.0 with Java 8

jboss-wildfly-logo

OpenShift DIY cartridge is a great way to test unsupported languages on OpenShift. But it is not scalable (you can vote for Scalable DIY cartridge here) which makes it hard to use with production grade Spring Boot applications. But what if we deployed Spring Boot application to WildFly Application Server? Spring Boot can run with embedded servlet container like Tomcat ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.