NHibernate Forge
The official new home for the NHibernate for .NET community

NHibernate with Spring.NET

A new Dynamic-Proxy provider is available in NHibernate trunk (here the others two)

Erich Eichinger (Spring.NET team member) sent us the implementation of NHibernate.ByteCode.Spring.

The property to configure is

<property name="proxyfactory.factory_class">
NHibernate.ByteCode.Spring.ProxyFactoryFactory, NHibernate.ByteCode.Spring
</property>

The advantage to use the same engine of your preferred IoC/DI/AOP framework is pretty clear: everything is fully integrated (you can configure some aspect and you have it working when the proxy is generated trough NHibernate).

Now you have three options for dynamic proxy generation:

Castle, LinFu and Spring.

What next ? Probably Unity.


Posted mar 03 2009, 06:00 p.m. by Fabio Maulo
Powered by Community Server (Commercial Edition), by Telligent Systems