windowsserver20xx中的代码重用内容摘要:

 所有组件都是公共的  COM+  可配置组件的作用域  Public—其他应用程序可用  Private—仅同一个应用程序可用 Demonstration 2 COM+ Enhancements Isolation Level Services Without Components Agenda  COM+ 服务  管理代码  COM+ 增强  高级 COM+ 服务 Advanced COM+ Services Process Initialization  获取 COM+ 应用程序启动和关闭事件  IProcessInitializer 接口  启动  所有工作必须在 90秒内完成  关闭  不保证序列  实例运行在应用程序中 Advanced COM+ Services Queued Components  异步组件调用的架构  MSMQ 提供传输的可靠性  增加客户端性能  不依靠于应用程序的可靠性  立刻返回调用  增加服务器性能  更短的组件生存周期  有计划的批处理 Client Advanced COM+ Services Queued Components Server Queue Component Listener / Player App Recorder Method Call Call Return Method Call Advanced COM+ Services Queued Components  InterfaceQueuingAttribute  Class level  Identifies what interfaces to expose for queuing  ApplicationQueuingAttribute  Assembly level  Notifies COM+ to create and activate a listener Advanced COM+ Services Queued Components  Client uses with COM moniker to get object reference IFoo iQc = null。 string m = queue:/new: iQc=(IFoo)(m)。 Advanced COM+ Services Loosely Coupled Events  后期消息绑定模型的事件发布  多对多的发布  发布者和订阅者通过事件类绑定,而不是相互绑定  COM+ 管理订阅  Component Services  COM+ API COM+ Event Classes Subscriptions Register Event Add Subscription Advanced COM+ Services Loosely Coupled Events Subscriber CustomSink CustomEvent CustomEvent  CustomSink Publisher CustomEvent ec = new CustomEvent()。 ()。 Advanced COM+ Services Loosely Coupled Events  持续 / 短暂订阅  事件队列  并行执行  事件过滤 Demonstration 3 Queued Components Creating a Queued Component Calling a Queued Component Session Summary  使用 COM+ 服务  Increase reliability  Increase scalability  Increase flexibility  EnterpriseServices  通过属性实现更加简单 For More Inf。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。