Presentation is loading. Please wait.

Presentation is loading. Please wait.

Application XML Enabling A Holistic Approach SYSTEK Information Technology.

Similar presentations


Presentation on theme: "Application XML Enabling A Holistic Approach SYSTEK Information Technology."— Presentation transcript:

1 Application XML Enabling A Holistic Approach SYSTEK Information Technology

2 ©2000-2001 SYSTEK Information Technology Limited. All rights Reserved. Page 2 Era of Integration So Many Systems, So Many Platforms! London IBM S/390 Japan HP HP-UX Australia Sun Solaris Hong Kong Microsoft NT

3 ©2000-2001 SYSTEK Information Technology Limited. All rights Reserved. Page 3 Legacy applications lack access to the Internet! London IBM S/390 Japan IBM AS/400 Hong Kong IBM RS6000 Singapore Sun SPARC Reign of the Internet

4 ©2000-2001 SYSTEK Information Technology Limited. All rights Reserved. Page 4 Many Systems, Many Platforms but One Internet Enabled Interface Towards a Unified Data Exchange Solution London IBM S/390 Japan IBM AS/400 Hong Kong IBM RS6000 Singapore Sun SPARC

5 ©2000-2001 SYSTEK Information Technology Limited. All rights Reserved. Page 5 XML (Extensible Markup Language) A tag-based textual formatting language  document mark-up or data structuring Based on SGML (Standard Generalised Markup Language)  became international standard ISO 8879 in 1986 Standard from W3C (World Wide Web Consortium)  recommendation XML version 1.0 (February 1998) Example Daniel Chan Chief Technology Officer Systek I.T. Ltd. History

6 ©2000-2001 SYSTEK Information Technology Limited. All rights Reserved. Page 6 HTML, XML, and SGML are one big family! SGMLXML HTML Web Pages XML Documents / Messages XML Document / Message Definitions simplifies defines Language Meta Language Use of the Language Meta Data Comparison of SGML and XML www.w3.org/TR/NOTE-sgml-xml-971215 XHTML

7 ©2000-2001 SYSTEK Information Technology Limited. All rights Reserved. Page 7 ezXML Approach for the Whole Development Cycle Design Management Implementation Integration

8 ©2000-2001 SYSTEK Information Technology Limited. All rights Reserved. Page 8 ezXML Approach to Application XML Enabling

9 ©2000-2001 SYSTEK Information Technology Limited. All rights Reserved. Page 9 Generating DTD using ezXML Designer

10 ©2000-2001 SYSTEK Information Technology Limited. All rights Reserved. Page 10 ezXML Approach to Application XML Enabling

11 ©2000-2001 SYSTEK Information Technology Limited. All rights Reserved. Page 11 DTD Management using ezXML DTD Editor

12 ©2000-2001 SYSTEK Information Technology Limited. All rights Reserved. Page 12 ezXML Approach to Application XML Enabling

13 ©2000-2001 SYSTEK Information Technology Limited. All rights Reserved. Page 13 // Get member element Payment of element Order ElementClass_Payment payment = order.get_Payment(); // Get member element CreditCard of element Payment ElementClass_CreditCard creditCard = payment.get_CreditCard(); // Get element attribute CardType of element CreditCard and display its value System.out.println("Card Type: " + creditCard.getAttr_CardType() ); Convenience from using ezXML Java API Generator A String of “Visa”, “Master”, or “AmericanExpress” Attribute Value

14 ©2000-2001 SYSTEK Information Technology Limited. All rights Reserved. Page 14 ezXML Approach to Application XML Enabling

15 ©2000-2001 SYSTEK Information Technology Limited. All rights Reserved. Page 15 Extracting Data from Files using ezXML Text Gateway MAKE %GOODS_INFO { GOODS_INFO [ NAME [$name], QUANTITY [$quantity] ] } MATCH { #ROW(+1) #COL(0) ~‘Product Name:’ (100b)? #EVAL($name, 50x) #ROW(+1) #COL(0) ~‘Quantity:’ (100b)? #EVAL($quantity, 20n) } IGNORE %BETWEEN_RECORD MATCH { #REJECT(~‘Customer ID’) #ROW(+1) #COL(0) } A rule named GOODS_INFO XML message construction Pattern in the text file to be matched A sub-pattern to be matched Data to be extracted from a matched pattern A rule with no output Efficient skipping driven by matched pattern

16 ©2000-2001 SYSTEK Information Technology Limited. All rights Reserved. Page 16 ezXML Approach to Application XML Enabling

17 ©2000-2001 SYSTEK Information Technology Limited. All rights Reserved. Page 17 <MAKE_TEMPLATE name='staffID2' associate='staffID1' type='VARIABLE' multiple='FALSE' hidden='FALSE'/> <MAKE_TEMPLATE name='houseID2' associate='houseID1' type='VARIABLE' multiple='FALSE' hidden='FALSE'/> Translating XML Data using ezXML Translation Engine A hierarchy of templates reflecting the structure of the input message A hierarchy of templates to construct the output message Variable to hold matched data Element to be matched

18 ©2000-2001 SYSTEK Information Technology Limited. All rights Reserved. Page 18 Performance & Complexity Testing Environment Celeron 400MHz with 128MB RAM Windows NT Workstation 4.0 (SP5) with JDK1.3.0 JAXP 1.1 - from Sun Microsystems Inc. XML4J 3.1.1 - from IBM Corp. Input XML message is a SWIFT message in XML format of size 2763 bytes

19 ©2000-2001 SYSTEK Information Technology Limited. All rights Reserved. Page 19 Conclusions A holistic approach that addresses the need of the whole development cycle XML design becomes a part of application design right at the beginning With ezXML Designer, designs can be formulated using only UML concepts Just like data, designs need to be managed With ezXML DTD Editor, designs can be changed as well as stored in and retrieved from either a file system or a database system DOM and SAX approaches to XML application development is too low level Significant productivity gain can be obtained using a higher level interface to XML With ezXML Java API Generator, high level API can be generated for use by Java applications

20 ©2000-2001 SYSTEK Information Technology Limited. All rights Reserved. Page 20 www.systekit.com/ezxml/ More information …


Download ppt "Application XML Enabling A Holistic Approach SYSTEK Information Technology."

Similar presentations


Ads by Google