September 22nd, 2013
UPDATE: the workaround described in the following sections does only apply to gradle 1.9 and below. From version 1.10 of gradle everything works as expected again.
Lambda expressions coming with Java 8 are really great. Having played around with them I decided to migrate my current JavaFX projects and apply lambda expressions where it makes sense. In my IDE (IntelliJ IDEA) all worked fine but when I ran my gradle (1.7) build a weird message appeared:
Execution failed for task ':test'.
> failed to read class file ...../build/classes/test/MainTest.class
It turns out that the way gradle is scanning for class files to find out which ones are test classes causes the problem. Most likely due to different bytecodes produced by the Java 8 compiler.
Fortunately the scanning process can be turned off as described in gradle’s documentation. Then you just have to configure your test classes manually as in the following example and everything works again.
sourceCompatibility = '1.8'
test.scanForTestClasses = false // see http://forums.gradle.org/gradle/topics/1_7_rc_1_fails_to_read_classfile_for_test_when_using_java_8_0_ea_b99
exclude '**/*$*.class' // exclude anonymous inner classes
- Sven Ehrke, @syendar
August 9th, 2013
We are pleased to announce that Canoo RIA-Suite 2013 is now available for download. This is a major release of Canoo RIA-Suite comprising the migration to Java 7. The salient features are:
- Some new Swing APIs from Java 7
- Use of JLayer in place of JxLayer
- Integration of JavaFX WebView in the new package ULC FxBrowser
- Improvements to EasyDeployment to enable multiple ULC apps in a single web application
- Installer-free installation process – simply unzip and install license
- Many bug fixes and improvements
Please see the release notes for more details. Kindly get in touch with our sales department for any question on this.
July 28th, 2013
We are happy to announce a significant milestone for the OpenDolphin project: the 0.8 release.
With 1.0 coming closer, we have focused on harmonizing the API and supporting production systems in terms of scalability, performance, resource consumption and monitoring capabilities.
The original plan was to care about the production support after the 1.0 release but since OpenDolphin is already used in mission critical and reasonably large production systems, we had to adapt. This led to a deferral of the 0.8 release date but with the benefit of having a production-ready system much earlier.
Between the various improvements are:
- new internal asynchronous event handling based on kanbanflow that has proven to scale very nicely with the number of available processing units. OpenDolphin is ready for the multi-core era.
- client-side presentation models are an option for cases where you need the full versatility of presentation models for the view without the controller knowing anything about it. This enhances performance since no updates are ever sent to the server and it dramatically reduces memory footprint on the server.
- command batching collects client-side commands in packets before sending them to the server. This is a tremendous time saver when there are very many commands to be sent. It goes without saying that all OpenDolphin characteristics like asynchronous sending and strict command sequence remain untouched.
- compressing codecs can be used when there is a lot of data to be sent in either direction. We just zip it up.
- adaptive logging allows to set log levels at runtime (!) on a granularity of your choice to look into pretty much every detail of OpenDolphin.
- session affinity checks protect your application against server misbehavior with respect to breaches of session affinity (as experienced with market-leading products).
In the project infrastructure we have seen advances such as
- 100% test coverage, i.e. statement coverage without any exclusions as visible from the continuous integration builds.
- revamped website, which we hope you’ll like.
- more demos particularly around synchronizing many clients and a large set of data points but also for point-of-sale systems and typical business applications.
- improvements to the jump-start project and the project generator for quickly getting into OpenDolphin.
The ecosystem around OpenDolphin is growing and has come up with great new approaches like
I’d like to say a big thank you to all involved parties, particularly our early-adopting users for their great feedback.
I’m also happy to point out the contributions of our new committers Andreas, Detlef, Christoph, and Sven.
In order to use the latest release, just update your dependencies from 0.7 to 0.8.
We plan to release version 1.0 this summer with additional convenience features and a more extensive user guide.
July 24th, 2013
S for Sierra: this little letter turns one “Java Champion” into (at least) two “Java Champions”. Now we can officially append the pluralizing ‘s’, since two of the roughly 140 Java Champions worldwide belong to Canoo. Gerrit Grunwald received the coveted award last week in the course of the Java Champions Project, sponsored by Oracle. Andres Almiray had already been nominated and selected by the committee in 2010. As leader of JUG Münster, international speaker and software engineer with many years’ Java experience, Gerrit Grunwald actively passes his expertise on to developers and members of the community. In doing so, he not only follows the guiding principles of his Java Champion fellows but also underscores Canoo’s philosophy. “Hearty congratulations” from us!
July 10th, 2013
In July the Java Forum Stuttgart took place for the 16th occasion. And while Dierk König and Gerrit Grunwald filled the congress centre’s lecture rooms with their talks “OpenDolphin – Java Desktop UIs for Enterprise Applications” and “JavaFX on Raspberry Pi and BeagleBoard xM“, the Canoo exhibition stand provided the meeting point for the Java Community. Here visitors were able to find out even more about the open source project Dolphin and exchange ideas with our experts about the use of JavaFX on embedded hardware. For those of you unable to attend the congress, you can view the Open Dolphin presentation slides and the JavaFX presentation slides. A great performance which we could only have topped with a homemade Raspberry Pie!