xml applications n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
XML APPLICATIONS PowerPoint Presentation
Download Presentation
XML APPLICATIONS

Loading in 2 Seconds...

play fullscreen
1 / 60

XML APPLICATIONS - PowerPoint PPT Presentation


  • 93 Views
  • Uploaded on

XML APPLICATIONS. Hevel Jean-Baptiste Orson Kirk Kwang Lee Vera Rhoads Dennis Williams. XML APPLICATIONS. OUTLINE. Introduction to XML – Kwang Lee DB2 Interface – Orson Kirk XML and Web Content Management – Vera Rhoads XML Jabber – Dennis Williams XML Parser – Hevel Jean-Baptiste.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'XML APPLICATIONS' - rhea


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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
xml applications

XML APPLICATIONS

Hevel Jean-Baptiste

Orson Kirk

Kwang Lee

Vera Rhoads

Dennis Williams

xml applications1
XML APPLICATIONS

OUTLINE

  • Introduction to XML – Kwang Lee
  • DB2 Interface – Orson Kirk
  • XML and Web Content Management – Vera Rhoads
  • XML Jabber – Dennis Williams
  • XML Parser – Hevel Jean-Baptiste

Pace Univeristy - DPS

introduction to xml1
Introduction to XML
  • XML is a method for putting structured data in a text file.
  • XML looks like HTML, but it isn’t.
  • XML is text, but isn’t meant to be read.

Pace Univeristy - DPS

introduction to xml2
Introduction to XML
  • XML is a family of technologies.
  • XML is verbose, but that is not a problem.
  • XML is new, but not that new.
  • XML is license-free, platform-independent and well supported.

Pace Univeristy - DPS

introduction to xml3
Introduction to XML

Joining an E-commerce trading hub or B-to-B

exchange that uses XML

Ties applications to those of supplier and trading partners

Ties applications to those of customers

Ties together multiple internal applications

across the company

Allows conversion of EDI data to more manageable form

XML-enabled business processes will shorten business cycles

Will shorten application development time

Can perform new operations on the data

once it’s in XML form

Broadens enterprise search capabilities

Data: ZONA RESEARCH 3Q 2000 XML STUDY

Pace Univeristy - DPS

introduction to xml4
Introduction to XML

Performance of secure XML systems isn’t yet

satisfactory

Complexity of XML projects is intimidating

Cost-benefits for XML processing not established

Management doesn’t understand XML

Tools aren’t mature

Industry standards for XML schema aren’t

established

Standards for embedding business processes aren’t

mature

Unresolved security concerns about data access

DATA: ZONA RESEARCH

Pace Univeristy - DPS

introduction to xml5
Introduction to XML
  • What is an XML?

<xml version="1.0"?>

