First Java Web application (configuration of Maven and Tomcat)
How is the website accessed?
1. Enter a domain name and press enter
2. Check whether there is this domain name mapping under the C:\Windows\System32\drivers\etc\host configuration file of this machine;
① Yes: directly return the corresponding IP address. In this address, there are web programs we need to access, which can be accessed directl ...
Posted by ybinds on Sun, 05 Dec 2021 21:37:47 -0800
MacBook Air M1 is configured with java development environment Maven + IDEA
MacBook Air M1 is configured with java development environment Maven + IDEA
1. JDK configuration
At present, Zulu JDK supports M1 chip. Download Azul Zulu Builds of OpenJDK
After downloading, click Install and follow the steps. After that, enter java -version on the console
openjdk version "17.0.1" 2021-10-19 LTS
OpenJDK Runtime Environment ...
Posted by slicer123 on Sun, 05 Dec 2021 19:42:49 -0800
MyBatis framework -- multi table query and dynamic sql
catalogue
1. Multi table query
1.1 many to one
(1) The first way is to query through linked list.
(2) The second way is through nested query. ---- two queries.
one point two One to many
2. Dynamic SQL
(1) if with where
(2) [choose when otherwise] and where
(3)set tag --- modify some fields ...
Posted by Pandolfo on Sun, 05 Dec 2021 16:15:44 -0800
maven project management tool
preface
A series of materials I publish are my study, backup and use, and convenient for future review. With my continuous improvement, each article will continue to add content or expand the article, so the article I publish will be relatively long. If you brush my article, it will be helpful to you and can be collected
Enterprise archit ...
Posted by webster08 on Wed, 01 Dec 2021 19:34:08 -0800
Spring from shallow to deep
Spring
1. Introduction
1.1. What is Spring
Spring is a lightweight open source framework for layered Java SE/EE application full stack, with IoC (Inverse Of Control) and AOP (Aspect Oriented Programming) as the kernel.
It provides many enterprise application technologies such as presentation layer SpringMVC, persistence layer spring JDB ...
Posted by everydayrun on Tue, 30 Nov 2021 21:37:56 -0800
JQuery (selector focus)
1, What is jquery
John Resig released a cross mainstream browser JavaScript Library in January 2006 to simplify JavaScript operation on HTML
2, Advantages of jquery
Write less code and do more [write less do more]Free, open source and lightweight js library with small capacity
Note: i ...
Posted by daggardan on Tue, 30 Nov 2021 18:27:40 -0800
CentOS system manually deploys MySQL database
Introduction: MySQL is a relational database management system commonly used in Web site scenarios such as LAMP and LNMP. This article will show you how to install, configure, and remotely access MySQL databases on an ECS instance of the CentOS system.
Mirror download, domain name resolution, time synchronization Click Alibaba ...
Posted by iceangel89 on Sun, 28 Nov 2021 18:25:36 -0800
Maven automated build tool
Maven automated build tool
This post is reproduced from the Up Master of station B: Guard the most beautiful old Du in the world
Chapter I Introduction to Maven
1.1 stages in software development
Need analysis: analyze the specific functions completed by the project, what requirements are there, and how to implement them.
Design stage: acc ...
Posted by pearjam on Fri, 26 Nov 2021 08:27:10 -0800
Construction of international distributed WEB UI automation test platform
One background
With the rapid development of the Internet industry, web-based business and processes become more cumbersome and iterative faster. Traditional manual testing can not meet the market demand. In order to reduce the labor cost of regression, rapid iteration and automatic testing are the inevitable trend. This article mainly int ...
Posted by MasterACE14 on Thu, 25 Nov 2021 20:23:07 -0800
Create the first Spring application
Development tool preparation
Development tool: idea2017 up Dependency management: Maven 3 or above JDK: above 1.8
Creating a Spring project using Maven
Select MavenCheck Create from archetypeSelect Maven archetype QuickStart
Created successfully
Creating a Spring project using Java Enterprise
Default Version generally selects Java ...
Posted by stonelord on Tue, 23 Nov 2021 16:33:03 -0800