News for hackers. Stuff that matters.
Re:The myth of using Scala as a better Java by nolok on Thursday March 02, 2017 @08:01AM (#13773706)
Thinking of it, SOAP is the most Java-like thing taken to the extreme that I can think off.

Needlessly complex, dozens of imbricated layers that no one knows why they even exist, cult of "the library and server will do it for you, you don't need to know how that works", and when the library invariably fail on some obvious stuff you're left hanging with inscrutable XML files and no decent way to debug the exact layer that fails, with every thread mentioning that issue on the web being met by a variation of "you shouldn't be doing that" or "add this additionnal middleware layer to solve it"

All of that to send two ints and get one back.

Re:The myth of using Scala as a better Java by k__ on Thursday March 02, 2017 @08:37AM (#13773874)
Hehe, yes.

I had to write a SOAP endpoint last week, because the dev in the other company didn't like REST.

It was just one endpoint, that took a set of values.

Took me a few days to get the WSDL right, because no good examples or tutorials were to be found...

In the end it took me 80% of the time to figure out that I had a wrong XMLSchema version used to define my types. Only some heavy XML IDE found this bug, all validators just told me that I didn't define any types, haha... well at least I learned something in the process :)

Re:The myth of using Scala as a better Java by exclusiv on Thursday March 02, 2017 @12:41PM (#13776225)
Yeah my first project ever on Java was an API with Spring Data Rest connected to Oracle. 80/90 percent was config and issues w connecting to Oracle. Spring Data Rest was very nice.
Re:The myth of using Scala as a better Java by edabobojr on Thursday March 02, 2017 @10:05AM (#13774469)
I take it you prefer CORBA?
Re:The myth of using Scala as a better Java by yawz on Thursday March 02, 2017 @10:24AM (#13774639)
Oh man! I'm old enough to having coded CORBA in Java and in C++. I'm glad we aren't stuck in that era.
Re:The myth of using Scala as a better Java by k__ on Thursday March 02, 2017 @10:31AM (#13774703)
Very cool.

The beside my SOAP project last week, I only heard about SOAP and CORBA in university distributed systems class and that was ten years ago.

How is CORBA worse than SOAP? :D

Re:The myth of using Scala as a better Java by mcguire on Thursday March 02, 2017 @10:42AM (#13774813)
SOAP is worse than CORBA in roughly the same way dying by falling from the Empire State building is worse than dying by being run over by a bus.
Re:The myth of using Scala as a better Java by i_are_smart on Friday March 03, 2017 @12:14PM (#13784329)
I had to deal with CORBA 6 months ago in the large scale architectures class at my university. I'm _very_ glad that class is over.
Re:The myth of using Scala as a better Java by nolok on Friday March 03, 2017 @05:40AM (#13781966)
I admit to never having to tame that particular beast. And given the sub comment about it being on the same greatness level as SOAP, I think I may pass :D