Docker + Java + SpringBoot WEB development hands-on attendance memo (2019/08/19)

Purpose of participation

Part of Development language / framework information collection for business system development (2019 version).

Hands-on Seminar Overview

Docker + Java + SpringBoot WEB Development Hands-on 2019/08/19

--Target person --People who want to create web applications in Java --People who want to build an environment with Docker --People who want to understand how Docker works

--Main contents Hands-on from building a DB in a Docker environment to creating a WEB application in an STS development environment. What is Docker? Starting from that point, we created a DB environment and Create a simple web app using the Spring Boot framework in that environment.

  1. Environment settings for each OS
  2. Docker environment construction (Postgresql)
  3. Create Spring Boot app
  4. Docker overview
  5. Registration function (if you have time)

What I learned

--I was able to build a Docker environment in a Windows 10 environment and execute docker-compose. --I was able to get an overview of the Web application configuration file by Spring Framework and a series of construction procedures.

Being addicted

--Proxy problem --Since you were working in your own NW environment, you need to set proxies in various places. --STS proxy settings --Proxy settings for STS (Set proxy information from Window-> Settings-> General-> Network Connection) --Maven proxy settings --Modified file % USERPROFILE% \ .m2 \ settings.xml --Correction details See below

python


<?xml version="1.0" encoding="UTF-8"?>  
<settings xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd">  
  <proxies>  
    <proxy>  
      <id>http_proxy</id>  
      <active>true</active>  
      <protocol>http</protocol>  
      <host>proxy.example.com</host>  
      <port>8080</port>  
      <username>********</username>  
      <password>********</password>  
    </proxy>  
    <proxy>  
      <id>https_proxy</id>  
      <active>true</active>  
      <protocol>https</protocol>  
      <host>proxy.example.com</host>  
      <port>8080</port>  
      <username>********</username>  
      <password>********</password>  
    </proxy>  
  </proxies>  
</settings>``` 

       


Recommended Posts

Docker + Java + SpringBoot WEB development hands-on attendance memo (2019/08/19)
Java development environment memo
[Eclipse Java] Development environment setting memo
docker memo
Java memo
Creating a java web application development environment with docker for mac part1
Spring Boot + Docker Java development environment construction
[Personal memo] Java development environment is ready
Create a java web application development environment with docker for mac part2
Make SpringBoot1.5 + Gradle4.4 + Java8 + Docker environment compatible with Java11
Build a development environment for Docker, java, vscode
Java development training
docker tutorial (memo)
java anything memo
Docker operation memo
Java Silver memo
[Java development] Java memory
java, maven memo
Docker command memo
Java development environment
Java SE 7 memo
[Memo] docker summary
java anything memo 2
/ n \ n docker java
Docker + Spring-boot start
Java specification memo
Java pattern memo
Modal representation of Web service page transitions [Development memo]
Build Java development environment with WSL2 Docker VS Code
Try to build a Java development environment using Docker