Java/Kotlin
-
There are two Kingdom on the Authentication continents, Session and JWT. The war between them never stop, but what's the difference between them and which one to use? Should I use JWT because it is so cooool? I'll share my idea in this article
-
Register and verification workflow
Try to implement a register workflow for my Spring Boot application
Authentication and Register is a key point of cyber security and a modern application. Although many web company provides authentication services (e.g. Firebase, Auth0), I want to implement a self-managed authentication system, for study (and resume). In this article, I will try to design a register workflow, including email verification.
-
I've been using MyBatis for a long time to write dynamic SQL for Spring Boot application. However, each time I need to write many mappers and '.xml's. Moreover, when I want to integer cache with mapper, I need to create another repository, implement logic or add the '@Cachable' in it, and ensure I am using repo, not mapper. ChatGPT recommend jOOQ for me, say it is Type-Safe and SQL-first. 🤔, let's give it a try.