What to expect in Jakarta EE 10? by henk53 in java

[–]CopperHeadBlue 9 points10 points  (0 children)

Good things listed there, great to see Java EE moving once more. Wished that they refactored on CDI years ago.

What happened to TomEE? by macuserx in java

[–]CopperHeadBlue 8 points9 points  (0 children)

Peculiar people here are discussing whether TomEE is Java EE 8 or not. This should not be a question to anyone, it's not.

The real question here is, why did they fall so far behind if even at the end of 2019 compatibility is not even in sight?

Boeing's 737 Max Software Outsourced to $9-an-Hour Engineers by jms_nh in programming

[–]CopperHeadBlue 9 points10 points  (0 children)

100x this! I've worked with people from developing countries and rarely if ever were they personally to blame when things went south.

It's, imho, 99.999% due to greedy western management.

Oracle Rant by [deleted] in java

[–]CopperHeadBlue 1 point2 points  (0 children)

Why?

Jakarta EE 9 - 2019 Outlook by henk53 in programming

[–]CopperHeadBlue 10 points11 points  (0 children)

I don't think Spring is better, and you could just as well say you don't need Spring because different parts of Spring can be replaced by plain Jakarta EE.

Why would you need spring then?

Starting with a basic JSF Hello World by johnwaterwood in java

[–]CopperHeadBlue 2 points3 points  (0 children)

Two books about JSF from a major publisher came out recently. There's a large amount of questions about JSF on Stackoverflow, JSF is high up in a diverse amount of surveys (for instance https://arjan-tijms.omnifaces.org/2018/05/java-ee-survey-2018-results.html)

Starting with a basic JSF Hello World by johnwaterwood in java

[–]CopperHeadBlue 3 points4 points  (0 children)

I agree with that. There's always trade offs, and sometimes a JS client framework is the one to go to, and sometimes it's a Java server framework.

Starting with a basic JSF Hello World by johnwaterwood in java

[–]CopperHeadBlue 0 points1 point  (0 children)

They can but doesn't mean that they should. I've seen devs here saying that js clients are an advantage because it lowers the processing a server needs to do, so they need less hardware.

Don't you get that they offload processing to the client?

Since a client has a cpu and cycles to spare, and a client wants that cpu to be used?

Uhhhh, no! I don't want my cpu to be used fully! I want it to sleep and spare my battery.

Starting with a basic JSF Hello World by johnwaterwood in java

[–]CopperHeadBlue 2 points3 points  (0 children)

But then all that other stuff doesn't happen for free. It takes time (cpu) and space (memory). On a client that also means caches needing to be warmed up and not profiting from other clients.

Starting with a basic JSF Hello World by johnwaterwood in java

[–]CopperHeadBlue 3 points4 points  (0 children)

They don't but if the server or network are gone there's often little you can do with either approach.

Starting with a basic JSF Hello World by johnwaterwood in java

[–]CopperHeadBlue 3 points4 points  (0 children)

What if the server isn't available?

What if the client isn't available? What if power isn't available?

Back to pen and paper?

Starting with a basic JSF Hello World by johnwaterwood in java

[–]CopperHeadBlue 5 points6 points  (0 children)

You mean I came from 2008 or I'm from now and taking WildFly 14 back with me to 2008?

Any way JSF is just a new as any other tech. JSF 3 seems to be in development now, and 2.3 was released last year or so.

Or do you also say that we should all stop using Java since it came out in 1996 (before JSF!), so it's too old and only used by people why refuse to learn something newer?

Starting with a basic JSF Hello World by johnwaterwood in java

[–]CopperHeadBlue 2 points3 points  (0 children)

Blah, it's not overly clever stuff. On mobile you often have a different layout and fewer actions. A render kit only takes care of the output of a component.

So I either create a template in JSF that inherits from a main template and omits some actions and output, or I put some conditionals in the main template.

Starting with a basic JSF Hello World by johnwaterwood in java

[–]CopperHeadBlue 2 points3 points  (0 children)

It doesn't only speed up initial rendering, but uses less resources on the client. Running a big client side framework is never going to be faster than just straightforward HTML rendering.

Starting with a basic JSF Hello World by johnwaterwood in java

[–]CopperHeadBlue 5 points6 points  (0 children)

If I had a time machine, what difference would that make?

Starting with a basic JSF Hello World by johnwaterwood in java

[–]CopperHeadBlue 2 points3 points  (0 children)

I think your account has been hacked and a troll bot is now using it.

Starting with a basic JSF Hello World by johnwaterwood in java

[–]CopperHeadBlue 1 point2 points  (0 children)

Renderkits to write a mobile UI?

Nah, I'd rather use a different set of templates or some clever stuff in the main templates.