Oracle on Java EE 8 News, Monitoring, Sonar Setup, BCE Entities or 29th airhacks.tv Questions and Answers
90 live attendees from all over the world (according to chat: France, Nigeria, Costa Rica, Netherlands (...)) participated in the 29th edition of airhacks.tv starting with the "Oracle and Java EE 8" discussion including press releases, then I answered questions ranging from Akka interoperability, over Java EE monitoring, to file access from EJBs and Sonar Setup:
Any questions left? Ask now and see your topic discussed at the first Monday of the month, 6 pm CET.
See you at Java EE Workshops at Munich Airport, Terminal 2 or Virtual Dedicated Workshops / consulting. Is Munich's airport too far? Learn from home: airhacks.io.
We use SonarQube with a huge ear application, Arquillian and Embedded Payara.
Code coverage is reported via Jacoco; CDI/EJB injection in tests have some problematic scenarios, but generally it works.
@Alternative is perfectly suitable to mock something for tests.
I will write some blog about that soon ... the important message from me is that it really works :-)
Posted by David Matejcek on August 10, 2016 at 08:53 PM CEST #
on the question of how to handle WebSocket timeouts, setting maxIdleTimeout will not work as you suggested because a connection will only be idle if it is not receiving or sending messages. In this case the application is pumping messages to connection(s). I would suggest the questioner implement an onClose listener without CloseReason (to catch all reasons) that checks the Throwable passed to it to see what is happening to the underlying connection.
Posted by Andy Bailey on August 11, 2016 at 05:16 PM CEST #