10
1 1 XML for Java Developers G22.3033-002 Session 11 - Main Theme XML-Based Frameworks Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences 2 Agenda n Summary of Previous Session n XML and Application Server Technology n XML Message Oriented Middleware (MOM) Frameworks n Web Services n Final Exam (due next week) 3 Summary of Previous Session n XML Object Persistence n Advanced XQuery Concepts n Presentation Oriented Publishing (POP) Frameworks n Assignment 5a+5b+5c (due next week)

g22 3033 002 c111.prn - nyu.edu file1 1 XML for Java Developers G22.3033-002 Session 11 - Main Theme XML-Based Frameworks Dr. Jean -Claude Franchitti New York University Computer Science

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: g22 3033 002 c111.prn - nyu.edu file1 1 XML for Java Developers G22.3033-002 Session 11 - Main Theme XML-Based Frameworks Dr. Jean -Claude Franchitti New York University Computer Science

1

1

XML for Java Developers G22.3033-002

Session 11 - Main ThemeXML-Based Frameworks

Dr. Jean-Claude Franchitti

New York UniversityComputer Science Department

Courant Institute of Mathematical Sciences

2

Agenda

n Summary of Previous Session

n XML and Application Server Technology

n XML Message Oriented Middleware (MOM)

Frameworks

n Web Services

n Final Exam (due next week)

3

Summary of Previous Session

n XML Object Persistence

n Advanced XQuery Concepts

n Presentation Oriented Publishing (POP) Frameworks

n Assignment 5a+5b+5c (due next week)

Page 2: g22 3033 002 c111.prn - nyu.edu file1 1 XML for Java Developers G22.3033-002 Session 11 - Main Theme XML-Based Frameworks Dr. Jean -Claude Franchitti New York University Computer Science

2

4

Part I

XML and Application Server Technology

5

XML and OMG’s CORBA 3 OMAn CORBA

n creating distributed object systems on heterogeneous platforms

n XMLn conveying structured data in a portable way

n CORBA Component Model (CCM) n http://ditec.um.es/~dsevilla/ccm/, n CORBA equivalent of Enterprise JavaBeans for the Java server -

side component framework

n CCM components submission uses XML for software package descriptorsn Based on Open Software Description (OSD)

n XML Metadata Interchange (XMI)n Interchange of meta data between modeling tools using the Unified

Modeling Language (UML) and meta data repositories based on the Meta Object Facility (MOF) standard

n IDL over IIOP vs. XML over HTTP (XIOP)

6

XML and J2EEn XML data representation and exchange

n JAXP 1.1n EJB persistence service

n XML MOM via JMSn JMS API’s TextMessagen Custom JMS extensions

n BEA's WebLogic XMLMessage subclass

n Sun’s Java API for XML Messaging (JAXM)n XML-RPC, SOAP, ebXML

n User Interface & Presentationn Java Server Pages (JSPs) and Servlets

Page 3: g22 3033 002 c111.prn - nyu.edu file1 1 XML for Java Developers G22.3033-002 Session 11 - Main Theme XML-Based Frameworks Dr. Jean -Claude Franchitti New York University Computer Science

3

7

XML and Microsoft DNA

n DNA XML Resource Kitn Tools to send data across the Internet to other

applications or browsers.

n DNA replaced by Microsoft .NET

8

Part II

XML Message-Oriented Middleware (MOM) Frameworks

9

MOM Application Development Tools

n Serializing Java objects into XML using reflectionn Sims Computing lightweight XML messaging

framework (based on JMS)n xmlBlaster Message Oriented Middleware

project n MOM platform that uses XML for the message

meta-data and quality of service information

n Messages can be filtered using XPath expressions which match against the XML header document

n Developing MOM applications using the SAX/DOM APIs

Page 4: g22 3033 002 c111.prn - nyu.edu file1 1 XML for Java Developers G22.3033-002 Session 11 - Main Theme XML-Based Frameworks Dr. Jean -Claude Franchitti New York University Computer Science

4

10

B2Bi: B2B commerce and Enterprise Application Integration (EAI)

n B2Bi is based on the transformation and routing of XML documents

n B2Bi patterns:n Direct Application Integration

n Data Exchangen Closed Process Integration

n Open Process Integration

n Existing Frameworks:n WebMethods B2Bi EAI framework

n MQSI (MQSeries Integrator)

n See STP/T+1 in Sub-Topic 1/2 Presentation

11

B2Bi Direct Application IntegrationArchitecture

12

B2Bi Direct Application IntegrationRequirements

n Ability to interact directly with application APIs

n Integration brokers with built-in support for adapters, transformations, and asynchronous content0based routing

n Same Integration Broker on both endsn Secure transport, component

authentification, and user authorizationsn Federated security control

Page 5: g22 3033 002 c111.prn - nyu.edu file1 1 XML for Java Developers G22.3033-002 Session 11 - Main Theme XML-Based Frameworks Dr. Jean -Claude Franchitti New York University Computer Science

5

13

Data Exchange B2BiArchitecture

14

Data Exchange B2BiRequirements

n Translation of data native to an application into a common document format, and transmission via a gateway

n No constraints on the presence of Integration Brokers

n B2B transactions enabled via a common data exchange format

15

Closed Process Integration B2BiArchitecture

Page 6: g22 3033 002 c111.prn - nyu.edu file1 1 XML for Java Developers G22.3033-002 Session 11 - Main Theme XML-Based Frameworks Dr. Jean -Claude Franchitti New York University Computer Science

