| ▲ | jimbokun 5 days ago |
| Sounds like Javascript's answer to Spring. |
|
| ▲ | simpaticoder 5 days ago | parent | next [-] |
| Java Spring is at root a way to combine large software components (singletons) together in a controlled manner (dependency injection). It doesn't really have an opinion on what you do with it, or even if you use it for webapps. In fairness the Servlet API (which predates Spring) was and always has been really good (which is why it's still the foundation of everything webapp in the Java ecosystem). Oddly enough, logging in Java was a mess but became really good when slf4j and logback became the de facto standard. The OP's problem is trivial in Java, Spring, Spring Boot, or Dropwizard. Java doesn't offer isomorphic React SSR, but in most cases that is a questionable feature. Most SPAs don't need or want search-engine indexing or require instantaneous-seeming load times. |
| |
| ▲ | jimbokun 4 days ago | parent | next [-] | | Spring Boot pulls in countless dependencies without warning. It can generate classes without you asking it to. It will run code just because you added a dependency, even if you don't explicitly call it. A lot of functionality is action-at-a-distance activated through annotations, which could just as easily be simple method calls which are easier to trace and debug. Version updates are aggressive about making breaking changes, sometimes seemingly for aesthetic reasons. It just adds a lot of complexity even if you don't explicitly opt in to it or need it. | | |
| ▲ | randder 4 days ago | parent [-] | | Spring Boot is not Spring (Framework). (Yes it makes use of it). |
| |
| ▲ | theflyinghorse 5 days ago | parent | prev [-] | | Best explanation of spring I have ever read. And while Spring has it's rough edges and quirks it is still an incredibly stable framework. Next, on the other hand, is a box of surprises that keeps on giving even when you think you saw it all. |
|
|
| ▲ | thr0w 5 days ago | parent | prev [-] |
| That would be Nest, not Next. A true abomination. |
| |
| ▲ | mablopoule 5 days ago | parent [-] | | I'm a bit surprised at reading that. I've tried both, Next left a bad taste in my mouth, but Nest was kinda neat. Didn't used it for anything too complicated though, so I'm curious about what sort of grievances people have against Nest. | | |
| ▲ | Aeolun 5 days ago | parent [-] | | Something, something enterprise software. I find its dependency injection harder to reason about. |
|
|