JDBC connects IDEA and SQL Server database

Steps of JDBC linking SQL Server database SQL Server2014 database configuration: (1). Open the installed SQL Server 2014 Management Studio, select SQL server authentication, and enter the user name (SA by default) and password, (2). Open the security login, right-click sa, select attribute status, and set whether to allow connection to the da ...

Posted by harrisonad on Tue, 17 May 2022 23:58:36 +0300

Spring IOC -- configuring beans based on annotations

Spring IOC -- configuring beans based on annotations 1. Basic use 1. Description ● basic introduction Beans are configured based on annotations, mainly components in project development, such as Controller, Service, and Dao ● the forms of Component annotation are: @Component indicates that the current annotation identifies a component @ ...

Posted by echion on Tue, 17 May 2022 23:32:07 +0300

Java Web project creation and some instructions

Development tool: IntelliJ IDEA 2021.1.1 Development environment: JDK 1.8 Technology selection: servlet+jsp+mysql Technology to help the development process: jstl JSP tag library maven jar package management lombok simplified code Database creation CREATE DATABASE shop CHARACTER SET utf8mb4; CREATE TABLE client_TB( clientId INT,clientName ...

Posted by wint.thaw on Sun, 15 May 2022 04:23:34 +0300

[Long Java Road] mybatis-plus

mybatis-plus Getting Started build table CREATE TABLE USER ( id BIGINT(20) NOT NULL COMMENT 'primary key ID', NAME VARCHAR(30) NULL DEFAULT NULL COMMENT 'Name', age INT(11) NULL DEFAULT NULL COMMENT 'age', email VARCHAR(50) NULL DEFAULT NULL COMMENT 'Mail', PRIMARY KEY (id) ); INSERT INTO USER (id, NAME, age, email) VALU ...

Posted by loureiro on Fri, 06 May 2022 04:42:39 +0300

Maven Getting Started Tutorial (IDEA Version)

content 1. Introduction to Maven 1.1 How to import the jar package in the project? 1.2 What are the problems with the traditional way of importing jar packages? 1.3 Project Life Cycle 1.4 Introduction to Maven Second, Maven installation and configuration 2.1 Maven download 2.2 Maven installation 2.3 Configure environment variables 3. ...

Posted by polybiosis on Tue, 03 May 2022 18:45:28 +0300

Java keyword: static

preface The blogger will use CSDN to record the experience and knowledge gained and learned on the way of software development and study. Interested partners can pay attention to the blogger! Maybe a person walking alone can walk very fast, but a group of people walking together can go further! Let's learn from each other on the road o ...

Posted by whatever on Sun, 01 May 2022 15:24:57 +0300

Springcloud10 springboot integrates RabbitMQ

1, Springboot integrates RabbitMQIt is analyzed in six working modes1. New project2. pom.xml<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xs ...

Posted by binarynomad on Fri, 29 Apr 2022 18:16:54 +0300

Java project: nursing home management system (java+SpringBoot+thymeleaf+HTML+Js+mysql)

Source code acquisition: download from "resources" on the blog home page! Project introduction The nursing home management system based on springboot is a background management system, which is divided into three roles: Super administrator, administrator and user. The functions of super administrator and administrator are as follo ...

Posted by Firestorm ZERO on Fri, 29 Apr 2022 05:41:34 +0300

Java Web filters and listeners

11, Filter filter 11.1 what is a Filter To access a servlet, you can go through the filter first, then access the servlet, and then go through the filter when returning. Draw a picture: That is, a layer of filter is added before the servlet. What's the use? For example, we can use it to deal with Chinese garbled code without adding such a ...

Posted by Xonnie316 on Tue, 26 Apr 2022 15:57:02 +0300

Sorting methods (8) detailed explanation 6 - quick sorting

catalogue 1. Quick sort overview Principle: Illustration: Time and space complexity: 2. Quick sort classification Quick sort (recursive version) Quick sort (recursive optimization version): (filter better benchmark numbers, and insert sort is adopted for shorter intervals) 3. Code implementation and running results main function: Quic ...

Posted by nnichols on Wed, 20 Apr 2022 17:08:29 +0300