[docker compose] from building an image to running a Java project with one click

Let's start with a question. How many steps does it take for a new machine to run a regular spring boot project? 1. Download and configure java environment, mysql environment and redis environment (step 6) 2. Initialize mysql database and import sql files (step 2) 3. Download the jar package and start (step 2) As like as two peas Ling Wan ...

Posted by ryochiji on Wed, 17 Nov 2021 20:19:44 -0800

Springboot sharding JDBC integrated environment preparation

Only when you know your age and try your best to do well what you can do at this age can you have the freedom of the next age 1, Overview   Shardingsphere Jdbc is positioned as a lightweight Java framework and provides additional services in the Jdbc layer of Java. It uses the client to connect directly to the database and provid ...

Posted by victor on Wed, 17 Nov 2021 17:43:43 -0800

Getting to know gin framework

Introduction and use of Gin framework Gin is a web framework written in Go language. It is an API framework similar to martini but with better performance. Due to the use of httprouter, the speed is increased by nearly 40 times. If you are a performance and efficiency seeker, you will fall in love with Gin. Go is the most popular web framew ...

Posted by StroiX on Wed, 17 Nov 2021 04:51:48 -0800

python+mysql+tkinter student information management system

requirement analysis (1) Using mysql to store student and administrator information (2) The graphical interface is created through tkinter module to realize the login of the administrator, the addition, deletion, modification and query of student information, and the modification of the administrator's own password. Whole engineering class an ...

Posted by ViN86 on Wed, 17 Nov 2021 04:36:53 -0800

MySQL - custom variable and statement end separator

Stored program Sometimes, in order to complete a common function, many statements need to be executed. It is very annoying to enter so many statements one by one in the client each time. The uncle who designed MySQL kindly provided us with something called a stored program. This so-called stored program can encapsulate some statements, and the ...

Posted by ThEoNeTrUeAcE on Wed, 17 Nov 2021 03:30:40 -0800

Implement RBAC permission management in Egg.js

What is RBAC? RBAC is a role-based permission access control. In RBAC, permissions are associated with roles. Users get the permissions of these roles by becoming members of appropriate roles, that is, permissions are bound with roles. RBAC permission management tree Role management Add role When submitting through post in a static ...

Posted by modulor on Tue, 16 Nov 2021 16:25:58 -0800

Learn Spring Boot: hot deployment using devtools

preface Spring boot devtools is a module for developers. The most important function is to automatically apply code changes to the latest App. The principle is to restart the application after finding that the code has changed, but the speed is faster than restarting after manual stop. Faster does not refer to the saved manual operation tim ...

Posted by shawngoldw on Tue, 16 Nov 2021 08:35:17 -0800

Constructor and destructor of single inheritance derived class

#include <iostream> #include <cstdio> #include <cmath> #include <climits> #include <iomanip> #include <windows.h>// #include <iostream> #define MAX(x,y) (x)>(y)?(x):(y) #include <string.h> using namespace std; class A { public: A() { a=0; co ...

Posted by blackwidow on Tue, 16 Nov 2021 05:17:43 -0800

Binary installation MySQL and MySQL addition, deletion, modification and query

1. Introduction to MySQL MySQL is a relational database management system developed by Swedish MySQL lab company, which is a product of Oracle. MySQL is one of the most popular relational database management systems. In terms of web application, MySQL is one of the best RDBMS(Relational Database Management System) application software. My ...

Posted by hightechredneck on Fri, 12 Nov 2021 14:52:53 -0800

One-to-many relationship processing in Mybatis basic learning

Preface: Hello, ladies and gentlemen, I'm running like a snail rz. Of course you can call me Snail Jun. I'm a beginner who has studied Java for more than half a year. At the same time, I have a great dream that I will become an excellent Java architect one day. This Mybatis Basic Learning series is used to record the whole process of ...

Posted by ataylor20 on Fri, 12 Nov 2021 13:55:50 -0800