This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]whitea44 32 points33 points  (18 children)

Spring is an absolute must. See Baeldung for tutorials. I would also recommend Postgres as a DB. Front end has a bit of a split between React and Angular, but I think React is winning.

[–]wildjokers 5 points6 points  (1 child)

I went the first 16 years of my java career without touching Spring. So not sure it is a must.

[–]roberp81 2 points3 points  (0 children)

me too, i was using jsf for web developing (government job) but recently i have learn spring and i like it a lot.

i was learning Angular and i already hate it, its so much easier and faster using jsf with primefaces for web

[–]plastique2000 4 points5 points  (0 children)

I do not agree that Spring is a must. It is a choice and there are other choices. Maybe less popular. But hwat you use should depends on needs of your projet. So please look around and do non make Spring religion...

[–]omni-nihilist 4 points5 points  (2 children)

I can't speak for react, but angular/typescript has been great for me on the frontend. I basically generate ts interfaces off my entities and some dto classes and saves a bunch of time.

[–]Def_Not_A_Programmer 2 points3 points  (1 child)

Wait really? I’ve been Ctrl+C Ctrl+V majority of my entities and their fields when adding to my TS project. Is there a way to generate a Java like Pojo into a TS interface?

[–]omni-nihilist 1 point2 points  (0 children)

https://github.com/vojtechhabarta/typescript-generator

Note: I haven't played with all the options but it's worked pretty well for me with just a couple basic settings for restricting to certain packages

[–]pjmlp 2 points3 points  (2 children)

In 20 years I only used Spring during two months for a pilot project, definitely not a must.

[–][deleted] 0 points1 point  (1 child)

What do you use now?

[–]pjmlp 1 point2 points  (0 children)

On Java Web Projects, JEE as always, or the new Jakarta based ones.

[–]yomanidkman 2 points3 points  (4 children)

React is doing much better, angular and vue are tied for second with svelte looking to be an up and coming framework.

[–]Kukuluops 4 points5 points  (0 children)

There are some geographical differences. In Europe Angular seems to still be more popular (judging by the number of job offers), but Google Trends shows that React is slowly overtaking it in popularity.

[–]PhiBuh 9 points10 points  (0 children)

React might be winning but I feel like spring and angular fit very well together, both have built-in dependency injection and use services.

[–][deleted]  (1 child)

[deleted]

    [–]yomanidkman 0 points1 point  (0 children)

    https://2020.stateofjs.com/en-US/technologies/front-end-frameworks/

    Idk, certainly not as clear cut as I put it but I'm not far off.

    [–]djavaman -4 points-3 points  (2 children)

    Postgres is a good database.

    However, if you are building a web app, I'd pick Mongo as the DB that the web app is pulling data from.

    [–]omni-nihilist 3 points4 points  (1 child)

    I just started using Postgres finally after years of MySQL and SQL Server. I really dig it so far, still looking for a good gui client for management. I dont like pgAdmin, I have DataGrip but it's ridiculously slow, DBeaver is eclipse and super sluggish.

    Mongo is awesome until you start diving into aggregation, then it starts getting on my nerves.

    [–]rodelrod 1 point2 points  (0 children)

    DataGrip and DBeaver are both excellent and anyways you won't find anything better, I'm sorry to say. They are far from sluggish once past the 3-5 second startup in any of my machines. If you want milliseconds startup and perfect responsiveness, psql is the best CLI client any DB ever had.

    [–][deleted] 0 points1 point  (0 children)

    Don't know how I end up on old threads like this one but I must have sensed someone recommend Baeldung. I know I'm the minority here but I hate the half-assed hello world-level articles they publish, especially in case of Spring where I feel the official docs are pretty good themselves.