Posts

Showing posts from October, 2015

Tweaking HATEOAS with BOOT

Just before exploring more of HATEOAS, lets add Spring BOOT to the application. Now Spring Boot needs no introduction, beacause of its CoC (Convention of Confuguration) approach, be it Standalone or Web Based, Spring Boot is always "My Dear" as it frees us from all the headaches of dependencies, configurations, servers (in case of Web Application) etc. For more about Spring Boot, its extensive documentation is a must read. Here my intention is not to introduce Spring Boot directly but to integrate it with the existing WebApplicationInitializer, using ApplicationContextInitializer(for profiling and loading different properties based on the profile selected), using Spring-Boot-Actuator for different metrics and others. Lets start: In our previous post we have discussed on the WebApplicationInitializer for the Spring HATEOAS project i.e. SpringHateosApplicationConfig . All these things we are going to integrate it into Spring Boot StartUp class: @Impor