Just learned one interesting aspect of immutables: Besides the fact that they help you to provide a lot of ugly threading problems, they potentially speed your your code by itself. The trick is that once you prevent the creation of two identical object instances (e. g. by using builders and caches) you can be sure that two references always point to distinct objects. As the objects are immutable, this is an invariant. Hence, you can reduce the equals() and hashCode() methods to fixed implementations: There is no more need to actually compare any state, but it is enough to compare the reference itself. This certainly speeds up the code, even in non-parallel situations. Also, you spare memory, as you will never have any copies, but only singletons. As a side effect, less GC pressure exists, which also will result in faster Overall execution.
Cool, this really is the tip of my day. Good that I had time to attend “parallel//2016” conference. 🙂
There are things on earth you search for again and again and again. One of these is the page where the Maven Coordinates (GAV) for all the individual APIs of Java EE (like JPA, JAX-RS, etc.) is found. Here it is: https://glassfish.java.net/wiki-archive/Java%20EE%207%20Maven%20Coordinates.html.
One year ago I asked when Microsoft Linux will be done. After it learned docker, now bash was announced at build 2016. Mr Nadalla should simply announce Microsoft Linux finally.
Together with Dr. Michael PAUS of JUG Stuttgart I organized a panel discussion for TeamFX at JavaLand 2016 around the question “Is JavaFX ready for everyday business use?”, with well-known speakers like Hendrik EBBERS, Gerrit GRUNDWALD, Bennet SCHULZ, Anton EPPLE, and Alexander CASALL. The audience was polled for several questions, and here is the interesting result: 50% of them already use JavaFX in production, and 29% are using JavaFX in commercial projects. This is far more than I expected. While there is no commercial support offer for explicitly JavaFX from Oracle, 29% of the audience are willing to pay for this, and around 38% even would like to contribute to the OpenJFX project themselves. This is really good news for JavaFX, and it proofs that this technology is really ready for prime time! Always wanted to get started with JavaFX? There is no excuse anymore – just do it!
Being a JavaFX contributor I had been asked to give some introduction at JavaLand 2016 on the official process to report bugs and develop features for JavaFX. The slides from my short talk can be found at Speakerdeck now (German). I would be glad to answer all your questions and help you contribute to this awesome framework. The mentioned repository will be online soon, BTW.
If you just waited for a minimalistic starter project for learning JavaFX: You can now find the source code of the “JavaFX Hello World” online. Have fun with it.
JavaFX Hello World on GitHub
There are two great things in particular about JavaLand conference: First, it is organized by the Java Community (i. e. JUGs). Second, it is all about networking, so it tries to make it pretty easy to get in touch with VIPs. To support the latter, Bennet SCHULZ organizes the “JavaLand Jogging”. In the past two years of this event, normal people like me had a chance to go more miles not only with the organizers Bennet SCHULZ and Alexander NEUMANN, but also to join passionate runners like Arun GUPTA. Pack your shoes and join us!
Check the JavaLand Community Event Schedule for more infos!