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

1

u/slowfly1st Oct 13 '20

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

I checked the table of contents. Applets / Swing / JavaFX you don't need to learn for web development. Maybe read the chapter, so you have heard of it, know what it does and when you could use it.

Hibernet what is this??

Hibernate is an OR Mapper, as well as a JPA implementation. But I suggest you learn Databases and SQL first, if you want to go that path.

There is fight between J2EE and spring and spring boot. What should I learn first??

Well, JEE as well as spring are huge:

JEE Specs

spring initializr (click the add dependency button)

Both JEE and spring solve lots of problems and lots of similar ones. For a simple web app you can have a frontend written in one of those frameworks you've listed and on the backend spring core, spring boot, spring web for a rest backend and spring data/hibernate. Or a JEE application server with cdi, jax-rs (restful) and jpa/hibernate.

I've worked with both, personally prefer to work with spring. But the underlying concepts are more important to learn. A restful service is still a restful service, the technique of dependency injection doesn't change from one technology to the other, HTTP is older than java, and sql will always be sql.