Java

Pankaj Shukla
Pankaj Shukla
1,983 Points

Should we still continue learning java after coming of javascript ?

Hi Everyone, Sorry for asking this lame question but i am very confused with this one. I've learnt java and javascript also saw the power of both. But know i am wondering with coming of electron JS should we still learn java. I mean most of the part like building web apps or desktop application is getting covered by javaScript and i just don't find java to be useful. Also the Swing and JavaFx , i don't find most of the companies asking for them. Neither much use of javaFx either. Thanks

1 Answer

Brendan Whiting
MOD
Brendan Whiting
Front End Web Development Treehouse Moderator 84,129 Points

In my opinion, the reason to learn Java would not be to build desktop GUIs, it would be to build backend services in frameworks like Spring Boot. You can do backend in JavaScript as well using node.js, but Java has a lot to offer. It's been around a long time and the ecosystem of libraries and support is very helpful. A lot of big enterprises are building and maintaining services in Java, so there are a lot of jobs.

Pankaj Shukla
Pankaj Shukla
1,983 Points

Hi Brendan thanks for replying Could u also tell the how should we approach java backend learning for start i mean have the beigneer level of knowledge of java upto generics(to be sepcific) but i never learnt any baThckend part of java could u refer any treehouse course for that ? Thanks

Brendan Whiting
Brendan Whiting
Front End Web Development Treehouse Moderator 84,129 Points

I suggest following these tracks:

Intermediate Java

Java Web Development

This is a fairly large investment of time. I don't know what your goals are and if this is the right path for you, just make sure you think it through. You can also do backend programming in JavaScript.