Building microservices with Akka HTTP and MongoDB

It's been a while since my last post, but, here I am again. You probably know that both Akka HTTP and MongoDB Scala Driver are reactive, so, they're a good way to go when we talk about highly scalable microservices, and, since I've playing with both lately, I guess it's fair to show a simple REST application using them. Also, this example uses Fongo, a fake in memory MongoDB written in Java, to help us create our tests and not worry with our database access. Well, let's start then. build.…

Keep reading

Building microservices using Undertow, CDI and JAX-RS

Choosing the right tools to create microservices is not always that simple. First, there are a lot of microservices application types, so, you need to choose the right tool for the right job. Second, there are a lot of tools to help you build these applications. I’m going to show you another tool set to help you build your microservices applications: Undertow + CDI + JAX-RS, persisting in a MongoDB. This will probably meet all your needs when we talk about microservices. Actually, it is pretty simple: We just need to…

Keep reading