Hacker Newsnew | past | comments | ask | show | jobs | submit | gnulinux996's commentslogin

What is the Java equivalent of Django?

I really love django and everything around it, but I would also like to write a webapp in Java.

Getting django + rest_framework up and running and actually be productive takes me max 10 minutes, trying to do the same with spring boot I am a week in and I had to open the jakarta specs to understand the magic.



Java honestly just does not have this. By the time java collectively decided that being able to spend your time writing your actual product instead of fucking with config shit forever, the age of the monolithic SSR templated backend app were gone. So now most modern things like helidon focus on being microservicey like go, or they have very soft template rendering offerings and don't really do batteries included.

I feel your pain, I myself am working on a react frontend + spring boot backend and fiddling with it to integrate with spring session, security, etc properly was a HUGE pain because neither world knows anything at all about each other. If I did it from scratch I'd just "rails new myapp" and be done already.


Isn't there Thymeleaf that alleviates that?


Forgive me, but thyme leaf is soft compared to ERB and jinja.


There used to be JHipster, not sure if still around


I'm not sure why people aren't saying Spring Boot, but Spring Boot. Yeah it has heaps of other batteries included, and it doesn't have a built-in admin, but it gives you pretty decent stuff out of the box


> Interesting how many people in a hacker forum seem to be so pro-establishment

Here's my perspective:

1) Coastal liberal inner city males with a tech flair and an interest in Apple, have decided that due to lack of social skills and/or inner circle it would be good to keep themselves busy with creating a business. Actually, business is a Republican term, let's call it a startup, - hold that rainbow flag for me will you -.

2) They start to realize, that startups operate in an environment with rules, their "business plan" eventually bumps into those rules. Those rules are what made their piece of land - commonly called a country - a nice place to live.

3) Meanwhile, various interests parade on "news" outlets telling the constituents that "rules bad for business, business made us great, everything else tried has failed".

4) Deregulation is the pill, libertarianism/freedom/liberty talk is the bacon wrapped around it

5) The city male realizes that he has more in common with the bigshot businessman that he thought, its only a few billions that set them apart

6) Furthermore, it has been accepted as an axiom that anyone can make it in US (immigrant went from poor being rich feelgood story on cnbc anyone?)

Business establishment is legitimate power in the US, also they are not being pro-establishment, they are being pro let-me-do-this-thats-the-only-thing-i-have-going-for-me

Also, let's ditch the terms good/evil. They are straight up juvenile.


It's not that deep lol.

Half the readers here work for the FANGS.

"Don't talk shit about the hand that feeds you" and all that.


I feel like your take is what an Apple PR person might say in order to downplay Apple's defeat.


Hah, right? Everyone understands that Apple wouldn't have done anything by themselves if it wasn't for the DMA.

The whole selling point of Apple was that as long as you're inside the ecosystem, you'll get the smoothest experience. Well, now the law says that devices, apps and products from third parties should be able to be used on an iPhone as seamlessly as Apple's own products, of course they wouldn't have given that up willingly.


> If we take "Israel" out of the equation

No, I don't think I will.

Since when is talking about Israel controversial?


> I feel like this kind of discussion hinges on a misguided belief that farmers are not very smart businessmen.

I feel like assuming that the farmers are competent businessmen capable of understanding the ups and downs of GMOs is in disagreement with reality and mostly used to drive "free marketeering / deregulation" agendas.


It's the same argument they make for why we don't need food safety rules. Intelligent and rational people will be able to work out that the cheap carcinogenic additive is bad and therefore won't buy it and the company will do better and it's just fine. Right? Right? If they don't they're probably too stupid and probably poor and only have themselves to blame. It's just business.

Never mind that the the exact same kind of people are simultaneous lobbying for the elimination of (quote) "unjustified trade restrictions or commercial requirements, such as labeling, that affect new technologies, including biotechnology" (https://www.law.cornell.edu/uscode/text/19/4201)


The West has not been trying to protect their market? What do you thing those wars have been all about?

Freedom, liberty and the pursuit of happiness?


> current gen console aren't enough to deliver smooth immersive graphics

The Last of Us franchise, especially part 2 have been the most immersive experiences that I have had in gaming.

This game pretty much told me that the PlayStation is more than capable of delivering this kind of experiences.

Now, if some of those high budget so-called AAA games cannot deliver not even a fraction of that - I believe - is on them.


> raises the question of whether they can see cables

Should the drone's vision be comparable to a humans though? I feel like drones can either see or don't. If we go and try to tackle every corner case then nothing would come of it.

Also, do I - as a citizen - have to bear the externalities of Amazon's beta testing?

> Genuinely curious what the solution here is

Walk to the store to get your package.


Newer DJI drones can see cable down to 4mm using LIDAR and other methods. So yeah, Amazon has some catching up to do.


Humans can’t really see cables when flying either. Drones need to be better.


> they told me

> I know for a fact

That's not what a fact is; if we took everything written on businesswire or what the business owners / salespeople told us at face value then we'd be in deep trouble.


> Our kids' co-op preschool went out of business last year

The fact that schools can go "out of business" is incredible. The more I get in contact with everything American, the more left I lean.


Preschool is just daycare with structure, so it costs more. Optional, privately owned. Nice to do 2-3 days a week for young kids to give them more social and learning opportunites. But it’s not public school, it’s usually just a small locally owned business.


And this was a co-op preschool, which is a special variety of private preschool (usually non-profit) where the parents are usually involved in classes with the kids and much of the maintenance of the school itself is handled through volunteerism of member families.

My wife served as treasurer for the penultimate year, saw the writing on the wall, and then turned the position over to someone else to actually wind down the school. The model just doesn't work where we live: it requires a large number of single-income families so that one parent can be full-time involved in the kids' upbringing, and housing prices are such that single-income families cannot afford homes in the area. As a result, their market just evaporated. People just can't do it anymore.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: