JSR-107 Early Draft Released (after nearly 12 years)

It’s been in the works for a number of years, more than a decade, but finally we’re making some solid process moving the JCache Specification forward, hopefully for inclusion in Java EE 7.

Yesterday the JCP made the important step of posting the Early Draft specification and API for JSR107. See http://jcp.org/en/jsr/detail?id=107 for details.

While an enormous amount of progress was made last year and early this year (by many people – not so much me) the JSR was somewhat delayed while the legals were resolved, especially with respect to ensuring clean and clear IP for Java itself, the eventual JCache Providers and the community.   Thankfully this stage is complete and we can move forward.

Source Code
For those of you that don’t know, all of the artifact are hosted on GitHub at https://github.com/jsr107.

If you’d like to pick up builds, you can do so from the CloudBees continuous build infrastructure here: https://jsr107.ci.cloudbees.com

JSR 107 Resourcing
Now the the Early Draft is out, Greg Luck (Terracotta) and myself (now a co-spec lead) will be committing the majority of our time to get this finished, together with appropriate implementations and the Technology Compatibility Kit (TCK), should you wish to write your own implementation.   However these things don’t happen in isolation so it would be greatly appreciated if you can free up some time over the next few months to take a look.   Unfortunately if we fail to get feedback, we’ll be force to make stuff up and “move on”.   ie: We both want this JSR completed asap.

JCP 2.7 Process
The Early Draft Review has now started and it is scheduled to end on 22 November. During this process we’ll continue to work on answering questions, making required changes etc.  Once complete we’ll start the Public Draft (another 30 days of review) and during the last week, we’ll schedule an EC ballot.  Should everything go well we’ll complete the RI and TCK then seek final approval for the JSR.

For those of you attending the next Coherence SIG (in London), I’ll be there to give an update and talk about Coherence support.


— Brian


The Maven : Moving to Maven from Ant based builds

Lately I’ve been doing a bunch of Maven work. For most part I think the worst of it’s over, but for those of you that have not been through the process, perhaps this highly accurate video will prepare you for what you’re in for.

Coherence Incubator 10 Patch 2 Released

Just uploaded the latest fix patches for Coherence Incubator 10.  While mostly minor fixes, there’s also a few new additions, like the new @LiveObject annotation.  Check out the Coherence Incubator project pages for more details.  http://coherence.oracle.com/display/INC10

OSX Lion Upgrade (Part 4)

Finally upgraded to OS Lion 10.7.2.  Hooray! All known issues I seen have resolved, including the random mouse pointer jumping.   Now to upgrade other machines and devices.

OSX Lion Upgrade (Part 3)

Hmmm… Mysteriously Print Preview now crashes with OSX Lion 😦  It worked perfectly in the beginning.

After about an hour or so of searching/reading, I found the following forum details a related permissions problem:


For some reason the “root” user doesn’t have read/write permissions to the Libraries folder!  Very weird.

Looking forward to 10.7.2 to fix the remaining “niggles”.

OSX Lion Upgrade (Part 2)

Updated to 10.7.1 last night.  Unfortunately the mouse pointer acceleration issues aren’t resolved, but network connectivity seems to be way smoother (over the past week I’ve occasionally had to reboot the machine to get the network to work).

However I’m now completely “sold” on the new scrolling (reversed like the iPhone/iPad).  :P.  That and the new Mail.app are nice. Really looking forward to 10.7.2 or what ever the version is that will resolve the erratic mouse pointer acceleration.

OSX Lion Upgrade (Part 1)

Upgrading from OSX Snow Leopard to OSX Lion has so far been somewhat of a disappointment, especially when compared to previous upgrades. Actually I’m glad it only cost $29, as any more and i would have probably returned it. The upgrade process itself was fairly smooth and seamless (apart from one complete hang/lockup requiring a reboot).  It’s the post upgrade, i.e.: adoption, that’s caused the most, or be they “slight” frustrations.

A quick summary of the upgrade.
1. Upgraded Macbook 5.1 (first uni-body aluminum macbook released) from 4GB to 8GB ram.
2. Installed new Crucial M4 256GB Solid State Drive.
3. Performed Clean Install of Lion (via USB stick) – takes about 1 hr (probably would have been less if it didn’t hang half way through)
4. Install everything and migrate from old 256DB SATA drive to new install.

Elements of Frustration.
1. Random Mouse Pointer Jumping / Acceleration.
It seems OSX Lion is plagued with these problems. Don’t underestimate how annoying these are.  Seriously, your Mouse Pointer will simply disappear and randomly jump around the screen real-estate.  If you have multiple screens you’ll have to look to find it!

So far there are no fixes.  If tried everything I’ve found.   (this is on a regular Mighty Mouse).

2. Performance is Poor.
Out of the box it’s remarkably slow. Well, it appears to be remarkably slow. While there are some beautiful GUI transitions between windows, applications loading, spaces etc, these chew a lot of CPU. Basically add one second at a minimum to all window opening/application loading interactions (on my machine anyway). Luckily there are some solutions.

Open a terminal and execute these commands:

defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool NO
defaults write com.apple.Mail DisableReplyAnimations -bool YES

These will disable the animations for windows (which use to be an option in Snow Leopard, but is now gone).

3. Auto Repeat (when holding down a key) Doesn’t Work.
Yup. Amazing, but here’s how to turn it on (again using a terminal)

defaults write -g ApplePressAndHoldEnabled -bool false

4. Eclipse Margin Warnings Aren’t Displayed
There is a defect in Eclipse (all versions I can tell) that prevents the compiler error/warnings some being displayed in the right-hand scroll-bar area. This is fixed by turning on the “hide scroll bar” option.

Apple > System Preferences > General > Show Scroll Bars: Select "When Scrolling" Option.

Any other option seems to break Eclipse. Trust me, without this fix you’ll be searching for compiler errors by scrolling through each document by hand (or having to click through the Errors Panel).

5. Adium crashes intermittently
Not a biggy, but Adium randomly seems to crash if you change networks.  Have you upgrade to the “beta” as all other versions are not supported on Lion.  Funny, seems like is a “beta” too 😦

Bottom line: Unless you’re willing to invest some time ironing these things out, I avoid the upgrade. I’m certainly not upgrading my other Mac’s.  If I had time I’d probably roll back, but I’m determined to move forward.

On the Positive Side: There are some very nice features, like the new Mail.app which I’ve become addicted to pretty quickly.