Hi Charles. Thanks for the question. I happen to have used Java/Jakarta EE and Spring as well. There are many similarities but also many differences between these two. I don't think we could cover these in a discussion
thread 
It's rather more of a topic of a separate book.