Using MongoDB and Spring Boot to Create a RESTful Web Service

Robert Rice Java, Spring Boot, Technology Snapshot Leave a Comment

Spring Boot is a framework designed to simplify the bootstrapping and development of a new Spring application. The framework takes an opinionated approach to configuration, freeing developers from the need to define a boilerplate configuration. MongoDB is a simple set up and easy to use document database. A RESTful API is an application program interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data.

In this post, I will demonstrate the process of creating a RESTful web application with Spring Boot and MongoDB.

Don’t Hate the HATEOAS Part Deux: Springtime for HATEOAS

Billy Korando Java, Spring, Technology Snapshot 1 Comment

In the much belated conclusion to my series on HATEOAS, we will be diving into how to implement HATEOAS using Spring-Data-REST and Spring-HATEOAS. It is springtime for HATEOAS! I put together a functioning project that will demonstrate the code examples I have below as well as a few other features. The project can be found here: https://github.com/in-the-keyhole/hateoas-demo-II. JDK 8 and Maven are …

HATEOAS

Don’t Hate The HATEOAS

Billy Korando DevOps, Java, Single-Page Application, Technology Snapshot, Tutorial 3 Comments

Or How I Learned to Stop Worrying and Love the HATEOAS REST has become the defacto, or at least vogue, solution to implementing web services. This is understandable because REST offers a level of self-documentation in its utilization of the HTTP specification. It’s durable, scalable, and offers several other desirable characteristics. However many so-called RESTful services don’t implement HATEOAS (Hypermedia …