r/learnprogramming • u/Then-Revolution3818 • 18h ago
Roadmap query
I'm interested in getting into web development. I know basic Java but I'm not interested in Python. Which language should I learn next? Should I continue with Java, learn JavaScript, explore Rust or consider something else? What would be the best choice for a beginner looking to build web applications?
1
1
u/bird_feeder_bird 18h ago
Javascript, you can write an entire project in a single html file and simply open it with a browser. Easiest workflow ever.
1
u/smotired 17h ago
JavaScript is vital for web development. Rust is lovely, but can only really do anything for the backend side. It also isn't used very often professionally, and the concepts are further removed from most other languages.
Learn JavaScript, then Typescript, then something like React.
1
u/FreeLogicGate 12h ago
Certainly you need the foundation of html/css/javascript/typescript for web development. You also will want to be very familiar with HTTP itself, and common API patterns like the ones people use REST for.
Beyond that, Java has its own set of standards and technologies when applied to Web application development. Those include the elements within "Jakarta EE". For example, servelets, which used to be called "Java Servlets" were rebranded as "Jakarta Servelets". Same thing with JSP's.
There are many different ways to develop web applications, and companies building enterprise systems or intranet applications might be more inclined to make use of enterprise java vs. other applications, but you will want to look into Jakarta EE, and the reasons for "enterprise java beans"(EJB)
You probably want to start this path by learning about Spring and Sprint boot. Spring is the leading java framework, and while there are alternatives that might be worth considering, you certainly will want to start with Spring/Sprint boot.
1
u/genrewhore23 6h ago
If web dev is the goal, JavaScript isn't really optional, it's what runs in every browser regardless of what backend language you pick. Your Java knowledge will help with backend frameworks like Spring later, but learn JS/HTML/CSS first since that's the actual foundation of the web.
3
u/desdotjs 18h ago
JavaScript imho :) for my website’s backend I installed drizzle orm, it lets you use JavaScript or typescript to communicate with a database instead of writing raw SQL for every operation
so your database stores the info and drizzle helps your code talk to it. there’s tools out there so id stick with JavaScript learning.
happy coding! 💕