By now, you are hopefully well aware that Glassfish 3.1 has been released. Because the performance group has been a little quiet lately, maybe you're thinking there aren't a lot of interesting performance features in this release. In fact, there are two key performance benefits: one which benefits developers, and one which is important for anyone using Glassfish's new clustering and high-...
on Mar 1, 2011
End of the last year and beginning of this I've spent trying to get Magnolia work with ModeShape. There were issues with both of the apps. On one end, Magnolia had issues with the Modeshape session data refresh strategy, on the other one, Modeshape was sometimes stricter then JCR spec required it to be when it came to queries. All of those were elementary issues that were relatively easy to...
on Jan 3, 2011
If you want to work for DropBox, they have an interesting programming test which solution must be submitted together with the CV. I’m not considering a position at DropBox, but their test was too fun to ignore: an interesting challenge in algorithms, and another opportunity to exercise JavaFX as any geometric problem surely deserves some GUI.
(Don’t read this blog if you actually plan...
on Sep 3, 2010
Now that JDK 6u21, JavaFX 1.3.1 and NetBeans 6.9.1 are all finally released, I'm back to checking the latest news and improvements in JavaFX. The official Release Notes points to the deployment improvements as the single new end-user feature, so I've checked the latest improvements in this area.
The really major feature of this release is for developers: debugging and profiling will now, well,...
on Aug 21, 2010
Recently I was in urged to do a web project with the latest and coolest web framework Ruby on Rails.
That's just one line of code grabbed from somewhere:
next if entry =~ /^\./
Ruby is said to read like a natural language, but for my eyes this is just a cryptic sequence. Maybe I have the wrong natural language. So to clarify what it means I translated it to some...
on Jul 19, 2010
Update (2012-09-24): Maven users, you can directly link this class (LGPL), as I have uploaded it into Maven Central. Simply add a dependency to:
<dependency> <groupId>eu.headcrashing.treasure-chest</groupId> <artifactId>EnumerationsClass</artifactId> <version>...
on Jul 4, 2010
I was doing some JavaFX hacking, and I had to create a sequence initially full of zeros. How can you do that? There's apparently only one way:
<p>var bits = for (i in [1..64]) (0 as Long);</p>
Problems: First, I need a loop - OK, a comprehension - to initialize the sequence. There is no syntax, no API helper or type constructor, that directly expresses "Long with N elements...
on Jun 18, 2010
There is an unwritten tradition that John Conway's Game of Life must be implemented in every programming language and every GUI toolkit. Well, OK I just invented this tradition, but it's a smart introduction and Life is one of the easiest games / cool animations you can program. But it's not too simple that we can't learn a few important things about JavaFX...
My goal: a good-looking and feature-...
on May 21, 2010
NetBeans Platform lab at Devoxx 2010
Last week at Devoxx 2010, I had the pleasure to be part of the 3 hour NetBeans Platform lab by Geertjan Wielenga. During the "Advanced Random Stuff" part I showed how the slowness detection feature of the Netbeans IDE can be used in Netbeans RCP applications. This post describes how it works.
What means slowness detection?
Please see following links...
on Nov 22, 2010
One of the not-so-great things about developing Java web applications is the fact that, after a few redeployments, sooner or later the web container JVM needs to be restarted due to Out Of Memory errors. This has been true in every combination of development environment and web server I have used so far, and until last week Netbeans 6.8 + Glassfish 3.0.1 was no exception.
The cause of Out Of...
on Jun 10, 2010
One of the exciting things about teaching is the fact no matter how well you prepare for a class, events will always surprise you.Yesterday I was caught by surprise in the middle of a class by what seemed like a global Glassfish admin console outage.
I was teaching my Software Architecture students at IGTI how to change the default maximum thread pool size for the HTTP listener in Glassfish 3.0.1...
on Nov 10, 2010
My name is Haim Michael, I am the General Manager for Zindell Technologies and I am an eternal student and a lecturer. I chose to develop the abelski web site for the benefit of all people world wide. I have started to develop it in November 2007 and I continuously update its courses and add new ones. All courses on this web site are available for free personal and academic usage.
on Oct 4, 2010
The biggest announcement - and the biggest surprise for many - of JavaOne 2010 was certainly Oracle's new plans for JavaFX 2.0... or, should we say, Swing 2.0?
The history of JavaFX has been contentious since its beginning, when it was clear that FX was a new toolkit, even a new platform, while most people in the brave Swing community wanted a "Swing 2.0". Well, this is basically what...
on Sep 23, 2010
I've finished the development of my Game of Life, with a couple final fixes and new features... including a solution to the bad performance reported before. Once again the work has uncovered some surprises; read on.
Un-Scripting JavaFX Script
The first version used a "scriptish" style, all code thrown in a single .fx file, only average effort in structure. Now I have three files: World....
on Jun 4, 2010
Performance: JavaFX Balls
As soon as I've got JavaFX 1.3 and NetBeans 6.9-beta, first thing I did was obviously running benchmarks, and the new update delivers on its promise. Let's first check JavaFX Balls (port of Bubblemark). I've last reported results for 1.2 here; but scores for 1.2 are updated again to account for changes in my test system, remarkably the JDK (now 6u21-ea-b03).
on May 3, 2010
Mark Reinhold announced today that the JDK 7 / JavaSE 7 project has slipped once again: mid-2011 without Jigsaws and Lambdas, late 2012 for JavaSE 8 with those. The delay (or some other bad news like dropping features) was already expected by anyone who tracks the project. But really, how big and bad is this delay?
As a big enthusiast of both Jigsaw and Lambdas - and as a tech writer who just...
on Sep 8, 2010
JSF 2.1 Build 01 integrateg into GlassFish nightly
This quick entry announces that we've started work on JSF 2.1 in earnest.
Soon after Oracle acquired Sun, Blake Sullivan and Andy Schwartz, Oracle UI Technologies Architectects from the ADF Faces team, donated a significant patch of performance enhancement work to the Mojarra project. This work initially went into JSF 1.2 and will be in the...
on Jul 14, 2010
In my opinion, SQL Anyhwere is the best RDBMS I can think of. I can remember when we started distributing it in Germany back in the early 1990ies, as one of the first early adopters in this country. Since then, we provided it to hundreds of enterprises, from single-person laptop-only ones to large ones spanning replicated installations crossing country borders. So call me biased in that...
on Jul 3, 2010
If you wonder whether the style of use with JDBC API has an impact of performance, you might like to read my latest blog entry on Head Crashing Informatics. While the entry mostly is about tuning SQL Anywhere's BLOB handling performance, it contains an interesting aspect: There are three ways to deal with BLOBs in JDBC, and the performance difference is tremendous. While obvious for the JDBC...
on Apr 10, 2010
The Enterprise Architectures for Java EE Weighting Survey ends this Friday, June 25. Kate Jones of Oracle recently talked about the survey and its purpose:
We are looking to make improvements to our Java Enterprise Architect course and certification to support Java EE 6. The result of this survey will allow us to better align our Java EE architect course and certification with the role of the...
on Jun 23, 2010