Ask questions and see you at August, 1st at 6.PM. CET: http://www.ustream.tv/channel/adambien Also see archives: airhacks.tv
Topics
- Java EE 8 News
Ask questions and see you at August, 1st at 6.PM. CET: http://www.ustream.tv/channel/adambien Also see archives: airhacks.tv
Topics
Hi Adam,
I have a Java EE application and I'm using LightFish to monitor it. How can I make sure that my application has a good performance, I meant LightFish provides a lot of information but I dont know for example if the heap memory 400mb is good or is bad , or how many transactions and commits my application should have. How do you determinate if your app is good or bad based on the result retrieved by LightFish ?
Thanks
Hy Adam
You have mentioned your view about sonar in some videos of you as well as in your book.
But I work in a company that think the standard rule set of sonar is the best and you are not allowed to change it. I’m only a developer aka coding monkey so any attempted to convince them that it would be better to have less rules but then force the developers to stick with it was unsuccessful.
Can you please make a small blog post about your sonar settings and how to interpret/live it? Like a combination of code coverage and cyclomatic complexity within “clouds” similar to your book entry? It would help me a lot if I can redirect them to your post.
Thanks Adam!
Is there any way to find an EJB, which is capable of accessing
PersistenceContext, in EntityListener? (blog comment: http://www.adam-bien.com/roller/abien/entry/why_sometimes_the_entitymanager_in#comment-1469512286568)
EntityManager serialization and clustering (blog comment with reference to airhacks: http://www.adam-bien.com/roller/abien/entry/guardians_tenants_nio_2_bpm#comment-1462980818215)
BCE: referencing entities from other components (tweet: https://twitter.com/AmabCollazo/status/758900594455158785)
Hi Adam,
I have been trying to develop 2 web applications (one server & one client) based on web sockets using TomEE Plus 1.7.2. Where I'm constantly running into issues is idle timeouts and how to handle those errors especially on the server side.
What I would want is for the server to send a message with a timeout of few seconds and if that fails, execute some business logic. However, when I try to emulate a link failure by disconnecting the client VM from its network (the server VM has proper connectivity though), I still don't get any errors or exceptions on the server side. It seems to just queue up the messages and send them all together as soon as connection to the client is restored. I am using Tomee plus 1.7.2.
Have already tried setting the maxIdleTimeout however, doesn't seem to be having much effect.
Also, what are your thoughts on handling socket connections from a WAR within TomEE from a resource management as well as thread management perspective?
Many thanks.
Hello Adam,
What reporting library would you recommend for a Javaee app in which a lot of PDF is being generated? I currently use JasperReport which breaks glassfish whenever the report gets bulky.
Many thanks and keep up the good work :)
Hello,
In the last Q&A you amswered my question about how to serve a log file in the browser. But I did not mean it from a server's admin point of view. I know I can open the admin console and look.
From the client's pov I also know I can make an endpoint to return the file. My question was if you can serve the file to a client without a webapp on the server (and of course, the user does not have access to the admin cconsole to see the logs).
The concrete scenario is: I have an EJB jar only on the server. Can I serve the logs to a client? :D
Many thanks,
Mihai