News for hackers. Stuff that matters.
Re:Oracle’s Java 11 trap by raverbashing on Wednesday September 26, 2018 @08:36AM (#18075260)
> What is the Go equivalent of J2EE ?

I consider not having a suffocating bureaucratic "framework" that can be replaced by simpler and more straightforward constructs most of the time a feature and not a bug

But those that grow up under a bureaucracy tend to miss it

Re:Oracle’s Java 11 trap by ilikehurdles on Wednesday September 26, 2018 @08:39AM (#18075286)
The parent said Go has all that Java has to offer. I would be surprised if the standard library was in the same magnitude of size.
Re:Oracle’s Java 11 trap by Leace on Wednesday September 26, 2018 @08:49AM (#18075373)
Yes, exactly. Having used Java and many other languages for years Java's strongest point is tooling - there are high quality tools for any aspect of software lifecycle. A lot of them available for free.

Of course new languages are quickly getting more and more tools but sometimes I feel that they are just reinventing the wheel (sometimes squared). For example: it's easy to host a mirror Maven repository, the file structure is very simple, even with per-project setting. It's not that straightforward with npm or cargo, they push you into centralized model with paid private repositories (npm).

Re:Oracle’s Java 11 trap by Aaargh20318 on Thursday September 27, 2018 @05:22AM (#18083046)
> I consider not having a suffocating bureaucratic "framework" that can be replaced by simpler and more straightforward constructs most of the time a feature and not a bug

All those 'simpler and more straightforward' constructs cost a lot of extra time and effort, there's a lot of reinventing the wheel going on. Can you do something similar to just adding a field annotated with @PersistenceContext or @Resource and having a database connection injected ? Does it also allow for complete decoupling between the configuration of that datasource and the application itself ? Can it resize the database connection pools live, and then push that config change to an entire cluster, without writing a single line of extra code ?