Rule engines are a rather complex topic with potentially a steep learning curve. I am looking at a few options, Drools being one of them. As usual one can read all the theoretical papers, but rather I have a something to look at and play with fast. Ultimately I need to integrate the rule engine into my application, so I dont want to play with eclipse editors for rules but seeing a rule engine ticking inside my Netbeans project. I found one tutorial from Vishal Akhouri which I updated to the latest version of Drools and some minor fixes. Most of the sample source code is from Vishal.
I was looking for a way to update the DynDNS hosts pointing to my EC2 instances that run only on demand (controlled by an web application). Yes, there are apps and tools to let the server itself update his DynDNS hosts, but I want to do it from a central application. The DynDNS API description you find here, unfortunately there are no samples. But if you familiar with REST calls, shouldn’t be a big issue. For those who to get running quick, here the key code. To experiment, just create a simple Java application with Netbeans (or any other IDE), download the HttpComponents from Apache and add the library files to your project.
I was not looking at JavaFX for a few months and the latest rumors on the potential death of the RIA product under the new owner did not make me spend time learning more, even I believe it might be the missing piece for some boring Java (Swing) enterprise applications. Yesterday the plugin that finally supports the visual creation of JavaFX was released. (Go for plugins,reload catalog and select the version 1.0 of JavaFX plugin)
Once the download is finished you can start creating JavaFX applications
New JavaFX Project
JavaFX Skeleton Project
I cant judge yet the composer or rather non-manual (full control) way to create a fx stage. The composer creates the code (similar to Swing) in the background and you cant touch it without screwing the fx file. I will try on a few samples.
First Remark: The preview pane renders useless now, it does not work with the composer anyway.
The waiting is over, finally we get our hands on a production release of EE6 and GlassfishV3. Last week (Dec 10th) released, you also get it together with Netbeans 6.8. There is lot of attention and coverage on the latest version of the enterprise platform, so I spare you from my personal views, though I was really looking forward to use it beyond previews and beta’s. I am excited to work with the matured and now “rightsized” framework. Time to get active on writing tutorials and books.
Skipping the keynote I joined the following sessions:
Securing AJAX Applications by Moritz Kuhn and Philipp Färber from AdNovum Informatik AG
A complete Tour of JSF 2.0 (again by Ed Burns)
SLF4J and logback by Ceki Gülcü from QOS.CH. I will definitely look at this logging framework soon as an powerful alternative to standard java.util.logging (link)
Short introduction to JavaFX Rich Internet Applications connecting to GlassFish Java EE 5 services by Ludovic Champenois from Sun Microsystems.
Gaming with JavaFX: Developing the Next Generation of Casual Games
New to Jazoon was the Jazoon Rookie Contest, where the 3 choosen finalists presenteded their concepts, ideas or application. This years winners is João Arthur Brunet Monteiro with quite an impressive wizard to verify sourcecode against design conventions (read more at jazoon.com).The day ended with Jazoon Party.
The opening session of day 1 of this years Jazoon conference (which seems to be no.2 in size following Javapolis, now called Devoxx) was opened with a keynote by James Gosling (wiki link), the famous brain behind or father of Java. An impressive person and it is an unique experience to hear him talking live, even I am sure he is used to this publicity fuzz, treated like a rockstar (take note of the book Secrets of Rockstar Programmers by Ed Burns that also covers James Gosling).
Further tracks I attended:
Dierk Koenig (author of Groovy in Action) on Usage Patterns for Groovy (link). Who is not looking yet at Groovy should be doing so soon.
Design Pattern in Dynamic Languages by Neal Ford (blog).
Hand Dockter about the build-system Gradle (link). The build system without stable release yet, tries to find its place somewhere in the ANT and MAVEN landscape offering some more dynamic features.
Next generation Builds for Enterprise Systems with Maven, Hudson, Nexus and more by Jason van Zyl (bit too complex and too many features for me)
Java Rule Engines. ILog versus Drools. A short overview.
Keynote by Neal Ford on how to stay up-to-date with technology and predict upcoming hits and flops. This is my third time I joins his sessions on various topics. He is definetly very experienced and entertaining presenter. Followed by Ivar Jacobson (one of the 3 amigos, link) on agile and smart methodology/strategies.
Before the official start of the 3 day conference one could join either an OSGi conference or the Glassfish Community Day, I selected the later one and got some updates on Glassfish V3 and upcoming Java EE6. Alexis MP on Glassfish, its roadmap and features of the Enterprise Manager (you get as subscriber). Roberto Chinnici (JSR lead) on the the latest developments in EE6 due to be out in September this year. Marek Potociar on Metro, the Webservice stack in Glassfish. Jerome Doches on Glassfish V3 (now out as preview version). Ed Burns on JSF 2.0.
Definitely a day worth attending (even it was free), this year surely gonna be interesting with some new releases around the corner.
Polling the crowd I noticed the majority uses Eclipse, followed by Netbeans and some using IntelliJ IDEA.
Glassfish has the steepest download rate of all application server, the competing products are even declining. (Not sure about that)
Seems the final releas of Netbeans 6.7 will be out this week.
There will be a Netbeans 6.8. I thought we are walking towards version 7.
The second release candidate is available for download. Download at Netbeans.org (link) We should he seeing the final release soon in June.
EE6 Preview SDK
Glassfish V3 preview comes together with samples and tutorials giving a preview on the upcoming EE6. Still most of it is based on JSR’s that are not final yet.
Some feedback from JavaOne regarding release dates on Jim Whites’s Blog (link)