Ignacio Suay Blog

6

How to do integration tests with Spring Boot and Spock

In the latest version of Spring Boot (1.4) they have introduced a new annotation called @SpringBootTest. Previous to this version you may have used either @ContextConfiguration or @SpringApplicationConfiguration combined with @IntegrationTest or/and @WebIntegrationTest to...

3

How to connect Spring Boot to Elasticsearch 2.x.x

My Problem: I have an application built using the Jhipter generator, which is based on Spring Boot. The latest version of Jhipster allows you to include Elasticsearch as an option, so I have an...

13

How to connect to MongoDB 3.0 using Spring Boot

My problem Yesterday, I spent more than 5 hours trying to fix a compatibility issue between the latest version of spring-boot (1.2.6.RELEASE) and a mongoDb 3.0 database. My problem was that I was using...

8

How to debug AngularJS with Intellij

In my last 2 projects, I have been using 2 different Yeoman generators: AngularJS and Jhipster. Both generators create a project with AngularJS and Grunt on the client side. Setting up Intellij or Webstorm to debug AngularJS...

2

Docker for JHipster in Production mode

A few weeks ago I started a new personal project using JHipster. JHipster is a great Yeoman generator used to generate a complete Spring application on the server side and AngularJS on the client side....

0

GWT Review

During the last year, I have been involved in several projects developed with the Google Web Toolkit (GWT). Now, we are going to start a new project, and it’s time to evaluate the advantages and...

9

Getting started with Apache Lucene and JSON indexing

In this post, I am going to talk about how to index JavaScript Object Notation (JSON) using Lucene Core. Apache Lucene is a high-performance, full-featured text search engine library written entirely in Java. Many companies like...