r/javahelp • u/vkhacbao • Jun 21 '20
JAVA CORE PLUS SPRING
When programming web applications with the Spring Framework, are Java Core's algorithms important and applicable to Spring? For example, arrays, backtracking, binary trees, ... are applied to the Spring framework or not and is it necessary to learn good data structures and algorithms in Java Core? How are they applied to Spring? Thanks📷
1
u/NautiHooker Software Engineer Jun 21 '20
they are not applied to spring directly. it depends on what kind of application you are creating.
1
Jun 21 '20
Spring is a framework that makes your web application development easier. This is done because it handles most of the common and recurring things that has to be done while building an application like creating objects, dependency injection, error handling. Your work is to build the view, controller and the business logic. The algorithms which you have to use depends on your business logic. So, it's better to learn the basic data structure and algorithms if not advanced.
2
u/joranstark018 Jun 21 '20
I'm not sure I understand your question, but, Spring Framework may help you with some aspects of an (web) application (ie dependency injection, routing, translating and verifying data from requests), you still have to provide the business logic of the application which may include usage of different algorithms, datastructures and third party libraries.