All posts in 'Shortcuts'

Spring Boot Buch examples

15-Mar-17

The examples that I’m gonna use throughout my book are already out in the wild and getting not only feedback, but also pull requests from the community. Checkout the GitHub org: github.com/springbootbuch/. I’m more than happy to add YOURS 🙂

Read the complete article »

On sourcecode formatting

04-Jul-16

Without any comment on which style is right, you can use GNU util expand / unexpand to replace tabs with spaces and vice versa. For example, you can use the following command to replace all tabs with spaces and the recommended 8 spaces width in all Java files through find . -name ‘*.java’ ! -type […]

Read the complete article »

Spring 4.2.x, Spring Boot and the Stomp broker relay

17-Nov-15

If you’re using a StompBrokerRelay on the MessageBrokerRegistry, be careful with your dependencies: If you’re using Spring Boot 1.2.x, you must have <dependency> <groupId>org.projectreactor</groupId> <artifactId>reactor-net</artifactId> </dependency> on the classpath, in case of Spring Boot 1.3.x, which depends on Spring 4.2 which depends on Reactor 2, it must be <dependency> <groupId>io.projectreactor</groupId> <artifactId>reactor-net</artifactId> </dependency> <dependency> <groupId>io.netty</groupId> <artifactId>netty-all</artifactId> […]

Read the complete article »