- Building Web Apps with Spring 5 and Angular
- Ajitesh Shukla
- 496字
- 2021-07-02 19:38:25
Introduction to Docker
In this section, we will learn about Dockers and related concepts. The primary reason why Docker was introduced is that Docker is a virtualization technology which helps IT organizations, including developers, QA, and IT staff, achieve some of the following:
- Helps to create cloud-native applications by containerizing apps/microservices using Docker. Note that Spring Boot is used for building microservices. These Spring Boot apps/microservices can be containerized using Docker, and deployed and managed on any Cloud platform using container-orchestration tools such as Kubernetes, Mesos, Docker Swarm, and so on. Thus, it is important to get an understanding of Docker.
- Enhances application portability by enabling Dev/QA team develop and test applications in a quick and easy manner in any environment.
- Helps to break the barriers between the Dev/QA and Operations teams during the software development life cycle (SDLC) processes.
- Optimizes infrastructure usage in the most appropriate manner.
In this section, we will emphasize the first point in the preceding list, which would help us set up Spring web application development in a quick and easy manner.
So far, we have seen the traditional ways in which we could set up the Java web application development environment by installing different tools in independently, and later, configuring them appropriately. In a traditional setup, one would be required to set up and configure Java, Maven, Tomcat, MySQL server, and so on, one tool at a time, by following manual steps. On the same lines, you could see that all of the steps described in the preceding sections have to be performed one-by-one manually. The following are some of the disadvantages of setting up development/test environments in this manner:
- Conflicting runtimes: If a need arises to use software packages (say, different versions of Java and Tomcat) of different versions to run and test the same web application, it can become very cumbersome to manually set up the environment having different versions of the software.
- Environments getting corrupted: If more than one developers are working in a particular development environment, there are chances that the environment could get corrupted due to the changes made by one developer which the others are not aware of. That, generally leads to developers/teams productivity loss due to the time spent in fixing the configuration issue or re-installing the development environment from scratch.
- "Works for me" syndrome: Have you come across another member of your team saying that the application works in their environment although the application seems to have broken?
- New Developers/Testers on-boarding: If there is a need to quickly on-board the new developers, manually setting up the development environment takes some significant amount of time depending upon the applications' complexity.
All of the preceding disadvantages can be taken care of by making use of the Dockers technology. In this section, we will learn briefly about some of the following:
- What are Docker containers?
- What are the key building blocks of Docker containers?
- Installing Dockers
- Useful commands to work with Docker containers
- Java多線程編程實戰指南:設計模式篇(第2版)
- Intel Galileo Essentials
- 算法基礎:打開程序設計之門
- Java入門很輕松(微課超值版)
- MySQL 8 DBA基礎教程
- Getting Started with CreateJS
- 64位匯編語言的編程藝術
- Mastering Google App Engine
- PhpStorm Cookbook
- BeagleBone Black Cookbook
- Learning AngularJS for .NET Developers
- 詳解MATLAB圖形繪制技術
- INSTANT Yii 1.1 Application Development Starter
- PHP編程基礎與實踐教程
- Cocos2d-x Game Development Blueprints