r/javahelp • u/[deleted] • May 26 '19
Back-end web development path
Hi all,
I am interested in web development so will look at getting into Spring. I am learning Swing now in my Programming II class. Next is Data Structures and Algorithms. When should I jump into Swing and what are the pre-requisites? I have learned OOP, Collections API, and a bit of Swing. What is the next logical step? JDBC, Servlets & JSP as an intro, or just jump into Spring right away?
3
May 26 '19
I would learn jdbc before spring. I also wish I would have understood servlets and other networking concepts before taking on spring. Also, I suggest Chad Darby's Spring Udemy course. It's beginner friendly.
I'm guessing you meant to type Spring instead of swing. There are no prerequisites, so to speak. It's very modulated, so you can learn small parts at a time. It's good to understand the pure java equivalent to whatever you so in Spring, but it's not required. spring is huge and complex in it's own way, so you have enough on your plate with just that.
2
u/anthropaedic May 26 '19
In addition to what shaggie posted which is right on target. I’d recommend learning clean code, design patterns, agile, and cloud development.
1
u/srk- May 26 '19
I would suggest you to go through JakartaEE it is more mature now. You are lucky that by the time you are starting to learn JakartaEE it has become mature and in safe hands and open sourced.
When I was learning JavaEE6 a lot of criticism has been there and Spring has become alternative.
Now, as a person with some fair share of experience in Java, I suggest you to go through JakartaEE 8.
No need to start with Spring at least in 2019. If it was 2011 to 2018 it is ok, not now.
2
u/nutrecht Lead Software Engineer / EU / 20+ YXP May 27 '19
I would suggest you to go through JakartaEE it is more mature now.
Since the future of Java EE / Jakarta EE is unsure at best, he's better off staying away from that for now. Besides that; his Spring experience will easily transfer to Java/Jakarta EE as well.
1
u/srk- May 28 '19
Since the future of Java EE / Jakarta EE is unsure at best
For that matter, future of anything in this world is unsure.
Good luck to the OP with Spring. I am not against Spring. But, at the core it is over bloated fat jar called Spring Boot. Take a look at Play framework, spring Boot almost looks like a copy of that at least for me.
For beginners it is always good to learn the official standards that third party frameworks.
1
u/nutrecht Lead Software Engineer / EU / 20+ YXP May 28 '19
Jakata EE is in no way an official standard anymore. And it was never the de-facto standard.
And if you're claiming you're not "against Spring" but at the same time claim Spring Boot is an over bloated fat jar (it's not and never was a single Jar) you're kinda hard to believe. It's a shame Java EE fans somehow always have to make this a 'versus' thing.
12
u/shagieIsMe Extreme Brewer May 26 '19
Servlets and JSP are... less of a thing now. Building rich applications in JSPs is awkward and painful at times.
Embrace the back end. Go to https://spring.io/guides and work through some key ones:
https://spring.io/guides/gs/rest-service/
https://spring.io/guides/gs/accessing-data-jpa/
https://spring.io/guides/gs/accessing-data-rest/
and then to see how it fits together:
https://spring.io/guides/gs/consuming-rest-angularjs/
You will find yourself much happier in building these if you use Maven (or gradle) rather than trying to do it in the IDE by itself.
As to Swing? If you're interested in the back end: never. Its a nice way to get something on the screen (and many school projects use that for an interface for projects), but for actual use outside of school in the enterprise world? Nope.