Что такое findslide.org?

FindSlide.org - это сайт презентаций, докладов, шаблонов в формате PowerPoint.


Для правообладателей

Обратная связь

Email: Нажмите что бы посмотреть 

Яндекс.Метрика

Презентация на тему XML and JSON Processing

XMLXML (eXtensible Markup Language) has been used in the Java EE platform since the beginning of deployment descriptors and metadata information.
XML and JSON ProcessingLecture 7 XMLXML (eXtensible Markup Language) has been used in the Java EE platform j.rorri@me.com+44 1234 123423.534.99 XSDXML Schema Definition (XSD) is an XML-based grammar declaration used to describe Parsing with SAX and DOMThe Document Object Model (DOM) API requires reading Querying in XMLXPath//content/order_line[unit_price>=20]/unit_price/text()XQueryfor $orderLine in doc(1]where $orderLine/unit_price < 50return $orderLine/unit_price/text()"> XSLTeXtensible Stylesheet Language Transformations (XSLT ) allows to transform an XML document JAXBJava Architecture for XML Binding (JAXB) allows developers to work with Java JSONJSON (JavaScript Object Notation) originated with JavaScript for representing simple data structures {	JSON Processingjavax.json.JsonObjectjavax.json.JsonArrayjavax.json.JsonORorg.json.JSONObjectorg.json.JSONArray# To readBeginning Java EE 7. Chapter 12 (http://www.goodreads.com/book/show/18979704-beginning-java-ee-7) HomeworkPlease, select list of Persons (age > 30, name starts with “A”)
Слайды презентации

Слайд 2 XML
XML (eXtensible Markup Language) has been used in

XMLXML (eXtensible Markup Language) has been used in the Java EE

the Java EE platform since the beginning of deployment

descriptors and metadata information.

Слайд 3


j.rorri@me.com
+44

j.rorri@me.com+44 1234 123423.534.99

1234 1234



23.5


34.99


control_number="234" type="Visa"/>


Слайд 4 XSD
XML Schema Definition (XSD) is an XML-based grammar

XSDXML Schema Definition (XSD) is an XML-based grammar declaration used to

declaration used to describe the structure and content of

an XML document

Слайд 5


name="creditCard">







… />


Слайд 6 Parsing with SAX and DOM
The Document Object Model

Parsing with SAX and DOMThe Document Object Model (DOM) API requires

(DOM) API requires reading the entire XML structure and

holding the object tree in memory.
The Simple API for XML (SAX) is an event-driven, serial-access mechanism that does element-by-element processing

Слайд 7 Querying in XML
XPath
//content/order_line[unit_price>=20]/unit_price/text()
XQuery
for $orderLine in doc("order.xml")//content/order_line[@quantity>1]
where $orderLine/unit_price

50
return $orderLine/unit_price/text()


Слайд 8 XSLT
eXtensible Stylesheet Language Transformations (XSLT ) allows to

XSLTeXtensible Stylesheet Language Transformations (XSLT ) allows to transform an XML

transform an XML document from one vocabulary to another,

in a generic manner


#

http://www.w3schools.com/xsl/tryxslt.asp?xmlfile=cdcatalog&xsltfile=cdcatalog


Слайд 9 JAXB
Java Architecture for XML Binding (JAXB) allows developers

JAXBJava Architecture for XML Binding (JAXB) allows developers to work with

to work with Java objects that represent XML documents
@XmlRootElement

annotation
marshaller.marshal(person, writer);
Generate XSD from Java class
jaxbContext.generateSchema(sor);

#


Слайд 10 JSON
JSON (JavaScript Object Notation) originated with JavaScript for

JSONJSON (JavaScript Object Notation) originated with JavaScript for representing simple data structures

representing simple data structures


Слайд 11 {
"order": {
"id": "1234",
"date": "05/06/2013",
"customer": {
"first_name": "James",
"last_name": "Rorrison",
"email": "j.rorri@me.com",
"phoneNumber":

{

"+44 1234 1234"
}
}
}


Слайд 12 JSON Processing
javax.json.JsonObject
javax.json.JsonArray
javax.json.Json

OR

org.json.JSONObject
org.json.JSONArray
#

JSON Processingjavax.json.JsonObjectjavax.json.JsonArrayjavax.json.JsonORorg.json.JSONObjectorg.json.JSONArray#

Слайд 13 To read
Beginning Java EE 7. Chapter 12 (http://www.goodreads.com/book/show/18979704-beginning-java-ee-7)

To readBeginning Java EE 7. Chapter 12 (http://www.goodreads.com/book/show/18979704-beginning-java-ee-7)

  • Имя файла: xml-and-json-processing.pptx
  • Количество просмотров: 93
  • Количество скачиваний: 0