Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 54 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
54
Dung lượng
3 MB
Nội dung
1
Java & XML
Jian-Hua Yeh
jhyeh@mars.csie.ntu.edu.tw
2
World’s Earliest Library?
Where?
When?
3
亞述巴尼拔圖書館
Nineveh, Assyria,
Mesopotamia (Iraq)
668 B.C. ~ 627 B.C.
~30,000 cuneiform
“books”
Discovered 1849 A.D.
4
Outline
Introduction to Java technology
Trend of application framework
The XML server
XML support in Java technology
spectrum
Native XML database
Conclusion
5
What is Java?
Java is a general-
purpose, concurrent,
class-based, object-
oriented language.
“Green team” in 1991
“Oak” language
Going public in May
1995.
6
The Major Trends in Computing
7
Outline
Introduction to Java technology
Trend of application framework
The XML server
XML support in Java technology
spectrum
Native XML database
Conclusion
8
Tiered Technology
Evolved from client/server model
Complex business logic is hard to be
handled by C/S model
Task division into several tier of
business process
Scalable, accessible, manageable
9
Application Server Technology
A hybrid issue of database, middle ware,
communication, and presentation
technology.
Targets:
Availability
Security
Reliability
Extensibility
10
Foundations of App. Server
The programming language, compiler,
running environment(such as VMs).
Run-time library(supporting library)
A component model
provides a well-defined way for tools to
access a software package's methods and
properties
A RPC mechanism
[...]... services Mapping/linking services Template processing Data object generation 33 An Operation Example 34 Outline Introduction to Java technology Trend of application framework The XML server XML support in Java technology spectrum Native XML database Conclusion 35 Java/ XML technologies XML processing Data binding Remote communication Service registry Messaging 36 ... server technology Single language (Java) , bytecode, JVM Microsoft NET NET app server technology Multi-language, C# code, NET Windows 15 J2EE 16 .NET 17 Deployment Model – J2EE 18 Deployment Model – NET 19 Outline Introduction to Java technology Trend of application framework The XML server XML support in Java technology spectrum Native XML database Conclusion 20 What is XML? Proposed by W3C at the end... 28 XML Server Architecture 29 XML Server Architecture (2) Key aspects Client • PDA, browser, Web server, other XML server, etc Communication protocol • Email, HTTP, FTP, EJB, RMI, IIOP, COM, etc Key services Data object • Relational database, object data source, etc 30 XML Server Components Client Communication service Document handler Data object access module XML core service 31 Key Services of XML. .. Type Definition 26 XML Details Components DTD/Schema XML content Processing models Event driven model: SAX • A document is treated as a set of events Structural model: DOM • A document is represented as a tree structure 27 XML Server Introduction Why XML server? Comply with enterprise service model: client/middle/EIS structure Common components can consists of 3rd party software vendors XML parser, XSL... end of 1996 SGML-derived A meta-language for new tagging language XML1 .0 Recommendation released at Feb 1998 Supporting Sun, Microsoft, Netscape, Adobe, ArborText, etc 21 What is XML? (2) eXtensible Markup Language Tag-based Open and cross-platform Structural data representation As data and as document Suitable for data exchange 22 < ?xml version="1.0"?> Wile... Document handler Data object access module XML core service 31 Key Services of XML Server Basic services Communication services, text stream services XML core services Parser, DOM, XSL, XQL Data access module Document handling modules Data translation XML creation(including DTD generation) 32 Data Access Module Database operation services Linkage management Database authentication JDBC/ODBC support... prod_name="left-handed smoke shifter" price="16.00"/> 23 Why XML? HTML is not enough, no structural data handling capability Recommended by W3C, an open standard The push of enterprise integration To break the stovepipe system, from vertical to horizontal The need . Java technology
Trend of application framework
The XML server
XML support in Java technology
spectrum
Native XML database
Conclusion
5
What is Java?
Java.
7
Outline
Introduction to Java technology
Trend of application framework
The XML server
XML support in Java technology
spectrum
Native XML database
Conclusion
8
Tiered