"The multicore challenge" is the challenge to developers of software products to write code that effectively utilizes modern multi-core / multi-processor computers. Two years ago, I wondered if the multicore challenge was still relevant. In part, I was thinking about how applications were moving from the desktop into the cloud. So, if the apps people are running are running in a browser, does it...
on Dec 21, 2011
This page is for introducing Grizzly-Thrift server/client modules and sharing various benchmarking results.
Object serialization/deserialization of Java comes expensive. For improving this lack, we sometimes used to use other frameworks for RPC such as Protobuf and Thrift which support various programming languages, RPC and own data structures.
Especilally, Thrift has already provided various...
on Dec 21, 2011
One of the old bits of tuning advice given when Java memory management was not as tall as it it today was to set max heap to min heap. After all, we don't really want the JVM messing around with memory when it should really be getting on with things. Fast forward a few years and the adaptive memory management picture has matured considerably. So much so that setting -Xmx == to -Xms would now...
on Dec 19, 2011
Just wrapped up my last performance tuning course for this year and for the second time running, some members of my Parisian group had the opportunity to run the exercises on virtualized hardware. Granted, the underlying hardware wasn't quite top shelf but then this hardware had been un-virtualized in past offerings. And, the point is to learn how to diagnose Java performance bottlenecks and in...
on Dec 12, 2011
In my last blog I’ve introduced JavaFX 2.0 beta, describing an initial port of JavaFX Balls, also in beta stage at that time. Now I finally finish JavaFX Balls 3.
Look ma, no design!
I don’t pretend to be a designer, and the consequence is that when I make a mashup of animation, video and web, that’s the result. Get the source code here.
I’ve added new layers of content...
on Nov 25, 2011
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 just compiled the hotspot (server 64bits) using the hotspot-comp workspace of hotspot express
Here are the result (average of 8 best run on 10) when running PHP.reboot (my own toy language) on fibonacci function,
(-server is the server VM of jdk7, -hsx is server VM of upcoming jdk7 update)
Java:java -server bigfibo ...
on Sep 4, 2011
JavaFX 2.0 is not multiplatform! It can't do subpixel antialiasing!! … these were among the reactions to the first beta releases, that I'm not sure to understand as trolling or simple laziness. These mysteries are usually solved with a simple look at JavaFX's public JIRA issue tracking system. The current implementation is still a beta, not even a feature-complete beta, so there are many...
on Jun 18, 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
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
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 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
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