Download presentation
Presentation is loading. Please wait.
Published byMyles Franklin Modified over 9 years ago
1
COM+ Ye Zhou
2
MS Windows DNA Distributed iNternet Application architecture 3-tier model Presentation Business logic Data.Net Framework
3
Microsoft Transaction Server Automatic Transaction Management Configurable Security Database Connection Pooling Component State Management Support for multiple databases and resources Process Isolation Automatic Thread supporting Integration(Windows, SNA,IIS,MSMQ,SQL..)
4
Programming in MTS
5
Problems in MTS Only static load balancing supported Rely on Windows NT platform No real object pooling (need dispenser)
6
Microsoft Message Queue Loosely-coupled Message Oriented Middleware Store-and-forwarding communication Defensive communication Concurrent execution Journaled communication Connectionless communication
7
Advanced Features in MSMQ Transaction supported Internet Messaging Message Queuing Triggers Group Communication Programmable management
8
Programming in MSMQ QUEUEHANDLE hQueue; //open queue MQOpenQueue( wcsFormatName, //queue format name MQ_SEND_ACCESS, //access requested MQ_DENY_NONE, //share mode &hQueue); //queue handle //initialize message property… MQMSGPROPS MsgProps; //send message MQSendMessage(hQueue, //queue handle &MsgProps, //message properties NULL); //transaction //close queue MQCloseQueue(hQueue); //queue handle
9
COM+ Full integration of MTS into COM IMDB Queued components Dynamic Load Balancing A Publish and Subscribe Event Model Etc …
10
CORBA vs DCOM vs RMI CORBADCOMRMI Basic ObjectCorba.objectIUnknownRmi.Remote ProtocolIIOPORPCJRMP/IIOP Language Compatibility Any with ORB libraries Binary level, several Langs Java only PlatformAny with ORBAny with COMAny with JVM Object Name Mapping RepositoryRegistryRMIRegistry Type InfoInterface Repository Type LibraryReflection and Introspection Distributed GCNoYes
11
MTS vs EJB MTS EJB
12
MTS vs EJB (Cont’d) MTSEJB Lifecycle & Instance Management Mtxex.dll, Just In Time Activation EJB Container, Instance Pooling Connection PoolingODBC Resource DispenserJDBC 2.0 Distributed Transaction Support MSDTCJTS, only some, e. g., IBM WebSphere PortabilityWindows NT/COMTIPlatform level, EJB server level State ManagementStateless, Shared Property Manager Stateless or Stateful, Beans PersistenceUser tasksBMP, CMP SecurityIntegrated with NTIntegrated with java
13
Other related products IBM MQSeries Sun Java Message Service Sun Java Transaction Service OMG Object Transaction Service
14
References [LEI00] Leinecker, Richard, “COM+ Unleashed”, SAMS, 2000 [COM02]http://www.microsoft.com/comhttp://www.microsoft.com/com [EJB02]http://java.sun.com/products/ejb/http://java.sun.com/products/ejb/ [RAJ02]Raj, Gopalan Suresh, “Web Cornucopia”, http://members.tripod.com/gsraj/ http://members.tripod.com/gsraj/
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.