1 / 43

高级 Web 技术

高级 Web 技术. 复 习. 课程内容组织. WEB 高级开发与应用技术概述 基于 Web 的应用程序 概念 及其演变 (AJAX) N 层次架构,分布式对象(组件)技术概述. 核心技术讲解 基础 -XML XML 的应用背景和特点,基本语法规则 XML 验证标准 DTD , Schema XML 相关标准 xsl, xll 等 Java 开发 XML XML 的应用和主流工具的简介 VRML&X3D&NVE Application Web-J2EE J2EE 概述 Servlet & JSP EJB J2EE 组件与 API

kenda
Télécharger la présentation

高级 Web 技术

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 高级Web技术 复 习

  2. 课程内容组织 • WEB高级开发与应用技术概述 • 基于Web的应用程序概念及其演变(AJAX) • N层次架构,分布式对象(组件)技术概述 • 核心技术讲解 • 基础-XML • XML的应用背景和特点,基本语法规则 • XML验证标准DTD,Schema • XML相关标准xsl, xll等 • Java开发XML • XML的应用和主流工具的简介 • VRML&X3D&NVE • Application Web-J2EE • J2EE概述 • Servlet & JSP • EJB • J2EE组件与API • MVC模式与J2EE框架(struts, hibernate ) • Service Web – Web Services • Web Sevices概述,SOAP&WSDL&UDDI,BEPEL • 企业应用背景 • E_Bussiness, EAI etc. • 应用案例

  3. Web浏览器 定义外观 CSS样式 Javascript 逻辑 定义内容和层 与Web服务器通讯 DOM XMLHttpRequest 对象 Web服务器 基于Web的应用程序概念及其演变 • 基于Web的应用程序 • Web-based Application • C/S vs. B/S以及N层架构的演变 • RIA etc. :Ajax basics

  4. ◈ Web Services ◈ Generate XML ◈ SOAP, WSDL, UDDI ◈ Transactions initiated by program Service Web ◈ Application Servers ◈ Business Logic ◈ Generate HTML ◈ Transactions ◈ Distributed process ◈ WAP, WML Application Web ◈ Web Server ◈ HTTP协议 ◈ HTML文档 Document Web 基于Web的应用程序概念及其演变 • Web的演变

  5. N层架构

  6. 分布式计算与中间件概述 • 中间件概念 • 中间件的分类 • 基于RPC的中间件 • 基于ORB的中间件 • 基于消息的中间件 • 基于Web应用的中间件 • 事务处理中间件

  7. 分布式对象技术 • RMI • RMI 体系结构 • 服务器开发步骤 • 客户端开发步骤 • CORBA • CORBA vs. RMI • 实体:ORB • 协议: IIOP • CORBA 体系结构 • 服务器开发步骤 • 客户机开发 • COM

  8. XML • XML介绍 • XML语法规则 • DTD • Schema • XSL (XSLT, XSL-FO, xpath) • XLL (XPointer) • XML工具 • XML应用(RSS)

  9. XML-介绍 • XML简介与起源 • HTML, SGML,XML各自的特点和关系 • XML的特点 • 可扩展性 • 自描述性 • 结构化 • 通用性 • 强大的超链接功能 • 数据与表现分离 • 分布式计算的使能技术

  10. XML-语法规则 • XML1.0规范组成 • 核心层 • 应用程序支持层 • XML文档逻辑结构 • XML文档规则 • 三种 XML 文档 • 关于字符的规则 • 声明,注释,根元素,元素不能重叠,结束标记,空元素,属性,区分大小写 • 处理指令 • CDATA段 • 命名空间

  11. XML-DTD • DTD简介 • 文档类型声明 • 私有DTDs • <!DOCTYPE root_element_name SYSTEM “DTD_URL”> • 公用DTDs • <!DOCTYPE root_element_name PUBLIC FPI URL > • DTD声明-ELEMENT • <!ELEMENT name content_category> <!ELEMENT name (content_model) cardinality> • DTD声明- ATTLIST • <!ATTLIST elementName attrName1 atrrType1 attrDefault1 defaultValue1 attrName2 atrrType2 attrDefault2 defaultValue2 … attrNameN atrrTypeN attrDefaultN defaultValueN> • atrrType :属性类型,十类合法的类型

  12. XML-Schema • Schema • Schema简介 • 与DTD的比较 • 模式文档和实例文档 • 模式文档元素定义 • 复合类型(通过<xsd:complexType>) • 简单类型(通过<xsd:simpleType>)

  13. XML- XSL • XSL简介 • Xpath • 在源XML文档中定位到所需信息所在位置 • 表达式、语法、节点类型、轴 • XSLT • 模板驱动(template-driven)模型 • XSLT文档结构元素 • XSL-FO • 用 XSLT 样式表将 XML 文档转换为由 XSL-FO 元素构成的文件 • 用某种显示引擎(如FOP)将 XSL-FO 元素转换为 PDF 文件

  14. XML-XLL • XML链接规范 • Xlink • XLink可以声明多个资源之间的关系 • 定位符,行为,语义,遍历 • 简单链接、扩展链接、弧 • Xpointer • XPointer进行资源的定位 • 轴、节点测试、谓词断言、位置单元集函数、点以及范围的定义 • XML Base • 用于实现“基URI”概念

  15. XML-JAVA&XML • XML-Java • DOM • 基于树的。遍历、编辑 • SAX • 基于事件 • DOM与SAX应用场合选择 • StAx • JDOM • XSLT

  16. XML-应用 • XML应用概述 • XML典型应用语言 • SVG • SMIL • MathML • WML • RSS • XML应用简介 • XMLSPY——设计、编辑、调试工具 • Cocoon——内容发布框架工具 • XML DB ——Xindice

  17. J2EE • J2EE Overview:构件,服务,通讯;容器 • J2EE Application Components • J2EE Services: Service API • J2EE Services: Run-time Services • Communications • J2EE应用程序 • 基于角色的开发

  18. J2EE

  19. J2EE • Servlet and JSP Overview • Introduction toServlets • Request • Response • Session Tracking • Introduction to JavaServer Pages • Static template text. • Dynamic content: • Scripting elements. • Declarations: • Scriptlets • Expressions • Directives. • Standard actions. • Custom tags.

  20. J2EE • JavaBean • Javamail • 自定义标签 • JDBC • JSP模式 • MODEL 1 • MODEL 2(MVC设计模式)

  21. J2EE • EJB构件技术 • EJB所采用的分布式对象技术、服务端构件技术、以及CTM技术支持我们开发由服务框架自动管理的分布式的商业对象EJB的特点 • 集成Legacy系统的三种途径 • EJB vs. JavaBean • CTM(组件事务监控器)综合了ORB和TP监控器 • 对象分布 • 并发管理 • 事务 • 负载平衡 • 安全性 • 资源管理

  22. J2EE • EJB体系结构中的构件 • Enterprise Bean:三种bean • Home Interface • Remote Interface • EJB Container • EJB Server • EJB Client • EJB容器服务 • EJB开发角色

  23. J2EE • 主要接口设计原则 • Remote接口设计原则 • Home接口设计原则 • Enterprise Bean类设计原则 • Primary Key类设计原则

  24. J2EE • JNDI • 目录服务 • 命名服务 • 命名约定 • 基于内容的搜索 • LDAP • JNDI架构 • JNDI包以及实例

  25. J2EE • 创建Session Bean • 创建 Remote Interface • 创建 Home Interface • 创建 Enterprise Bean Class • 创建Entity Bean • Entity Bean 1.1 • Entity Bean 2.0 • 客户程序 • 创建客户程序 • 5种J2EE客户端 • 访问EJB的步骤 • 运行客户程序 • 客户程序中的异常处理

  26. J2EE • 部署EJB应用 • 创建J2EE应用 • 创建EJB JAR • 配置JNDI名 • 查错 • 部署应用 • 资源管理与EJB环境 • EJB事务处理 • Container Managed Transaction • Bean Managed Transaction • 安全性控制

  27. J2EE • JavaMail • JavaMail简介 • 相关协议介绍 • JavaMail 的核心类 • 会话管理session • 消息管理message • 邮件存储和检索store • 传送transport

  28. J2EE • JMS • JMS 简介 • 两种消息传递模型 • 点模型 • 发布/订阅 • JAXM 与 JMS的比较 • JMS 体系结构 • 重要的 JMS 接口以及编程实例 • Message-Driven Bean

  29. J2EE • J2EE中的模式 • MVC • J2EE框架 • Struts • Spring • IOC • AOP • Hibernate

  30. web services • web services概述 • Web Service是一种松散耦合的分布式计算模型 • 特征 • SOA架构 • 三个角色 • 三个基本操作 • Web 服务协议栈

  31. web services • web services概述 • Web Service的分类 • Business-Oriented Web Service • Customer-Oriented Web Service • Device-Oriented Web Service • System-Oriented Web Service • Web Service与工作流 • Web服务流语言(WSFL, Web Service Flow Language) • BEPL4WS • Web Service与EAI

  32. web services • SOAP • 简单对象访问协议 • SOAP由4部分组成:封装,编码规则, RPC表示,绑定 • SOAP协议相关概念 • SOAP消息 • 绑定到HTTP的SOAP

  33. 绑定到HTTP的SOAP POST http://www.SmartHello.com/HelloApplication HTTP/1.0Content-Type: text/xml; charset="utf-8"Content-Length: 587SOAPAction: "http://www.SmartHello.com/HelloApplication#sayHelloTo" <SOAP-ENV:Envelope xmlns:SOAP-ENV=" http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema"> <SOAP-ENV:Header> </SOAP-ENV:Header> <SOAP-ENV:Body> <ns1:sayHelloTo xmlns:ns1="Hello“ SOAP-ENV: encodingStyle="http:// schemas.xmlsoap.org/soap/encoding/"> <name xsi:type="xsd:string"> Tarak </name> </ns1:sayHelloTo> </SOAP-ENV:Body> </SOAP-ENV:Envelope>

  34. web services • SOAP • RPC vs. Messaging • SOAP请求和响应

  35. Service Implementation Definition Service Port Binding PortType Service Interface Definition Opertions Message Types web services • WSDL • 基本的服务描述分成了两部分 • 服务接口 • types: • message: • operations • portType: • 服务实现 • binding: • Service: • Port:

  36. web services • WSDL文档结构

  37. web services • UDDI • UDDI商业注册所提供的信息包含三部分 • 基本 UDDI 数据结构 • businessEntity • businessService • bindingTemplate • tModel • UDDI 工作原理 • 服务发现

  38. UDDI 消息的传输

  39. web services Web Service Invocation

  40. Web services • BPEL • What is and Why BPEL? • Orchestration vs. Choreography • BPEL vocabulary • – Activities • – Partners • – Variables • – Flow, Link, Correlation

  41. Web services • REST & RESTful WebServices • Network-based Architectural Styles • What is an Architectural Styles • Common architectural styles for network-based software • REpresentational State Transfer (REST) • Deriving REST • Knowing REST • Advantages of REST • REST and other concepts • RESTful Web Services • Writing REST services

  42. 其他需要了解的 • Presentation topics • FLEX技术及其应用 • Ajax • Struct2 • …

  43. 关于期末考试的说明 • Score percentage • 期终 + Project + hw&presentation&平时表现40% + 40% + 20% • 题型 • 填空 + 选择题 + 简答 + 分析题

More Related