|
You are here |
journal.robbi.my | ||
| | | | |
blog.scottlogic.com
|
|
| | | | | In most microservice architectures, there are many opportunities and temptations for sharing code. In this post I will give advice based on my experience on when it should be avoided and when code reuse is acceptable. The points will be illustrated with the help of an example Spring Boot project. | |
| | | | |
mydeveloperplanet.com
|
|
| | | | | In this blog, you will learn how to setup a Maven multi-module project which consists out of a Spring Boot backend and a Vue.js frontend. The application itself will not be created, only the setup of the project is covered in this blog. Enjoy! 1. Introduction Many applications consist out of a backend and a... | |
| | | | |
www.e4developer.com
|
|
| | | | | High level introduction to Spring Boot and its popularity. Spring Boot Hello World example and a list of features that make it so successful. | |
| | | | |
konradreiche.com
|
|
| | | Since most of the Java code I wrote in the past was on Android I was not able to enjoy too many Java 8 features yet. Though recently I wrote a microservice in Java using Spring Boot where I could make full use of lambdas and functional interfaces. The following method, for instance, returns the sum of all transactions for a specified instance by traversing their children. @RequestMapping(value = "/transaction/sum/{id}", method = RequestMethod.GET) BigDecimal Sum sum(@PathVariable long id) { List transactions = new ArrayList<>(); Transaction current = repository.find(id); while (current != null) { transactions.add(current); current = current.getChild(); } return transactions.stream().map(t -> t.getAmount()) .reduce(BigDecimal.ZERO, BigDecimal::add); } As some... | ||