Red Hat

CapeDwarf News

CapeDwarf News

Concurrent transactions, their tests and fixes

While playing with some Endpoints GAE example app, I noticed our non-XG transactions weren’t following the concurrent threads limits — only one transaction per entity group allowed. This quickly shows how you easily miss things when you don’t have proper tests.

In our case setting this concurrency contention is not as easy as it sounds. But … luckily at JBoss we have a tool called Byteman, which is exactly what we’re looking for (and it even came from initially testing concurrency on transactions).

And, as I expected from Aslak, Arquillian already had Byteman support integrated. OK, to be honest, it did need some minor changes to make it work as expected. :-)

Here is the latest download:

The release notes:

And the mentioned GAE TCK concurrent transactions tests:

Feedback welcome as always!

New CapeDwarf 2.0.0.CR3, with few small tweaks

With World Cup and summer vacation finally behind us, it’s time to do a new CapeDwarf release. This time it only includes a few minor fixes, and of course a GAE version update.

Download is here:

And the few release notes:

Give it a spin, and feedback welcome as always!

CapeDwarf (finally) gets cron support!

I’m actually surprised on how I was able to miss the cron support for so long, or how come none of the users complained. :-)

It finally caught my attention when I needed it in one of my sandbox apps, that I realised that we have completely forgotten about it — though it’s been around forever.

When implementing something like cron support in Java, it’s probably the only logical choice to use Quartz. And that’s what we’ve done. Of course there are some tricks to consider, specially around clustering support and GAE cron’s natural way of describing trigger times. But that’s where JGroups and existing GAE Tools come in handy.

So, here is the latest CapeDwarf 2.0.0.CR2 distribution:

And the usual issues report:

Give it a spin and any feedback welcome as always!

back to top