Ask questions and see you at June, 7th, 8.PM. CEST: https://youtu.be/Uz1nLi5APVw
Also checkout recent episode:
Please keep the questions Jakarta EE-stic. Means: as short and as concise as only possible. Feel free to ask several, shorter questions. Upcoming airhacks.tv events are also going to be announced at meetup.com/airhacks
Hello Adam,
What is difference between java.util.Logger, java.lang.Logger and loggers from logging libraries e.g. slf4j, log4j? Which one to use? Why so many different loggers?
What do you think of Unit tests, if I am correct in some of your shows, conferences you don't mention them so much? Should unit tests be used a lot, as they say in Internet that there should be so much unit testing because without doing unit tests you're a bad developer...
Using mp rest client and quarkus and two services A and B, when I make call from A service to B service (also built with quarkus) oif response from B isn't OK (200 code) cause maybe service B throwed exception, how to get the http code in A service and not to throw the exception from B also in service A;
// In service A:
line 1: Response resp = restClient.callServiceB();
line 2: if (resp.getStatus() != 200) {
//do my own logic...
}
I want to say that I can't reach my line 2, because the exception that is thrown from service B is automatically thrown from service A (in line 1)
How does that happen, how can (in my case quarkus) know that from a simple http call the service B is also Java and make the exception the same as if it would happen in service A)
Thanks