1 / 14

COM+

COM+. Ye Zhou. MS Windows DNA. Distributed iNternet Application architecture 3-tier model Presentation Business logic Data .Net Framework. Microsoft Transaction Server. Automatic Transaction Management Configurable Security Database Connection Pooling Component State Management

naida
Télécharger la présentation

COM+

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  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

  11. MTS vs EJB MTS EJB

  12. MTS vs EJB (Cont’d)

  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/com [EJB02] http://java.sun.com/products/ejb/ [RAJ02] Raj, Gopalan Suresh, “Web Cornucopia”, http://members.tripod.com/gsraj/

More Related