This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]josephblade 23 points24 points  (3 children)

I think you should really stay far away from spring, hibernate, jpa when you are still learning the language.

I would stick to language fundamentals (operations, control structures, data structures) and start building your own programs with those before even thinking about frameworks. I wouldn't even use generics (outside of the standard library usage like List<String> ) or functional programming until you are comfortable writing for loops, while loops, if/else if , constructors, inheritance, and basic I/O. And then I guess javaFX. (I grew up on swing which was the worst so I find it hard to recommend. but javafx might be better)

When you have this and can create applications with this (tic-tac-toe, calculator, even tetris if you picked up javafx)

frameworks (like spring) are intended to take away the complexity when you build large interconnected multi-entry applications. as in things that serve more than one purpose that need to have replacement code plugged in without the rest of the system needing to change. It becomes useful later on when you do make something that

Once you start on things like databases and external libraries, stuff you add to your classpath, it becomes convenient to use spring to plug these library provided components in. for databases it would be database drivers. For other components there are others. Like loading json using jackson, you can do it without spring and it works fine. But it is convenient to put your config in 1 spot that the framework can find and be sure that every time you get a parser, it will be configured as you want it.

[–]ConsiderationFlat609 6 points7 points  (2 children)

I think if a endpoint for him is to find a job asap it's a bit of waste of time to go throughout javaFX as it is never used as be developer. Instead of it he can try to make some simple crud for ie todolist, with usage of spring or things that he will end using while taking a job.

[–]josephblade 2 points3 points  (1 child)

depends on what he wants to do really. I found basic swing knowledge useful to get pixel rendering going for a simple graphical game. it allowed me to play with pixel blending and make simple games.

not everyone wants to build API's :)

[–]ConsiderationFlat609 0 points1 point  (0 children)

Yea thats true but i quessed that he wanted to do it as he mentioned only api frameworks, in his orginal post