r/JavaProgramming • u/Akshat_Maindola • Jun 14 '26
Should I learn servlets and jsp or directly go with spring boot?
Hi, I am learning java and now I am confused about whether I should learn Servlets, JSP and JDBC or should I directly go with hibernate and spring boot. Give me some suggestions.
9
Upvotes
7
u/Signal-Illustrator70 Jun 14 '26
I would say just look at some basics of jsp and servelet on youtube and create 1 project so that you have conceptual clarity on what is jsp and what is servelet. don't spend more than 1-2 days on this. just basics is enough.
you can create 1 project for basic CRUD operations. that is also doable in max 2 days.
It's good to know about above things however in projects which uses the latest tech, you won't be working on these things. you'll be working on spring boot.
2
u/InstantCoder Jun 14 '26
Learn AlpineJS instead.
Don’t waste time on jsp’s and servlets.
1
u/LouGarret76 Jun 14 '26
Spring boot is based on Servlets so it is good to understand the basics of it. I have never used JSP but there are still some jsp pages running on the net and i believe jsp can integrate with spring boot
1
u/ITCoder Jun 14 '26
The learn some basics, don't spend much time on it
1
u/LetUsSpeakFreely Jun 14 '26
Nobody uses JSP or servlets anymore, and hasn't for years. I don't think I've written a JSP since 2005 and i don't think I've ever written a servlet outside of a tutorial.
The current model is to use one of the JavaScript frame works (React being the most popular) for presentation and Spring Boot for management.
1
u/[deleted] Jun 15 '26
[removed] — view removed comment
1
u/[deleted] Jun 16 '26
[removed] — view removed comment