Implementing a Web Blog System with SSM Framework and JWT Authentication
Building a Blog Platform with Spring MVC, Spring, and MyBatis
A web-based blog system is implemented using the SSM stack (Spring MVC, Spring, MyBatis). This platform consists of five core pages: user authentication, blog creation, blog editing, article listing, and post details. The backend is designed to fulfill the following functional requir ...
Posted on Fri, 08 May 2026 02:54:07 +0000 by cuongvt
Integrating MyBatis with Spring Framework
MyBatis-Spring Integration
Before diving into the integration, let's review the core MyBatis components.
Entity Class
package com.example.entity;
public class User {
private Integer id;
private String username;
private String password;
@Override
public String toString() {
return "User{" +
...
Posted on Thu, 07 May 2026 15:42:21 +0000 by binarymonkey
Automating MyBatis Code Generation with Maven and Plugin Configuration
Setting Up the Maven Project
Begin by establishing a standard Maven project structure to house the generator configuration and dependencies.
Configuring Maven Dependencies and Build Plugin
Update the pom.xml to include the necessary libraries for MyBatis and the generator tool. The configuration below specifies the Maven plugin responsible f ...
Posted on Thu, 07 May 2026 03:30:36 +0000 by bodzan