110 likes | 227 Views
XML A Middleware Mechanism?. Contents Middleware - CORBA Interoperabilty Requirements What Does Middleware Provide? XML for Component Integration Advantages and Disadvantages Synergies. What is Middleware?. Glue for Components Sits Between OS and Applications
E N D
XML A Middleware Mechanism? Contents • Middleware - CORBA • Interoperabilty Requirements • What Does Middleware Provide? • XML for Component Integration • Advantages and Disadvantages • Synergies
What is Middleware? • Glue for Components • Sits Between OS and Applications • Distributed Object Services • CORBA, COM, DCE, Java/RMI … • XML?
CORBA - Objectives • OS Independence • Language Independence • Remote Methods • Static/Dynamic Invocations • Distributed Services
Interoperability Requirements Standardization of – • Binary Formats : in-memory • API’s : Programming Support • IDL, Type Libraries, File Formats • Data Representation – CDR/NDR • Transfer Protocol
The PRO’s : IDL Stub-skeleton generators Services API’s CDR IIOP And The CON’s Complex Versioning Costly for large volumes Behavior mashalling What Does CORBA Provide?
How can XML do it? • Standardized Tags for Request/Response • Parsers and DTD’s • HTTP / SMTP • E.g. XML-RPC, SOAP • A Geek’s Pleasure!
Advantages • Simplest Data Representation • Hardware/Language/Vendor Neutral • Simple and Human-readable • Typing Flexibility • Firewall Issues
Advantages…. • Extensible • Domain Standards • Namespaces • Gateways • XML Transforms Services will be available…
Then Why Not XML? • Distribution Support • Resource location, control and management • Services – Transactions, Events, Security etc. • Error Handling • Non-text data • Quality of Service – Reliability • Efficiency
XML With CORBA • XML – Structure • CORBA – Infrastructure • XML – Metadata Interchange • XML Interfaces – Components accepting/emitting XML documents • E.g. Exchange of UML Models Between Design Tools.
Conclusion • XML : • Structured Documents • On-the-fly Documents • Light-weight Applications • Stateless Transactions • Archiving • CORBA : better suited for complex enterprise applications.