Company
Date Published
Author
Arun Gupta, VP, Developer Advocacy, Couchbase
Word count
1395
Language
English
Hacker News points
None

Summary

Containers, Microservices, and NoSQL provide an awesome threesome for building modern applications that need to be agile, meet constantly evolving customer demands, be pervasive, and work across multiple platforms such as mobile, web, and IoT. A simple microservices stack using WildFly Swarm, Docker, and Couchbase will be explained in this blog, with complete code and instructions documented on GitHub. The key components of this stack include WildFly Swarm, which packages and runs JavaEE applications with built-in service discovery, single sign-on, monitoring, and more; Docker for Mac, providing native support for running containers on Mac OSX; and NoSQL databases like Couchbase, offering agility, flexibility, and true horizontal scaling. A sample application will be built using Java EE REST endpoints, showcasing the integration of WildFly Swarm and Couchbase. The application will be packaged and run as a self-contained microservice using Maven, with a Docker image serving as the service. However, an issue with packaging and running the application as a Docker container is encountered.