News for hackers. Stuff that matters.
Re:Java EE Is Moving to the Eclipse Foundation by tannhaeuser on Wednesday September 13, 2017 @02:07AM (#15235931)
They do for legacy apps only, though, since JSP, JSF and everything on top of it, such as portlets and faces component libs, has been obsolete for many years now. Handling UI state on the server just doesn't make any technical sense when there are React, Angular and Co as mainstream GUI kits.

I guess there are still those shops maintaining intranet apps, and for whom it is a priority that everything is 100% Java, or who can't or don't want to invest into JavaScript or another web stack, but I think a responsible consultant should tell these customers that their stack is on life support now.

Re:Java EE Is Moving to the Eclipse Foundation by cjsuk on Wednesday September 13, 2017 @02:23AM (#15235971)
A lot of enterprise companies aren't buying in JS frameworks because the velocity of those frameworks is too fast. I kind of agree. When you have 50,000 desktops, a 6 month lead dragging a pile of apps over to a new browser is a nightmare scenario. All it takes is one app which the vendor doesn't give a shit about and one internal app deprecating an IE version used by 50 users due to a JS framework change in a branch office and there's a headache from hell on your plate.

Fortunately they're all starting to kick out chrome for business now.

Re:Java EE Is Moving to the Eclipse Foundation by tannhaeuser on Wednesday September 13, 2017 @02:41AM (#15236039)
Maybe for those customers it might make sense to donate to the Eclipse foundation to keep JSF etc. alive and to keep Java-only devs afloat? But then maintenance of J2EE has ceased because it's not economically feasible.
Re:Java EE Is Moving to the Eclipse Foundation by cjsuk on Wednesday September 13, 2017 @02:52AM (#15236078)
It probably would but it won't happen. It's difficult getting anything like that through the layers of purchasing hell.

If they provided a web site with pictures of boxes of software for min $2000 that never arrived and didn't do anything it might work better. The moment someone says "donate" the bean counters start sharpening their pitchforks.

Re:Java EE Is Moving to the Eclipse Foundation by eecc on Wednesday September 13, 2017 @09:02AM (#15237815)
How about labelling that button "support" or "maintenance contract"?
Re:Java EE Is Moving to the Eclipse Foundation by cjsuk on Wednesday September 13, 2017 @10:18AM (#15238481)
That just gets the legal guys on the case.
Re:Java EE Is Moving to the Eclipse Foundation by pjmlp on Wednesday September 13, 2017 @02:58AM (#15236103)
We have customers were using Chrome is a security risk, because they cannot control its deployments like on FF, IE and Edge.
Re:Java EE Is Moving to the Eclipse Foundation by cjsuk on Wednesday September 13, 2017 @03:12AM (#15236166)
Fortunately that excuse is no longer valid as they have GPO templates, MSI packages, the lot: https://support.google.com/chrome/a/answer/7358568
Re:Java EE Is Moving to the Eclipse Foundation by pjmlp on Wednesday September 13, 2017 @08:00AM (#15237412)
Thanks for the heads up, unfortunately it won't change the IT internal guidelines.
Re:Java EE Is Moving to the Eclipse Foundation by cjsuk on Wednesday September 13, 2017 @08:01AM (#15237419)
This is when I tend to find a new company to work for :)
Re:Java EE Is Moving to the Eclipse Foundation by pjmlp on Wednesday September 13, 2017 @10:21AM (#15238519)
Except that these cases are not my employer rather some customers.

In any case, I am pretty much against the mentality here that it is to switch jobs just because something isn't nice and shinny at the current employer, or customer.

Not every place on Earth is like SV avid for software developers.

Re:Java EE Is Moving to the Eclipse Foundation by Delmania on Wednesday September 13, 2017 @08:47AM (#15237731)
Most of those companies use AngularJS for that specific reason. It's stable, well tested and documents, and it works.
Re:Java EE Is Moving to the Eclipse Foundation by pjmlp on Wednesday September 13, 2017 @02:56AM (#15236094)
What part of greenfield projects haven't you understood?!

Fads come and go, Java stays strong.

Many enterprise favor having mature technologies they can count on.

A responsible consultant should never advise customers adopting the cool JavaScript framework of the Month (TM), unless it is for building curriculum and write cool "We migrated to tech XXXX" blog posts.

Re:Java EE Is Moving to the Eclipse Foundation by tannhaeuser on Wednesday September 13, 2017 @05:17AM (#15236682)
No reason to be rude.

You do realize TFA is about putting J2EE to rest, don't you? I'm well aware of Java's qualities on the backend, but ignoring browser innovation for 10 years (iPhone and the push for responsive) or even 15 years (Ajax) isn't good advice IMHO.

For better or worse, the same developer attitude and deployment constraints that made Java developers never look beyond the Java ecosystem is happening with Node.js developers, now that Java doesn't give you a full stack anymore (ignoring gwt and echo, which have been deprecated for 5+ years now as well).

Re:Java EE Is Moving to the Eclipse Foundation by pjmlp on Wednesday September 13, 2017 @07:58AM (#15237401)
Our Java tools keep giving us a full stack.

Talking about fads, the so modern JavaScript frameworks now have discovered how to optimize user experience on mobile by doing, guess what, server side rendering!

Re:Java EE Is Moving to the Eclipse Foundation by sk5t on Wednesday September 13, 2017 @07:52AM (#15237357)
No more full stack in Java? How about Play, Vaadin, Spring...
Re:Java EE Is Moving to the Eclipse Foundation by tannhaeuser on Wednesday September 13, 2017 @09:41AM (#15238115)
Don't get me wrong, I heard good things about Play, but isn't it Scala? Vaadin I know only from a customer of mine who are using it for server-rendered charting apps and I guess it works well in that capacity. And Spring MVC in 2017? Come on.

My point being that these frameworks are chosen because the options are limited to what's available on the JVM, trading last-gen Java know-how against younger (and sexier) know-how.

It's also a miracle to me why JavaScript isn't more popular with Java developers, of all people, when in fact Java has two mature JavaScript engines, and JavaScript certainly is interesting from a bridge/migration perspective. Years ago Oracle and RedHat had even partial Node.js ports, but it never went very far.

Re:Java EE Is Moving to the Eclipse Foundation by sk5t on Wednesday September 13, 2017 @10:55AM (#15238853)
Play is for Scala and Java too. Vaadin does much more than charts--although its wrapping of highcharts is pretty nice--and is quite pleasant if you'd rather write Java than HTML and its close relatives.

I guess from the Java perspective, Javascript does not look too sexy, as it is a small but dangerous / unhelpful language with an uncompetitive-to-Java library ecosystem. TypeScript is great however.

Re:Java EE Is Moving to the Eclipse Foundation by tannhaeuser on Wednesday September 13, 2017 @12:58PM (#15240185)
> uncompetitive-to-Java library ecosystem

React, Webpack, CSS compilers and pretty much all other modern frontend (compile-time) asset tools are running on Node.js and install from npmjs.com. Node.js is also perfect for a shallow web-facing container developed along with the front-end as a complement to Java-based (mini/SOA/whatever)-services. So I think it's quite useful to make Node.js workloads run under the JVM.

Re:Java EE Is Moving to the Eclipse Foundation by pjmlp on Wednesday September 13, 2017 @01:13PM (#15240347)
When we talk about rich libraries we mean actual libraries for generating PDFs, reading barcodes, report generation, talking with all kinds of enterprise databases, GPU programming, parallel distributed algorithms, embedded development...

Not yet another packaging tool or fait-divers like pad left.

And the majority of them written in pure Java, not C++ wrapped in a JavaScript API.

Re:Java EE Is Moving to the Eclipse Foundation by tannhaeuser on Wednesday September 13, 2017 @01:35PM (#15240572)
> When we talk about rich libraries we mean actual libraries for generating PDFs

I was specifically talking about web libraries/tools, though. Nobody is saying Java backend development must be abandoned in general.

Re:Java EE Is Moving to the Eclipse Foundation by pjmlp on Wednesday September 13, 2017 @02:08PM (#15240921)
How do you generate a PDF on such a cool JavaScript front end application?

Hint, you don't. Just hope that the browser does a good job with print to PDF, or run a server side pile of shell scripts, using LaTeX and Postscript, instead of a plain simple library.

And this is just one example from many, where JavaScript/Web sucks on the front-end.

Also Android is front-end development.

Re:Java EE Is Moving to the Eclipse Foundation by znpy on Wednesday September 13, 2017 @04:33AM (#15236503)
A lot of enterprises like to have a solid runtime with proper multi-threading, a comprehensive library set and a stable, well-defined API.

Ask yourself why of all the languages and runtime, it's mostly Java running the enterprise world.

Re:Java EE Is Moving to the Eclipse Foundation by tannhaeuser on Wednesday September 13, 2017 @01:04PM (#15240253)
But I haven't questioned Java as a backend technology.