Hazelcast 1.9.4 is released!

1.9.4 is now final. We all have been waiting for this release long enough. Now it is time to enjoy it! Other news: Our new product: Hazelcast Elastic Memory: Off-heap memory storage to avoid GC pauses. New features are added into our Management Center product such as map config change in-runtime and TimeTravel. We will […]

Hazelcast Elastic Memory

We made pretty good progress in our new product, Hazelcast Elastic Memory: Hazelcast with off-heap memory storage to avoid GC pauses. We have been working on it for months and we are already quite impressed with the results. Even if you have terabytes of cache in-memory with lots of updates, GC will have almost no […]

Using AspectJ in Ecplipse RCP

If you try to export an AspectJ enabled Eclipse RCP 3.6, you will notice that none of your pretty aspects is compiled.
Before Eclipse 3.6 there was an export option as “Export Product with AspectJ”.

But since version 3.6 you will not see that option. Instead you should just add AspectJ compiler adapter into your build.properties file:

compilerAdapter = org.eclipse.ajdt.core.ant.AJDT_AjcCompilerAdapter
sourceFileExtensions = *.java, *.aj

Migrated from old blog: using-aspectj-in-eclipse-rcp

JFreeChart in Eclipse RCP & SWT

To use JFreeChart in a Eclipse RCP project or simply embed in an SWT composite, you have two applicable choices:
org.jfree.experimental.chart.swt.ChartComposite from JFreeChart SWT experimental project, which I can not say works seamless.

SWT_AWT bridge, hmm, not perfect but plays its role better.

  • Create a container composite with SWT.EMBEDED style (required for SWT_AWT).
Composite container = new Composite(parent, SWT.EMBEDDED)
  • Create new AWT Frame using container.
java.awt.Frame chartFrame = SWT_AWT.new_Frame(container)
  • Create a JFreeChart ChartPanel and append on chartFrame. (This should be done in AWT Event Thread)
SwingUtilities.invokeLater(new Runnable() {
     public void run() {
          ChartPanel chartPanel = new ChartPanel(chart, true);

That’s it!

Migrated from old blog: jfreechart-in-eclipse-rcp-swt

Install JDK 5 on Snow Leopard

Download Leoapard (Mac OS X 10.5) JDK from here

Extract gzip archive.
tar -xvzf java.1.5.0-leopard.tar.gz

Move extracted folder to java framework installation folder. You need to do this as root user.
sudo mv 1.5.0 /System/Library/Frameworks/JavaVM.f…