Recently Martin Bergljung (@gravitonian) presented an Alfresco Tech Talk Live (#128) on Out-of-process extensions using the new Alfresco SDK 5.0. He has now followed up with docs & samples of using the SDK 5. Check it out!