Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. NHibernate integration : Castle vs Spring.net

NHibernate integration : Castle vs Spring.net

Scheduled Pinned Locked Moved C#
questioncsharpjavavisual-studio
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    beatles1692
    wrote on last edited by
    #1

    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

    S 1 Reply Last reply
    0
    • B beatles1692

      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

      S Offline
      S Offline
      Sathesh Sakthivel
      wrote on last edited by
      #2

      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.

      B 1 Reply Last reply
      0
      • S Sathesh Sakthivel

        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.

        B Offline
        B Offline
        beatles1692
        wrote on last edited by
        #3

        Hi Thanks a lot.

        S 1 Reply Last reply
        0
        • B beatles1692

          Hi Thanks a lot.

          S Offline
          S Offline
          Sathesh Sakthivel
          wrote on last edited by
          #4

          Welcome.

          Regards, Satips.

          M 1 Reply Last reply
          0
          • S Sathesh Sakthivel

            Welcome.

            Regards, Satips.

            M Offline
            M Offline
            michael_sharif
            wrote on last edited by
            #5

            One important note in comparing Spring.Net and Castle is that spring.net DynamicProxy is not Serializable.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups