OSGi with Docker: a powerful way to develop Java systems
summary
A Gradle pipeline compiles OSGi bundles, packs them into p2 features, builds OSGi runtimes and produces Docker images that compose into four containers (nginx frontend, greeter service, login service, DB). The system uses JAX‑RS, JWT tokens, Declarative Services and JUnit system tests; a modified greeter bundle is rebuilt and hot‑installed into the running container without image rebuild, tests rerun, and debugging/attach into the container works. Live bundle updates enable fast inner edit‑compile‑run cycles.
AI-written summary · about
chapters (7)
- 0:00Intro
- 8:00Starting from scratch
- 11:30Docker compose
- 16:00Unit tests
- 20:00Containers
- 23:25TestRunner
- 25:30Summary
related talks
01h 15mEvaluation of OSS Options to Build Container Images
32mDistroless Docker: Containerizing Apps, not VMs
46mEffective Docker and Kubernetes for Java EE Developers
41mContinuous Delivery with Docker Containers and Java EE
41mRapid Application Development with Docker
38mDeployment options for OSGi applications in the cloudedge
41mGoogle Container Tools: Develop Efficiently [...]
49mDockerfiles, Jib ..., what's the best way to run your Java code in Containers?
