4 ms·
So, let's say if I am developing a Java EE app under windows with eclipse and want to use docker container for my app, how do I go about it?
by f4stjack 11y ago
So, let's say if I am developing a Java EE app under windows with eclipse and want to use docker container for my app, how do I go about it?
- needusername 11y agoI would say it depends on the deployment model of your application server. For a file based deployment you would have to mount the file system. For a socket based deployment you would have to bind the ports. The importing thing is that WTP doesn't manage the server lifecycle.
- chanezon 11y agohttps://github.com/mgreau/docker4dev-tennistour-app https://github.com/mgreau/docker4dev-tennistour-app is a good example of using Java EE 7 / Angular application to show how to use Docker for Java Development Arun Gupta wrote many excellent posts on how to use Docker to build Java apps: http://blog.arungupta.me/docker-tooling-eclipse-video/ http://blog.arungupta.me/docker-tooling-eclipse-video/ on Eclipse tooling for Docker, http://blog.arungupta.me/deploy-wildfly-docker-eclipse/using http://blog.arungupta.me/deploy-wildfly-docker-eclipse/using Wildfly https://github.com/chanezon/docker-tips/tree/master/orchestration-networking https://github.com/chanezon/docker-tips/tree/master/orchestr... is an example leveraging Docker Compose and swarm for a Spring Boot application. I hope these helps get you started using containers for development.
- f4stjack 11y agoThank you for the references!