<!DOCTYPE exchange [

<!ELEMENT exchange (greeting, response)>

<!ELEMENT greeting (#PCDATA)>

<!ELEMENT response (#PCDATA)>

<ATTLIST greeting

mode (warm|luke-warm|cool|cold) "warm" <!-- "warm is the default -->

>

]>

<exchange>

<greeting mode="warm" wording="semi-formal">Hello, XML</greeting>

<response> Hello, what can I do for you?</response>

</exchange>

Pace Univeristy - DPS

introduction to xml6
Introduction to XML
  • What is DTD?
    • Is a document type definition. A DTD is not required by XML document, but may be very useful.

Pace Univeristy - DPS

slide10
DB2 INTERFACE

Pace Univeristy - DPS

xml extender features
XML Extender Features
  • XML document retrieval and generation from SQL queries
  • XML document storage
  • data management functions

Pace Univeristy - DPS

xml document retrieval
XML document retrieval
  • Query syntax adheres to W3C standards Extensive Stylesheet Language Transformation(XSLT) and XML Path Language(Xpath)
  • entire documents can be retrieved
  • XML elements can be dynamically extracted

Pace Univeristy - DPS

xml document generation
XML document generation
  • XML Extender provides stored procedures to generate XML documents from existing data stored in DB2 tables

Pace Univeristy - DPS

xml document storage
XML document storage
  • DB2’s XML Extender Serves as a Repository for XML documents and their document type definitions (DTDs)
  • an entire document can be stored as an XML user-defined column
  • the document can be decomposed into multiple tables and columns

Pace Univeristy - DPS

xml column option
XML column option
  • Document stored as user-defined type column
  • three XML user-defined types(UDTs): XMLCLOB, XMLVARCHAR and XMLfile
  • user-defined functions provided for insert, select and update operations

Pace Univeristy - DPS

slide18
UDTs
  • XMLCLOB and XMLVARCHAR store an XML document as a CLOB and a VARCHAR respectively in DB2
  • XMLFile stores an XML document as a file on a local file system

Pace Univeristy - DPS

xml collection
XML collection
  • An XML collection is a set of relational tables that contain data mapped to an XML document
  • Data access definition(DAD) is used to define the mapping of document type definitions(DTD) to relational tables and columns
  • stored procedures for select, insert, update

Pace Univeristy - DPS

xml column vs xml collection
XML column Vs XML collection
  • XML column provides a simple way to manage XML documents and provides fast searching and indexing capabilities
  • ideal for static data not frequently updated
  • better performance since no need to compose the document from DB2 data

Pace Univeristy - DPS

slide21
XML collection provides a better mapping for an XML document which consists of multiple collections
  • XML collection also supports existing DB2 data by providing a mechanism to generate an XML document for data interchange

Pace Univeristy - DPS

slide22

Provides Data Management Functions

  • Data integrity
  • security
  • recoverability
  • manageability

Pace Univeristy - DPS

invoking db2 xml extender
Invoking DB2 XML Extender
  • You can invoke DB2 XML Extender in a data access JavaBean through WebSphere or in a Net.Data macro
  • It can be used with DB2 or any ODBC-compliant database

Pace Univeristy - DPS

other database solutions
Other Database Solutions
  • Microsoft SQL Server
  • Oracle’s Oracle8i database

Pace Univeristy - DPS

db2 interface conclusion
DB2 Interface - Conclusion
  • IBM DB2 XML Extender and DB2 Universal Net.Data provide an end-to-end solution for storing and retrieving XML documents for business-to-business and business-to-consumer (with a browser) processing.

Pace Univeristy - DPS

slide26
XML and Web Content Management

Pace Univeristy - DPS

xml and web content management
XML and Web Content Management
  • Web Content Management – Definition
  • Multi-channel Publishing
    • localization for specific markets
    • personalized delivery
    • customized presentation on different devices

Pace Univeristy - DPS

xml and web content management1
XML and Web Content Management
  • XML promotes re-use
  • XML tools as a core component for multi-channel publishing web content management system suites.
  • Structured content and XML-based tools enable an infrastructure for transforming content based on the target application and delivery platform.

Pace Univeristy - DPS

xml and web content management2
XML and Web Content Management

Adding Semantics to Syntax

Pace Univeristy - DPS

xml and web content management3
XML and Web Content Management
  • Key components of the XML family that impact multi-channel publishing include:
  • XSL-Transformations (XSLT)
  • Extensible Hypertext Markup Language (XHTML)
  • XLL – eXtentible Link Language

Pace Univeristy - DPS

xml and web content management4
CSS

Limitation – they only represent data within the context of the original HTML data structure

XSL

Flexibility – allows presentation dramatically different from the original XML

XML and Web Content Management

It Is a Question of Style –Separation of Presentation From Data

Pace Univeristy - DPS

xml and web content management5
XML and Web Content Management

XLL enables you to:

  • Control the precise semantics of the link
  • Link from one to many resources rather than today’s limit of one resource
  • Divert to another resource via indirection using extended pointers

Pace Univeristy - DPS

xml and web content management to dtd or not dtd
XML and Web Content Management- To DTD or not DTD?
  • DTD - Document Type Descriptor
  • DTD is not essential but useful because it allows applications to validate the XML for proper usage

When an XML page is served a wrapper must generated for each XML fragment including pointer to the associated DTD and to any XSL for formatting.

Pace Univeristy - DPS

xml and web content management6
Vertical Industry Examples

eBooks

NITF newspapers

Syndication (ICE)

WCM examples

Interwoven

Vignette

XML and Web Content Management

Pace Univeristy - DPS

xml and web content management7
XML and Web Content Management

Benefits of XML in Web Content Management:

  • Ease of Interchange
  • Reusability
  • Speed
  • Standards and Consistency
  • Multiple Devices

Pace Univeristy - DPS

xml applications jabber
XML Applications - JABBER
  • Instant messaging (IM) enables users to communicate in text based conversations in real-time.
  • IM is the fastest growing communication function on the internet.
    • Over 1 billion IMs sent every day.
  • IM clients:
    • AOL IM (AIM), ICQ, MSN, Yahoo & Jabber

Pace Univeristy - DPS

xml applications jabber1
XML Applications - JABBER

WHY?

Pace Univeristy - DPS

xml applications jabber2
XML Applications - JABBER
  • IM refers more to a user’s (entity’s) “PRESENCE”.
  • Today presence takes the concrete form of the “buddy list”.
  • With IM & presence you have an open channel for communication

Pace Univeristy - DPS

xml applications jabber3
XML Applications - JABBER
  • Remember Dr. Blum
  • Email is a degraded form of communication – because it lacks real-time
  • IM provides that sense of real-time in a light weight structure.

Pace Univeristy - DPS

xml applications jabber4
XML Applications - JABBER
  • IM & Presence will become even more important in the future of computing.
  • Why? Because we are moving more toward a ubiquitous form of computing.
  • I believe that the combination will become the basis for the next “killer” application.

Pace Univeristy - DPS

xml applications jabber5
XML Applications - JABBER
  • Jabber - is an XML-based, open-source system and protocol for real-time messaging and presence notification.

Pace Univeristy - DPS

xml applications jabber6
XML Applications - JABBER
  • Jabber clients and servers connect via XML streams. The Jabber protocol consists of three types of XML “fragments” or packets:
    • Messages
    • Presence
    • Info/Query

Pace Univeristy - DPS

xml applications jabber7
XML Applications - JABBER
  • Benefits of Jabber’s XML architecture:
    • Easy integration into other programs & systems
    • Provides structure and intelligence
    • Functions across platforms and operating systems
    • Extensible protocol:
      • Grows beyond “instant chat” to “instant data transactions”

Pace Univeristy - DPS

xml applications jabber8
XML Applications - JABBER
  • Jabber-As-Middleware (JAM)
  • XMLRPC over Jabber
  • Jabber SQL Database Module (Q2 2001)
  • GROOVE

(not a Jabber product)

Pace Univeristy - DPS

xml applications jabber9
XML Applications - JABBER
  • Jabber may well become the foundation for a message-oriented communications infrastructure that moves XML messages between applications.

Jamie Lewis

InternetWeek

2-13-2001

Pace Univeristy - DPS

xml applications jabber10
XML Applications - JABBER
  • Jabber.org – Home of open source Jabber IM server project.
  • JabberCentral.org – End user news and support site.
  • Jabber.com – Commercial site
  • Excellent Jabber article:
    • www2.linuxjournal.com/lj-issues/issue77/4195.html

Pace Univeristy - DPS

slide48
XML Parser

Pace Univeristy - DPS

xml parser part i
XML Parser Part I
  • What is an XML Parser
  • What is an XML?
  • What is DTD?
  • What is an element root?
  • What is Unicode?
  • What is a valid XML?
  • Creating XML Document
  • Creating XML DTD

Pace Univeristy - DPS

xml parser part i1
XML Parser Part I
  • What is an XML Parser
    • An XML Parser is a processor that reads an XML document and determines the structure and properties of the data. If the parser goes beyond the XML rules for well-formedness and validates the document against an XML DTD, the parser is said to be a “validating” parser

Pace Univeristy - DPS

xml parser part i2
XML Parser Part I
  • What is an element root?
    • Every XML document has one element that contains all other elements of the document. The root element is also called the document element.

Pace Univeristy - DPS

xml parser part i3
XML Parser Part I
  • What is Unicode?
    • Unicode is a standards for representing characters from languages around the world. Unicode standards are synchronized with UCS-2 subset of ISO 10646

Pace Univeristy - DPS

xml parser part i4
XML Parser Part I
  • What is a valid XML?
  • An XML document with an associated document type declaration that follows all the rules of that declaration is valid.

Pace Univeristy - DPS

xml parser part i5
XML Parser Part I
  • Creating XML Document
    • Start and end –tags
    • Attribute assignments
    • Entity references
    • Comments
    • Processing instructions
    • CDATA sections
    • Document type declarations

Pace Univeristy - DPS

xml parser part i6
XML Parser Part I
  • Creating XML DTD
    • What the element type is named
    • What elements of that type can contain (known as its content model)
    • What attributes an element of that type has associated with it

Pace Univeristy - DPS

xml parser part ii
XML Parser Part II
  • Different Parsers
  • Parser Demo

Pace Univeristy - DPS

xml parser part ii1
XML Parser Part II
  • Different types of Parsers
    • IBM
    • SUN
    • Microsoft
    • etc

Pace Univeristy - DPS

xml parser part ii2
XML Parser Part II
  • Parser Demo

Pace Univeristy - DPS

xml applications2
XML APPLICATIONS

QUESTIONS?

Pace Univeristy - DPS

xml applications3
XML APPLICATIONS

THANK YOU FOR YOUR ATTENTION

Please visit our team page at

Pace Univeristy - DPS