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

Embedded containers and standalone Java applications

When you create a Java application, you either choose to deploy within an external servlet container/application container or embed a container into your jar. There are developers who still refuse to use embedded containers, some for fear: feeling that somehow their application is going to crash just because it runs directly from a java -jar command (haha), others, well, I don’t know why someone could not prefer to run their applications using a simple terminal command, but, there are other opinions and other views, this post is not…

Keep reading