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. COM
  4. COM+ Alternatives in .NET

COM+ Alternatives in .NET

Scheduled Pinned Locked Moved COM
questioncsharpcomsysadmin
4 Posts 2 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.
  • S Offline
    S Offline
    Steve Severance
    wrote on last edited by
    #1

    I have been reading articles on using COM+ in .NET, however most of them discourage its use for new applications. What is the recommended alternative(s)? I am building a client/server app and was going to make the Server a COM+ object and access it through .NET Remoting. Should I be using a Windows Service or something else. I would prefer to stay away from webservices due to the sensitive nature of the application. Thnaks. Steve Not all who wander are lost...

    S 1 Reply Last reply
    0
    • S Steve Severance

      I have been reading articles on using COM+ in .NET, however most of them discourage its use for new applications. What is the recommended alternative(s)? I am building a client/server app and was going to make the Server a COM+ object and access it through .NET Remoting. Should I be using a Windows Service or something else. I would prefer to stay away from webservices due to the sensitive nature of the application. Thnaks. Steve Not all who wander are lost...

      S Offline
      S Offline
      Stephane Rodriguez
      wrote on last edited by
      #2

      First of all, you probably don't need COM+ if you don't need absolute reliability or object pooling. The MS documentation is a total fake about COM+. That's not a framework with drag&drop and voila! That's a predefined set of interfaces that YOU must implement without any help at all, that may provide, if you're lucky enough, some form of transaction, reliability, object pooling. Be sure to understand that what COM+ gives you is the theory behind it. You may have spent a couple weeks inventing the wheel. With explained interfaces you just have to figure out the code for the interfaces. And that's where the trick lies, because from a standard component, you'll get object pooling not only by implementing the adequate COM+ interfaces, but by making your current implementation stateless and so on, which in fact requires a total code reengineering. Besides that, COM+ is very hard to handle. No matter how many articles you have in MSDN library, MSDN mag, and so on, I am not sure any one achieved an implementation in the real world. AFAIK, I would either : - stick with standard COM, and add a small proprietary layer for storing state and so on - make my company buy a real COM+ framework implementation to play with. Don't know if that exists (equivalent of Iona's Corba for COM+).

      S 1 Reply Last reply
      0
      • S Stephane Rodriguez

        First of all, you probably don't need COM+ if you don't need absolute reliability or object pooling. The MS documentation is a total fake about COM+. That's not a framework with drag&drop and voila! That's a predefined set of interfaces that YOU must implement without any help at all, that may provide, if you're lucky enough, some form of transaction, reliability, object pooling. Be sure to understand that what COM+ gives you is the theory behind it. You may have spent a couple weeks inventing the wheel. With explained interfaces you just have to figure out the code for the interfaces. And that's where the trick lies, because from a standard component, you'll get object pooling not only by implementing the adequate COM+ interfaces, but by making your current implementation stateless and so on, which in fact requires a total code reengineering. Besides that, COM+ is very hard to handle. No matter how many articles you have in MSDN library, MSDN mag, and so on, I am not sure any one achieved an implementation in the real world. AFAIK, I would either : - stick with standard COM, and add a small proprietary layer for storing state and so on - make my company buy a real COM+ framework implementation to play with. Don't know if that exists (equivalent of Iona's Corba for COM+).

        S Offline
        S Offline
        Steve Severance
        wrote on last edited by
        #3

        Thanks for the reply. If you were me, what would you do? I am using .NET and have been told not to use COM+ but don't know what else todo. Thanks. Steve Not all who wander are lost...

        S 1 Reply Last reply
        0
        • S Steve Severance

          Thanks for the reply. If you were me, what would you do? I am using .NET and have been told not to use COM+ but don't know what else todo. Thanks. Steve Not all who wander are lost...

          S Offline
          S Offline
          Stephane Rodriguez
          wrote on last edited by
          #4

          I would indeed suggest .Net and especially System.Remoting Many sites have working implementations beyond the ones found in .Net framework doc : - mastercsharp.com - dotnet247.com - dotnetjunkies - ... Good luck!


          Let's swallow a small raisin.

          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