Serving angular2 content from Spring Boot application
Recently I had to ship an Angular2/Angular4 application within a Spring boot WAR packaged application and I was having some issues when dealing with the the urls in the angular routes, since it goes through the DispatcherServlet I was getting 404 all over the place…
Custom converter for Mongodb and Spring Data for BigDecimal type
Recently I found that MongoDB does not support java’s java.math.BigDecimal as you can read in the official spring data mongodb documentation As it turns out java.math.BigDecimal will be converted to java.lang.String when saved to the database and parsed back to BigDecimal which in most cases…
Spring boot and mongodb with geo-localisation queries 1/3
MongoDB offers a number of indexes and query mechanisms to handle geospatial information, below are some of the features offered by the database : Surfaces Location Data Query Operations Geospatial indexes ….. More detailed information can be found at their website : MongoDB Geospatial queries…