Honestly, either you are bad at building constructive arguments, or just angry for no reason.
This implies that you never test anything else. Endpoints, models, parsers, etc. Perhaps you've never worked on a public-facing API.
Testing endpoints? What kinds of testing? Unit, acceptance, integration, function tests?
For unit testing the endpoints, you are testing your configuration, so just pass "AAA" and mock the rest.
For acceptance testing - use different tooling, SoapUI maybe.
For integration testing - why are you testing endpoints from integrational standpoint? Integration with what exactly are you testing here?
For functional testing - again, no need for endpoint testing, just use the underlying model and pass POJOS.
There is no more or less of a need than there is for any string literal. They are perfectly equivalent.
You are repeating this over and over again, but still gave ZERO examples or proofs of this being true. Just repeating it angrily won't make that real, you know.
Did I mention they're string literals?
So what? I can think of 4 more names if you need.
So string literals are an antipattern in Java. Gotcha.
I'm glad we are finally on same grounds.
That whole stack trace might do nothing more than print out Hello World.
Then why the hell are you using all those frameworks to print out a "Hello world"? Now you are blaiming your poor architectural choices on a programming language.
SQL in an XML file. I mean, and here you were telling me about anti-patterns.
Again, no proofs, no constructive criticism, I'm really starting to think you are a troll. Give me SOME explanation of WHY you think this is an antipattern. Why is it bad to extract implementation of DAL into a separate file? Do you have a fear of XML files?
Says the guy who likes to store his SQL queries in an XML file.
So you mean your computer is parsing 100 of 10kb XML files for 10 seconds? That's a really bad computer you know. What I meant was different networking stuff, if you turn the tracing on, usually you can elliminate most of the bottlenecks by fine-tuning the configuration.
I'm sure you get paid good money to write complex enterprise-scale apps...
Ok, now I'm almost sure you are a troll.
JSON is data. It is also a string. I know this is inconceivably horrible and someone should be shot. But you do not need a serializer to write JSON. Did you know that there is actually a language in which JSON is the object notation syntax?
Yes, still, even in Javascript , for some totally bizzare reason people do not construct JSON from strings, but use JSON.stringify
.