Ask questions and see you at September, 14th at 6.PM. CET: http://www.ustream.tv/channel/adambien Also see archives: airhacks.tv
-
-
Save AdamBien/fc5ef11d8863935187fd to your computer and use it in GitHub Desktop.
Whats the best way to handle errors/exceptions in JavaFX?
Lets say I call my service from the presenter and an error occurs. What is the best way to show an exception dialog to the user? Should I just wrap all my service calls in try catch blocks? What if I not not only want to show a dialog but also make further UI changes (e.g. mark textfields red etc.)?
Would you recommend using the Thread.setDefaultUncaughtExceptionHandler
like in this stackoverflow answer?
Hello Adam,
what do you think about the "reactive programming" thing ? There are a lot of people who think that JavaEE does not fit to RP. How do you see the future of JavaEE ?
Thanks,
Markus
- What is the best way to integrate microservices?
- Whats your thought on using Service Bus for integration?
Hi Adam,
in several talks you mention to host your blog on your own hardware.
- Could you please provide some more information about the concrete setup?
- How is this hardware connected to the internet? Which tarrif, which provider, which bandwidth? Can you recommend anything?
Thanks,
Peter
Hi Adam!
When using an application server is there a way to "route" logs from the server components to my own log files? For example using wildfly when I want to log hibernate query parameters or cxf messages I need to configure a logger inside the application servero logging configuration and check the server's logs. How can I make the server log in my logs (preferably in a per-application manner). Thank you in advance!
Hi Adam, I am using afterburner in multipage application and I am curious what is the best approach to switch pages. Not sure if it was already asked - I discovered these gists just recently.
My idea was to have one root page with menu (this way menu is reused for all pages) and with
content
pane. Thecontent
pane instance will be passed at app start to somePageController.setContentRef(Parent root);
For example in this way I have dashboard as first
content
pane children with some icons/buttons. After clicking on icon, thePageController.showDetailA();
method is called from dashboardPresenter. The method clears children fromcontent
pane and add one specific children.This children can have one
Back
button (that callsPageController.showDashboard();
and some controls to go even deeper in views chain (PageController.showDeeperDetailOfDetailA();
) etc.The
PageController
can have instancies of all pages, or recreate them every time (for now not sure what will be better).Do you think there is better way to do this? For example using multiple
Stage
instances somehow? If so, could you please create some simple demo.