r/learnjava • u/[deleted] • Oct 12 '20
Path to java web development
After reading some questions answer here in this group about web development with java, this is what I found:
For front-end:
HTML
CSS
Javascript
React/Angular/Vue
For back-end: 1.serverlets 2. JSP 3. JSF 4. JDBC 5. Spring/spring boot 6. Core java
Now I have some questions.
I am reading "java: A beginners guide 6th edition". Should I learn applets?? Enums??
Hibernet what is this??
There is fight between J2EE and spring and spring boot. What should I learn first??
If I am missing something in this list plz cmnt. My aim is to build web apps and android apps. But for now I am aiming to build web apps and websites. I want to use java in backend. I know HTML, CSS and JavaScript.
46
Upvotes
5
u/Cinghiamenisco Oct 12 '20
For back-end: 1.serverlets 2. JSP 3. JSF 4. JDBC 5. Spring/spring boot 6. Core java
JSP aren't used anymore (thanks God) since thet have been 'replaced' by JSF technology. Anyway, if you're planning to use Angular/React for front-end development, you can skip JSF aswell.
I'm gonna be honest. Java EE (Precedently called J2EE) is pretty hard to start with. It requires some clunky configurations that might demotivate someone who just wants to learn stuff.
In my opinion, you should learn Spring first. With spring boot Is WAY easier to setup a projects, and It Just "magically" works.
Later on, when you're confident, you can look at Java EE to have a Better understanding at how those magic things works. (Or you can Simply skip JavaEE, since a lot of workplace are migrating to Spring).
JDBC is useful, but It requires at least a bit of knowledge about databases. Once again, spring has "Spring data" that abstracts A LOT of the difficulties about database connections.
And once again, I'd start with that (Spring data), and slowly become friend with SQL, queries, JPA, and lower level JDBC stuff.
I am reading "java: A beginners guide 6th edition". Should I learn applets?? Enums??
I don't know about the book, but "applets" are old stuff for sure, and they are not supported anymore.
I'd go for the basics chapters, and then I'd switch to another book/tutorial.
2. Hibernet what is this??
Well, technically, is a "JPA provider. It implements the JPA specifications"
A more friendly answer: "Is a set of extra 'rules' and methods and annotations, that will let you easily read/write stuff into the database"
It Is very used worldWide, and very useful, but as I said before, you might Need to have a bit of Database knowledge before diving into It.
3. There is fight between J2EE and spring and spring boot. What should I learn first??
J2EE Is the old name. Now it's just 'Java EE'
Anyway, I'd say go for Spring. Totally.
Easier to setup, easier to work with, funnier, and full of cool functionalities.