Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
29thAirhacksQ&A.md
@dazito

This comment has been minimized.

Copy link

dazito commented Jul 17, 2016

How far can we go with JavaEE and Akka interoperability?

@amihaiemil

This comment has been minimized.

Copy link

amihaiemil commented Jul 22, 2016

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

@Chilis92

This comment has been minimized.

Copy link

Chilis92 commented Jul 23, 2016

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

@robertBrem

This comment has been minimized.

Copy link

robertBrem commented Jul 28, 2016

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!

@AdamBien

This comment has been minimized.

Copy link
Owner Author

AdamBien commented Aug 1, 2016

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)

@AdamBien

This comment has been minimized.

Copy link
Owner Author

AdamBien commented Aug 1, 2016

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)

@AdamBien

This comment has been minimized.

Copy link
Owner Author

AdamBien commented Aug 1, 2016

BCE: referencing entities from other components (tweet: https://twitter.com/AmabCollazo/status/758900594455158785)

@deetewari

This comment has been minimized.

Copy link

deetewari commented Aug 1, 2016

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.

@alameen

This comment has been minimized.

Copy link

alameen commented Aug 1, 2016

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.