r/learnjava • u/desktoppc • Dec 12 '20
[ASK] How to Learn Java Spring?
I have a background in backend development using Python Django, but now I have to use Java Spring. I can do programming in Java but haven't used Spring.
But the problem is there are so many Java Spring framework like Hibernate, Security, MVC, etc. In addition, I also see that we have to define our ORM implementation like how to make the SQL query, etc. I haven't done anything like that because in Python Django the ORM implementation has been made by the framework.
I would like to learn how to make a REST API as most of the backend job required this for Junior Engineer (Fresh Graduate), how do I start? do I need to learn all java spring framework?
78
Upvotes
5
u/[deleted] Dec 12 '20
You don’t need to know too much spring to make a basic rest api. If you know how to connect and communicate (CRUD) with a database that’s a big part. If you want a microservice design check out eureka with spring cloud to communicate among your services. If you understand the basics of spring (auto-injection, some basic annotations, @component @configuration, @entity ) making a rest api shouldn’t be too hard. Check out java brains, he has a ton of good stuff on spring and rest api