6

16

Closed Process Integration B2BiRequirements

n Principal participant responsible for managing processes

n Other participants are secondary, and do not have visibility into the entire process

n Requires the introduction of business process integration (BPI) servicesn B2Bi product offerings are beginning to

incorporate BPI as an essential componentn In this case, B2Bi enables the integration of

logical business process elements expressed as activities rather than data

17

Closed Process Integration B2BiArchitecture

18

Closed Process Integration B2BiRequirements

n Introduces the notion of shared processes rather than operating from a centralized master process manager model

n Each participant is actively managing business processes within its domain

n The BPI layer must support fine-grained control of managed processes

Page 7: g22 3033 002 c111.prn - nyu.edu file1 1 XML for Java Developers G22.3033-002 Session 11 - Main Theme XML-Based Frameworks Dr. Jean -Claude Franchitti New York University Computer Science

7

19

EAI Frameworks and XMLn XML complements EAI technology

n Powerful meta languagen Simplicityn Separation of content and presentation formatn Common open standard

n EAI Frameworks must address the limitations of XMLn Limited Semantics Interpretationn Lack of data transformation facilitiesn Inefficiencies of text-based documentsn Absence of component-based routing

20

EAI Provides Data Transformations

21

Efficiency: Binary Objects on the Wire

Page 8: g22 3033 002 c111.prn - nyu.edu file1 1 XML for Java Developers G22.3033-002 Session 11 - Main Theme XML-Based Frameworks Dr. Jean -Claude Franchitti New York University Computer Science

8

22

Part III

Web Services

23

Content, Discovery, Universal access, and Intelligent Software Agents

n UDDI: Universal Description, Discovery, and Integrationn Industry-wide effort to bring a common standard for business-to-

business(B2B) integrationn Set of standard interfaces for accessing a database of web servicesn See UDDI Browser at http://www.soapclient.com/uddisearch.htmln jUDDI (pronounced "Judy") is an open source Java-based implementation of

a UDDI registry n Also see

n http://www.sun.com/software/xml/developers/uddi/n http://www-3.ibm.com/services/uddi/index.htmln http://uddi.microsoft.com/default.aspxn http://www.oasis-open.org/cover/uddi.htmln http://www.itpapers.com/cgi/SubcatIT.pl?scid=436

n Intelligent Software Agents: ATLAS, Aglets, etc.

24

XML-Based e-Services Protocols and Architectures

n XML-RPC and Peer-to-Peer Computingn http://xml.coverpages.org/xml-rpc.html

n Simple Object Application Protocol (SOAP)n http://soap.develop.com/xmlrpc/

n Universal Description, Discovery, and Integration (UDDI)n Web Service Definition Language (WSDL)

n http://www.w3.org/TR/wsdl

n Pervasive devices

n Resource Description Framework (RDF)n Platform for Internet Content Selection (PICS)n Platform for Privacy Preferences (P3P)n Channel Definition Format (CDF)n Rich Site Summary (RSS)n Blocks Extensible Exchange Protocol (BXXP)

Page 9: g22 3033 002 c111.prn - nyu.edu file1 1 XML for Java Developers G22.3033-002 Session 11 - Main Theme XML-Based Frameworks Dr. Jean -Claude Franchitti New York University Computer Science

9

25

XML-Based e-Services Protocols and Architectures (continued)

n XML Protocol (XMLP): XML-Based Messaging Systemsn Standardized application to application XML messaging (via

HTTP, and MQSeries)

n XML and User Identification/Securityn XML and Databases

n XML and JDBCn XML Extensions and Tools for Oracle, Informix, IBM DB2, and

Microsoft SQL Server

n Transaction Authority Markup Language (XAML)n Coordinated processing of transaction-supporting web services

between internal fulfillment services and external services

26

XML-Based e-Services Protocols and Architectures (continued)

n Sun’s Open Net Environment (ONE)n HP’s NetAction/e-speak platformn Oracle’s Dynamic Services platformn Microsoft .NET platformn IBM WebSphere Architecture (WSA)

platform

27

Microsoft .NET PlatformSmart Devices + Windows XP + Web Services

n http://www.microsoft.com/netn First set of Microsoft Web Services

n http://www.microsoft .com/net/hailstorm.asp

Page 10: g22 3033 002 c111.prn - nyu.edu file1 1 XML for Java Developers G22.3033-002 Session 11 - Main Theme XML-Based Frameworks Dr. Jean -Claude Franchitti New York University Computer Science

10

28

Summary

n XML complements application server technology by conveying structured data in a portable way

n XML complements EAI technology, but future EAI framework still need to address XML’s limitations

n Web services platforms provide a shift from traditional enterprise distributed object computing technology to P2P computing with support for pervasive devices, discovery and intelligent agent capabilities

29

Readingsn Readings

n XML Development with Java 2: Chapter 8

n Professional Java XML: Chapters 18-22n XML and Java: Chapters 7 -8

n Handouts posted on the course web site

n Project Frameworks Setup (ongoing)n Howard Katz’s XQEngine, Software AG Quip

n Apache’s Web Server, TomCat/JRun, and Cocoonn Apache’s Xerces, Xalan, Saxonn Antenna House XML Formatter, Apache’s FOP, X-smiles

n Publishing Systems at http://www.xmlsoftware.comn Visibroker 4.5, WebLogic 6.1

n POSE & KVM (See Session 3 handout)