If you are using NHibernate and suddenly find yourself needing to integrate with a Flex client, this article written by Joseph Magly will be helpful. http://www.adobe.com/devnet/flex/articles/flex-nhibernate.html