r/learnjava • • 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:

  1. HTML

  2. CSS

  3. Javascript

  4. 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.

  1. I am reading "java: A beginners guide 6th edition". Should I learn applets?? Enums??

  2. Hibernet what is this??

  3. 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

27 comments sorted by

View all comments

20

u/ignotos Oct 12 '20

JSP

If you're using a front-end framework, you probably don't need to use JSP. It can be handy to know the basics, but this is kind of outdated.

JSF

If you're using a front-end framework like React/Angular/Vue you definitely don't need this

Should I learn applets??

Applets are an out-of-date technology - they aren't really used any more

Enums??

Enums are a basic feature of the Java, which you absolutely need to know.

Hibernet what is this??

Hibernate is a tool for automating some of the work of saving/loading data from a database. It works with JDBC. You should learn JDBC first, and then look to see if Hibernate seems like it will be useful to you (once you know JDBC, you'll be able to understand what Hibernate does)

I am reading "java: A beginners guide 6th edition"

This is a fairly old book. If you like the way things are explained, then the fundamental Java stuff it contains will still be useful (that hasn't really changed). But if you're mostly interested in building modern webapps, I would skip chapters 15+, and look for other learning resources.

3

u/[deleted] Oct 12 '20

I am reading this book because it's based on javase 8. It's a stable version I recently discovered. So i guess everything in it is still relevant except applets. I also bought java the complete reference book on java se 10 maybe. I couldn't find latest books so I had to buy these. For web development is my list ok? Should I learn J2EE after core java and then spring?? Or sprint boot??

7

u/ignotos Oct 12 '20

I think chapters 15 and onwards are not really relevant to web development.

I don't really have a strong opinion about Spring vs Spring Boot etc. They all work, it's a matter of what you prefer, what the company you work for uses, or what you can find good learning resources for.

I think the minimum you need to know is:

For front-end: 1. HTML 2. CSS 3. Javascript 4. (one of) React/Angular/Vue

For back-end: 1. Core Java 2. Some kind of database, and how to connect to it with java (e.g. SQL+JDBC) 3. Some kind of backend REST framework (e.g. spring boot)

4

u/[deleted] Oct 12 '20

Okay thank you 😊