Ask questions and see you at 11th April at 6.PM. CET: http://www.ustream.tv/channel/adambien Also see archives: airhacks.tv
- Java EE 8 News
- 2 years of airhacks.tv celebration (now really 2 years)
- Do you think NetBeans is still a good IDE for JEE, Java, HTML, SPA, etc, development in 2016? I'm currently faced with a number of developers who seem to love IntelliJ, but I'd love a free alternative for some of our projects. We're currently using Eclipse (and STS), but that platform doesn't agree with me which is why I'm considering NetBeans. I know I should just make up my own mind about this, but I appreciate your work a lot and would love to hear your opinion.
- How to access the "other side" with afterburner.fx?:
@Service
public class Receiver {
private long counter = 0;
@PostConstruct
public void init() {
System.out.println("Receiver.init()");
}
@RabbitListener(queues = "hello")
public void receiveMessage(Message message) {
String s = new String(message.getBody());
// msgRepository.save(new Msg(null, s));
Platform.runLater(() -> {
counter++;
System.out.println("Received <" + s + ">" + counter);
//I want to print this log to JavaFx Label
});
}
}
Hi Adam,
Is JMX still useful now? Will it be useful in the future?
I learned about JMX (Java Management Extensions) only a couple of weeks ago. You have a few old blog posts (5+ years) that reference JMX. Most recently you posted about "JSR 373: JavaTM EE Management API 2.0" which mentions that "The expert group should also consider whether the existing MEJB and JMX APIs should be designated as Proposed Optional".
On the surface JMX seems useful for monitoring and configuration, but when I think about it I don't know if I should bother learning it when I have REST instead. I can't think of anything JMX does that REST can't do better.
p.s. I found some current projects and libraries that are using JMX for things like https://jolokia.org/, http://hawt.io/, and https://dropwizard.github.io/metrics/3.1.0/getting-started/#reporting-via-jmx, but overall very few references to JMX in the Java community.