NHibernate integration : Castle vs Spring.net
-
Hi I'm working on a project and I'd like to use a framework for NHibernate integration.The question is should I use Castle or Spring.net and why? If you have worked with these frameworks please let me know your opinion. Thanks
-
Hi I'm working on a project and I'd like to use a framework for NHibernate integration.The question is should I use Castle or Spring.net and why? If you have worked with these frameworks please let me know your opinion. Thanks
Castle Windsor: The Castle Windsor, IoC Container provides great IoC support using a combination of XML configuration and strongly typed declarations. Some of the advantages Castle Windsor brings to the table are less XML and more compile-time error catching, when compared against other options. The Castle Project also has a number of other powerful modules, making it an attractive option if you're looking for more than just IoC. Wide support has been shown for this IoC Container which has generated a lot of buzz around the .NET development community. The "Enterprise" NHibernate Sample includes an example of using Castle Windsor. Spring .NET: This framework provides IoC declared via XML configuration files. Like the Castle Project, Spring.NET also provides a wide assortment of additional development utilities. This option should be particularly attractive for developers coming from the Java world and are already familiar with the Spring Framework. Hope the article by Billy McCafferty's NHibernate will help you.
Regards, Satips.
-
Castle Windsor: The Castle Windsor, IoC Container provides great IoC support using a combination of XML configuration and strongly typed declarations. Some of the advantages Castle Windsor brings to the table are less XML and more compile-time error catching, when compared against other options. The Castle Project also has a number of other powerful modules, making it an attractive option if you're looking for more than just IoC. Wide support has been shown for this IoC Container which has generated a lot of buzz around the .NET development community. The "Enterprise" NHibernate Sample includes an example of using Castle Windsor. Spring .NET: This framework provides IoC declared via XML configuration files. Like the Castle Project, Spring.NET also provides a wide assortment of additional development utilities. This option should be particularly attractive for developers coming from the Java world and are already familiar with the Spring Framework. Hope the article by Billy McCafferty's NHibernate will help you.
Regards, Satips.
Hi Thanks a lot.
-
Hi Thanks a lot.
Welcome.
Regards, Satips.
-
Welcome.
Regards, Satips.
One important note in comparing Spring.Net and Castle is that spring.net DynamicProxy is not Serializable.