Ask questions and see you at May, 7th, 6.PM. CET: http://www.ustream.tv/channel/adambien
Also checkout recent episode:
Ask questions and see you at May, 7th, 6.PM. CET: http://www.ustream.tv/channel/adambien
Also checkout recent episode:
Dear Adam,
First of all, I want to tell you that it is a pleasure to watch your videos and forgive me for my faulty English.
Sometimes when a runtime exception is raised within an EJB, it does not leave the EJB in an inconsistent state. This exception might be avoided through a validation, which of course consumes CPU cycles and many times even a call to a database is necessary. In a case like that: do you think it is better to let raising automatically the runtime exception and therefore the EJB instance is removed, or make the necessary validations within the EJB and in case validations fail, raise an application exception and handle this last on the client's side?
Is it worthwhile to perform validations (sometimes complex) only to prevent the EJB being eliminated when the runtime exception is lifted?
Thank you very much and greetings.
Hi Adam,
In your blog post you described how to pass context information between EJB's with TransactionSynchronizationRegistry. Is this approach supposed to work for EJB calls to remote servers too? I can't get this working (using WebSphere 8.5).
Or is there another solution for this? I want to transparently propagate some tracing information (e.g. a uuid ticket that is unique to each request) throughout the system. I got everything working for HTTP calls (with a ServletFilter, JAX-WS client handler and JAX-RS client filter). Part of the system is legacy code using remote EJB calls though, and I can't seem to find a way to propagate the tracing context for these.
Thanks for doing these Q&A's!
Jimmy
Thin war (200K) file.
Hi Adam,
You have talked at various time about thin war. when i add hibernate (5.2) to my POM file the war file size increases to 10MB. I want to deploy this on Payara 5 server. Is there a another way to keep the war file size small when i want to use JPA using hibernate. i tried copying the hibernate5.2.final.zip file to payara domain/domain1/lib/ext folder. The deployment failed.
Thanks
Prashanth
Hi Adam,
I wanted to ask about a comment that you made in the 48th Airhacks episode while doing the code review. You removed the equals and hashcode methods from the entity, saying they weren't needed. Have you found this to always be the case, or was it just for that one instance? What about if the entity is used in a collection, shouldn't equals/hashcode be implemented so those checks can be done on appropriate properties of the entity?
Thanks!
-- Nathan
Hi Adam. Great to see my coffee-buddy again :)
I have 3 questions:
Thank you for your airhacks.tv, unfortunatly I am not able to enjoy it live, but I enjoy it on YouTube in the late night :)
BTW: you should check your twitter mails, I have a great interview partner for you.
Thank you and best regards.
Bastian
Hi adam,
Jakarta EE is officially launched, do you think its will be more like MicroProfile or it will continue like JAVA EE was?
Hi adam,
How can i combine primefaces-jpa-jaxrs webservices?
Talking about javaee7 bulding web application that you say that all datasources and other things must be in the server(application devcrop)
must we configure all the datasource in server side?
Thanks.
When Numbers Are More Important Than Quality
Live coding microservices video: https://www.youtube.com/watch?v=qQtF-Ks0c5U
I've seen that on http://airhacks.io/ you have a great selection of workshops.
Did you ever considered selling them as a bungle for a reduced price?