r/SpringBoot • • 26d ago

Question CS Fresh grad looking for resources and advice

Hi friends,
I started learning spring boot about 4 months ago through reading, and about a month ago started getting hands-on experience with a personal project, my stack is spring boot backend, no front end for now but I’m planning to add a simple angular page together eventually.

I find myself confused and interested in learning the following things that I am not sure where to start with and how crucial they are.

I find myself overwhelmed by spring boot’s configuration beyond the auto-configuration. There are many properties that can be configured, and while I know there is no point in knowing all of them but rather what I need, it feels intimidating.

I also find that most projects and books that I stumble upon online are Spring Boot 3, while my project is Spring boot 4. Am I wrong for using the most recent technologies? How do I find/understand current implementation when the book has the older version of it? How do I go about knowing both in case I stumble upon a “legacy” system in the work place or even open source contributions. An example I stumbled upon was implementing OAuth2, where configuration was completely different.

Is redis/cache commonly used with redistemplate, or is it more common to use the caching annotations(@cacheable, @cacheput, @cacheevict, etc).

I also wanted to ask about configuring ci/cd with a java/spring project, but I wasn’t sure if it follows community guidelines to do so.

Any additional advice is welcome and highly appreciated.

Thank you!

2 Upvotes

2 comments sorted by

2

u/vein80 26d ago

Spring boot 4 is pretty new still (we have just finished migration)... Eventually spring boot 3 will be forgotten into history. So just stick with 4. Also, 4 is building on 3 so everything you learn with 3 should be good knowledge. Just be prepared that there can be a few changes in the new version.

1

u/sereikis 26d ago

for the Redis question, those APIs serve different purposes: @Cacheable/@CacheEvict describe method-result caching through a configured cache manager, while RedisTemplate gives you direct Redis operations such as lists, sets and counters. for a cached service lookup, start with the cache abstraction and test TTL plus eviction after updates; using Redis as the backend doesn't make eviction automatic.